qaema-ui 0.0.1
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 +54 -0
- package/dist/_virtual/_commonjsHelpers.js +8 -0
- package/dist/_virtual/_nodeUtil.js +4 -0
- package/dist/_virtual/browser.js +7 -0
- package/dist/_virtual/every.js +7 -0
- package/dist/_virtual/find.js +7 -0
- package/dist/_virtual/flatMap.js +7 -0
- package/dist/_virtual/get.js +7 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index10.js +7 -0
- package/dist/_virtual/index11.js +4 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +7 -0
- package/dist/_virtual/index4.js +7 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index8.js +5 -0
- package/dist/_virtual/index9.js +4 -0
- package/dist/_virtual/isBoolean.js +7 -0
- package/dist/_virtual/isBuffer.js +4 -0
- package/dist/_virtual/isEqual.js +7 -0
- package/dist/_virtual/isFunction.js +7 -0
- package/dist/_virtual/isNaN.js +7 -0
- package/dist/_virtual/isNil.js +7 -0
- package/dist/_virtual/isNumber.js +7 -0
- package/dist/_virtual/isObject.js +7 -0
- package/dist/_virtual/isPlainObject.js +7 -0
- package/dist/_virtual/isString.js +7 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +4 -0
- package/dist/_virtual/last.js +7 -0
- package/dist/_virtual/mapValues.js +7 -0
- package/dist/_virtual/max.js +7 -0
- package/dist/_virtual/maxBy.js +7 -0
- package/dist/_virtual/memoize.js +7 -0
- package/dist/_virtual/min.js +7 -0
- package/dist/_virtual/minBy.js +7 -0
- package/dist/_virtual/range.js +7 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.development2.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-is.production.min2.js +4 -0
- package/dist/_virtual/react-jsx-runtime.development.js +4 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
- package/dist/_virtual/some.js +7 -0
- package/dist/_virtual/sortBy.js +7 -0
- package/dist/_virtual/throttle.js +7 -0
- package/dist/_virtual/uniqBy.js +7 -0
- package/dist/_virtual/upperFirst.js +7 -0
- package/dist/_virtual/warning.js +7 -0
- package/dist/assets/flags/ad.svg.js +4 -0
- package/dist/assets/flags/ae.svg.js +4 -0
- package/dist/assets/flags/af.svg.js +4 -0
- package/dist/assets/flags/ag.svg.js +4 -0
- package/dist/assets/flags/ai.svg.js +4 -0
- package/dist/assets/flags/al.svg.js +4 -0
- package/dist/assets/flags/am.svg.js +4 -0
- package/dist/assets/flags/ao.svg.js +4 -0
- package/dist/assets/flags/aq.svg.js +4 -0
- package/dist/assets/flags/ar.svg.js +4 -0
- package/dist/assets/flags/arab.svg.js +4 -0
- package/dist/assets/flags/as.svg.js +4 -0
- package/dist/assets/flags/asean.svg.js +4 -0
- package/dist/assets/flags/at.svg.js +4 -0
- package/dist/assets/flags/au.svg.js +4 -0
- package/dist/assets/flags/aw.svg.js +4 -0
- package/dist/assets/flags/ax.svg.js +4 -0
- package/dist/assets/flags/az.svg.js +4 -0
- package/dist/assets/flags/ba.svg.js +4 -0
- package/dist/assets/flags/bb.svg.js +4 -0
- package/dist/assets/flags/bd.svg.js +4 -0
- package/dist/assets/flags/be.svg.js +4 -0
- package/dist/assets/flags/bf.svg.js +4 -0
- package/dist/assets/flags/bg.svg.js +4 -0
- package/dist/assets/flags/bh.svg.js +4 -0
- package/dist/assets/flags/bi.svg.js +4 -0
- package/dist/assets/flags/bj.svg.js +4 -0
- package/dist/assets/flags/bl.svg.js +4 -0
- package/dist/assets/flags/bm.svg.js +4 -0
- package/dist/assets/flags/bn.svg.js +4 -0
- package/dist/assets/flags/bo.svg.js +4 -0
- package/dist/assets/flags/bq.svg.js +4 -0
- package/dist/assets/flags/br.svg.js +4 -0
- package/dist/assets/flags/bs.svg.js +4 -0
- package/dist/assets/flags/bt.svg.js +4 -0
- package/dist/assets/flags/bv.svg.js +4 -0
- package/dist/assets/flags/bw.svg.js +4 -0
- package/dist/assets/flags/by.svg.js +4 -0
- package/dist/assets/flags/bz.svg.js +4 -0
- package/dist/assets/flags/ca.svg.js +4 -0
- package/dist/assets/flags/cc.svg.js +4 -0
- package/dist/assets/flags/cd.svg.js +4 -0
- package/dist/assets/flags/cefta.svg.js +4 -0
- package/dist/assets/flags/cf.svg.js +4 -0
- package/dist/assets/flags/cg.svg.js +4 -0
- package/dist/assets/flags/ch.svg.js +4 -0
- package/dist/assets/flags/ci.svg.js +4 -0
- package/dist/assets/flags/ck.svg.js +4 -0
- package/dist/assets/flags/cl.svg.js +4 -0
- package/dist/assets/flags/cm.svg.js +4 -0
- package/dist/assets/flags/cn.svg.js +4 -0
- package/dist/assets/flags/co.svg.js +4 -0
- package/dist/assets/flags/cp.svg.js +4 -0
- package/dist/assets/flags/cr.svg.js +4 -0
- package/dist/assets/flags/cu.svg.js +4 -0
- package/dist/assets/flags/cv.svg.js +4 -0
- package/dist/assets/flags/cw.svg.js +4 -0
- package/dist/assets/flags/cx.svg.js +4 -0
- package/dist/assets/flags/cy.svg.js +4 -0
- package/dist/assets/flags/cz.svg.js +4 -0
- package/dist/assets/flags/de.svg.js +4 -0
- package/dist/assets/flags/dg.svg.js +4 -0
- package/dist/assets/flags/dj.svg.js +4 -0
- package/dist/assets/flags/dk.svg.js +4 -0
- package/dist/assets/flags/dm.svg.js +4 -0
- package/dist/assets/flags/do.svg.js +4 -0
- package/dist/assets/flags/dz.svg.js +4 -0
- package/dist/assets/flags/eac.svg.js +4 -0
- package/dist/assets/flags/ec.svg.js +4 -0
- package/dist/assets/flags/ee.svg.js +4 -0
- package/dist/assets/flags/eg.svg.js +4 -0
- package/dist/assets/flags/eh.svg.js +4 -0
- package/dist/assets/flags/er.svg.js +4 -0
- package/dist/assets/flags/es-ct.svg.js +4 -0
- package/dist/assets/flags/es-ga.svg.js +4 -0
- package/dist/assets/flags/es-pv.svg.js +4 -0
- package/dist/assets/flags/es.svg.js +4 -0
- package/dist/assets/flags/et.svg.js +4 -0
- package/dist/assets/flags/eu.svg.js +4 -0
- package/dist/assets/flags/fi.svg.js +4 -0
- package/dist/assets/flags/fj.svg.js +4 -0
- package/dist/assets/flags/fk.svg.js +4 -0
- package/dist/assets/flags/fm.svg.js +4 -0
- package/dist/assets/flags/fo.svg.js +4 -0
- package/dist/assets/flags/fr.svg.js +4 -0
- package/dist/assets/flags/ga.svg.js +4 -0
- package/dist/assets/flags/gb-eng.svg.js +4 -0
- package/dist/assets/flags/gb-nir.svg.js +4 -0
- package/dist/assets/flags/gb-sct.svg.js +4 -0
- package/dist/assets/flags/gb-wls.svg.js +4 -0
- package/dist/assets/flags/gb.svg.js +4 -0
- package/dist/assets/flags/gd.svg.js +4 -0
- package/dist/assets/flags/ge.svg.js +4 -0
- package/dist/assets/flags/gf.svg.js +4 -0
- package/dist/assets/flags/gg.svg.js +4 -0
- package/dist/assets/flags/gh.svg.js +4 -0
- package/dist/assets/flags/gi.svg.js +4 -0
- package/dist/assets/flags/gl.svg.js +4 -0
- package/dist/assets/flags/gm.svg.js +4 -0
- package/dist/assets/flags/gn.svg.js +4 -0
- package/dist/assets/flags/gp.svg.js +4 -0
- package/dist/assets/flags/gq.svg.js +4 -0
- package/dist/assets/flags/gr.svg.js +4 -0
- package/dist/assets/flags/gs.svg.js +4 -0
- package/dist/assets/flags/gt.svg.js +4 -0
- package/dist/assets/flags/gu.svg.js +4 -0
- package/dist/assets/flags/gw.svg.js +4 -0
- package/dist/assets/flags/gy.svg.js +4 -0
- package/dist/assets/flags/hk.svg.js +4 -0
- package/dist/assets/flags/hm.svg.js +4 -0
- package/dist/assets/flags/hn.svg.js +4 -0
- package/dist/assets/flags/hr.svg.js +4 -0
- package/dist/assets/flags/ht.svg.js +4 -0
- package/dist/assets/flags/hu.svg.js +4 -0
- package/dist/assets/flags/ic.svg.js +4 -0
- package/dist/assets/flags/id.svg.js +4 -0
- package/dist/assets/flags/ie.svg.js +4 -0
- package/dist/assets/flags/im.svg.js +4 -0
- package/dist/assets/flags/in.svg.js +4 -0
- package/dist/assets/flags/io.svg.js +4 -0
- package/dist/assets/flags/iq.svg.js +4 -0
- package/dist/assets/flags/ir.svg.js +4 -0
- package/dist/assets/flags/is.svg.js +4 -0
- package/dist/assets/flags/it.svg.js +4 -0
- package/dist/assets/flags/je.svg.js +4 -0
- package/dist/assets/flags/jm.svg.js +4 -0
- package/dist/assets/flags/jo.svg.js +4 -0
- package/dist/assets/flags/jp.svg.js +4 -0
- package/dist/assets/flags/ke.svg.js +4 -0
- package/dist/assets/flags/kg.svg.js +4 -0
- package/dist/assets/flags/kh.svg.js +4 -0
- package/dist/assets/flags/ki.svg.js +4 -0
- package/dist/assets/flags/km.svg.js +4 -0
- package/dist/assets/flags/kn.svg.js +4 -0
- package/dist/assets/flags/kp.svg.js +4 -0
- package/dist/assets/flags/kr.svg.js +4 -0
- package/dist/assets/flags/kw.svg.js +4 -0
- package/dist/assets/flags/ky.svg.js +4 -0
- package/dist/assets/flags/kz.svg.js +4 -0
- package/dist/assets/flags/la.svg.js +4 -0
- package/dist/assets/flags/lb.svg.js +4 -0
- package/dist/assets/flags/lc.svg.js +4 -0
- package/dist/assets/flags/li.svg.js +4 -0
- package/dist/assets/flags/lk.svg.js +4 -0
- package/dist/assets/flags/lr.svg.js +4 -0
- package/dist/assets/flags/ls.svg.js +4 -0
- package/dist/assets/flags/lt.svg.js +4 -0
- package/dist/assets/flags/lu.svg.js +4 -0
- package/dist/assets/flags/lv.svg.js +4 -0
- package/dist/assets/flags/ly.svg.js +4 -0
- package/dist/assets/flags/ma.svg.js +4 -0
- package/dist/assets/flags/mc.svg.js +4 -0
- package/dist/assets/flags/md.svg.js +4 -0
- package/dist/assets/flags/me.svg.js +4 -0
- package/dist/assets/flags/mf.svg.js +4 -0
- package/dist/assets/flags/mg.svg.js +4 -0
- package/dist/assets/flags/mh.svg.js +4 -0
- package/dist/assets/flags/mk.svg.js +4 -0
- package/dist/assets/flags/ml.svg.js +4 -0
- package/dist/assets/flags/mm.svg.js +4 -0
- package/dist/assets/flags/mn.svg.js +4 -0
- package/dist/assets/flags/mo.svg.js +4 -0
- package/dist/assets/flags/mp.svg.js +4 -0
- package/dist/assets/flags/mq.svg.js +4 -0
- package/dist/assets/flags/mr.svg.js +4 -0
- package/dist/assets/flags/ms.svg.js +4 -0
- package/dist/assets/flags/mt.svg.js +4 -0
- package/dist/assets/flags/mu.svg.js +4 -0
- package/dist/assets/flags/mv.svg.js +4 -0
- package/dist/assets/flags/mw.svg.js +4 -0
- package/dist/assets/flags/mx.svg.js +4 -0
- package/dist/assets/flags/my.svg.js +4 -0
- package/dist/assets/flags/mz.svg.js +4 -0
- package/dist/assets/flags/na.svg.js +4 -0
- package/dist/assets/flags/nc.svg.js +4 -0
- package/dist/assets/flags/ne.svg.js +4 -0
- package/dist/assets/flags/nf.svg.js +4 -0
- package/dist/assets/flags/ng.svg.js +4 -0
- package/dist/assets/flags/ni.svg.js +4 -0
- package/dist/assets/flags/nl.svg.js +4 -0
- package/dist/assets/flags/no.svg.js +4 -0
- package/dist/assets/flags/np.svg.js +4 -0
- package/dist/assets/flags/nr.svg.js +4 -0
- package/dist/assets/flags/nu.svg.js +4 -0
- package/dist/assets/flags/nz.svg.js +4 -0
- package/dist/assets/flags/om.svg.js +4 -0
- package/dist/assets/flags/pa.svg.js +4 -0
- package/dist/assets/flags/pc.svg.js +4 -0
- package/dist/assets/flags/pe.svg.js +4 -0
- package/dist/assets/flags/pf.svg.js +4 -0
- package/dist/assets/flags/pg.svg.js +4 -0
- package/dist/assets/flags/ph.svg.js +4 -0
- package/dist/assets/flags/pk.svg.js +4 -0
- package/dist/assets/flags/pl.svg.js +4 -0
- package/dist/assets/flags/pm.svg.js +4 -0
- package/dist/assets/flags/pn.svg.js +4 -0
- package/dist/assets/flags/pr.svg.js +4 -0
- package/dist/assets/flags/ps.svg.js +4 -0
- package/dist/assets/flags/pt.svg.js +4 -0
- package/dist/assets/flags/pw.svg.js +4 -0
- package/dist/assets/flags/py.svg.js +4 -0
- package/dist/assets/flags/qa.svg.js +4 -0
- package/dist/assets/flags/re.svg.js +4 -0
- package/dist/assets/flags/ro.svg.js +4 -0
- package/dist/assets/flags/rs.svg.js +4 -0
- package/dist/assets/flags/ru.svg.js +4 -0
- package/dist/assets/flags/rw.svg.js +4 -0
- package/dist/assets/flags/sa.svg.js +4 -0
- package/dist/assets/flags/sb.svg.js +4 -0
- package/dist/assets/flags/sc.svg.js +4 -0
- package/dist/assets/flags/sd.svg.js +4 -0
- package/dist/assets/flags/se.svg.js +4 -0
- package/dist/assets/flags/sg.svg.js +4 -0
- package/dist/assets/flags/sh-ac.svg.js +4 -0
- package/dist/assets/flags/sh-hl.svg.js +4 -0
- package/dist/assets/flags/sh-ta.svg.js +4 -0
- package/dist/assets/flags/sh.svg.js +4 -0
- package/dist/assets/flags/si.svg.js +4 -0
- package/dist/assets/flags/sj.svg.js +4 -0
- package/dist/assets/flags/sk.svg.js +4 -0
- package/dist/assets/flags/sl.svg.js +4 -0
- package/dist/assets/flags/sm.svg.js +4 -0
- package/dist/assets/flags/sn.svg.js +4 -0
- package/dist/assets/flags/so.svg.js +4 -0
- package/dist/assets/flags/sr.svg.js +4 -0
- package/dist/assets/flags/ss.svg.js +4 -0
- package/dist/assets/flags/st.svg.js +4 -0
- package/dist/assets/flags/sv.svg.js +4 -0
- package/dist/assets/flags/sx.svg.js +4 -0
- package/dist/assets/flags/sy.svg.js +4 -0
- package/dist/assets/flags/sz.svg.js +4 -0
- package/dist/assets/flags/tc.svg.js +4 -0
- package/dist/assets/flags/td.svg.js +4 -0
- package/dist/assets/flags/tf.svg.js +4 -0
- package/dist/assets/flags/tg.svg.js +4 -0
- package/dist/assets/flags/th.svg.js +4 -0
- package/dist/assets/flags/tj.svg.js +4 -0
- package/dist/assets/flags/tk.svg.js +4 -0
- package/dist/assets/flags/tl.svg.js +4 -0
- package/dist/assets/flags/tm.svg.js +4 -0
- package/dist/assets/flags/tn.svg.js +4 -0
- package/dist/assets/flags/to.svg.js +4 -0
- package/dist/assets/flags/tr.svg.js +4 -0
- package/dist/assets/flags/tt.svg.js +4 -0
- package/dist/assets/flags/tv.svg.js +4 -0
- package/dist/assets/flags/tw.svg.js +4 -0
- package/dist/assets/flags/tz.svg.js +4 -0
- package/dist/assets/flags/ua.svg.js +4 -0
- package/dist/assets/flags/ug.svg.js +4 -0
- package/dist/assets/flags/um.svg.js +4 -0
- package/dist/assets/flags/un.svg.js +4 -0
- package/dist/assets/flags/us.svg.js +4 -0
- package/dist/assets/flags/uy.svg.js +4 -0
- package/dist/assets/flags/uz.svg.js +4 -0
- package/dist/assets/flags/va.svg.js +4 -0
- package/dist/assets/flags/vc.svg.js +4 -0
- package/dist/assets/flags/ve.svg.js +4 -0
- package/dist/assets/flags/vg.svg.js +4 -0
- package/dist/assets/flags/vi.svg.js +4 -0
- package/dist/assets/flags/vn.svg.js +4 -0
- package/dist/assets/flags/vu.svg.js +4 -0
- package/dist/assets/flags/wf.svg.js +4 -0
- package/dist/assets/flags/ws.svg.js +4 -0
- package/dist/assets/flags/xk.svg.js +4 -0
- package/dist/assets/flags/xx.svg.js +4 -0
- package/dist/assets/flags/ye.svg.js +4 -0
- package/dist/assets/flags/yt.svg.js +4 -0
- package/dist/assets/flags/za.svg.js +4 -0
- package/dist/assets/flags/zm.svg.js +4 -0
- package/dist/assets/flags/zw.svg.js +4 -0
- package/dist/assets/images/OTP.png.js +4 -0
- package/dist/assets/images/SaudiFlag.png.js +4 -0
- package/dist/assets/images/cashier.png.js +4 -0
- package/dist/assets/images/netural.png.js +4 -0
- package/dist/assets/images/placeholder.png.js +4 -0
- package/dist/assets/svg/QaemaLogo.svg.js +4 -0
- package/dist/assets/svg/Riyal.svg.js +4 -0
- package/dist/assets/svg/failed.svg.js +4 -0
- package/dist/assets/svg/greenRial.svg.js +4 -0
- package/dist/assets/svg/maleAvatar.svg.js +4 -0
- package/dist/assets/svg/redRial.svg.js +4 -0
- package/dist/assets/svg/success.svg.js +4 -0
- package/dist/components/AccordionCard.d.ts +29 -0
- package/dist/components/AccordionCard.d.ts.map +1 -0
- package/dist/components/AccordionCard.js +238 -0
- package/dist/components/ActionInput.d.ts +21 -0
- package/dist/components/ActionInput.d.ts.map +1 -0
- package/dist/components/ActionInput.js +95 -0
- package/dist/components/AddOnCard.d.ts +10 -0
- package/dist/components/AddOnCard.d.ts.map +1 -0
- package/dist/components/AddOnCard.js +80 -0
- package/dist/components/AddOnCardInput.d.ts +15 -0
- package/dist/components/AddOnCardInput.d.ts.map +1 -0
- package/dist/components/AddOnCardInput.js +21 -0
- package/dist/components/AddOnCounter.d.ts +3 -0
- package/dist/components/AddOnCounter.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +20 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/components/Alert.js +248 -0
- package/dist/components/AmountItem.d.ts +12 -0
- package/dist/components/AmountItem.d.ts.map +1 -0
- package/dist/components/AmountItem.js +43 -0
- package/dist/components/Badge.d.ts +15 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/Badge.js +36 -0
- package/dist/components/BulletItem.d.ts +7 -0
- package/dist/components/BulletItem.d.ts.map +1 -0
- package/dist/components/BulletItem.js +29 -0
- package/dist/components/Button.d.ts +23 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +128 -0
- package/dist/components/Card.d.ts +18 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Card.js +80 -0
- package/dist/components/CardsList.d.ts +42 -0
- package/dist/components/CardsList.d.ts.map +1 -0
- package/dist/components/CardsList.js +206 -0
- package/dist/components/Chart.d.ts +45 -0
- package/dist/components/Chart.d.ts.map +1 -0
- package/dist/components/Chart.js +255 -0
- package/dist/components/Checkbox.d.ts +19 -0
- package/dist/components/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox.js +164 -0
- package/dist/components/CollapsableCard.d.ts +9 -0
- package/dist/components/CollapsableCard.d.ts.map +1 -0
- package/dist/components/CollapsableCard.js +37 -0
- package/dist/components/ConfigList.d.ts +47 -0
- package/dist/components/ConfigList.d.ts.map +1 -0
- package/dist/components/ConfigList.js +215 -0
- package/dist/components/ConfirmationPopup.d.ts +19 -0
- package/dist/components/ConfirmationPopup.d.ts.map +1 -0
- package/dist/components/ConfirmationPopup.js +116 -0
- package/dist/components/DatePicker.d.ts +14 -0
- package/dist/components/DatePicker.d.ts.map +1 -0
- package/dist/components/DatePicker.js +271 -0
- package/dist/components/Divider.d.ts +8 -0
- package/dist/components/Divider.d.ts.map +1 -0
- package/dist/components/Divider.js +12 -0
- package/dist/components/Draggable.d.ts +18 -0
- package/dist/components/Draggable.d.ts.map +1 -0
- package/dist/components/Draggable.js +130 -0
- package/dist/components/DropDown.d.ts +32 -0
- package/dist/components/DropDown.d.ts.map +1 -0
- package/dist/components/DropDown.js +160 -0
- package/dist/components/FileDownloadCard.d.ts +15 -0
- package/dist/components/FileDownloadCard.d.ts.map +1 -0
- package/dist/components/FileDownloadCard.js +97 -0
- package/dist/components/Filter.d.ts +47 -0
- package/dist/components/Filter.d.ts.map +1 -0
- package/dist/components/Filter.js +252 -0
- package/dist/components/FilterActiveBar.d.ts +9 -0
- package/dist/components/FilterActiveBar.d.ts.map +1 -0
- package/dist/components/FilterActiveBar.js +41 -0
- package/dist/components/Header.d.ts +16 -0
- package/dist/components/Header.d.ts.map +1 -0
- package/dist/components/Header.js +198 -0
- package/dist/components/HelpCard.d.ts +20 -0
- package/dist/components/HelpCard.d.ts.map +1 -0
- package/dist/components/HelpCard.js +140 -0
- package/dist/components/Hint.d.ts +13 -0
- package/dist/components/Hint.d.ts.map +1 -0
- package/dist/components/Hint.js +71 -0
- package/dist/components/HorizontalChart.d.ts +13 -0
- package/dist/components/HorizontalChart.d.ts.map +1 -0
- package/dist/components/HorizontalChart.js +56 -0
- package/dist/components/Image.d.ts +16 -0
- package/dist/components/Image.d.ts.map +1 -0
- package/dist/components/Image.js +34 -0
- package/dist/components/InfoCard.d.ts +13 -0
- package/dist/components/InfoCard.d.ts.map +1 -0
- package/dist/components/InfoCard.js +43 -0
- package/dist/components/InfoCardBulletItem.d.ts +7 -0
- package/dist/components/InfoCardBulletItem.d.ts.map +1 -0
- package/dist/components/InfoCardBulletItem.js +28 -0
- package/dist/components/InfoItem.d.ts +9 -0
- package/dist/components/InfoItem.d.ts.map +1 -0
- package/dist/components/InfoItem.js +48 -0
- package/dist/components/InputField.d.ts +29 -0
- package/dist/components/InputField.d.ts.map +1 -0
- package/dist/components/InputField.js +240 -0
- package/dist/components/InputLabel.d.ts +7 -0
- package/dist/components/InputLabel.d.ts.map +1 -0
- package/dist/components/InputLabel.js +34 -0
- package/dist/components/Layout.d.ts +13 -0
- package/dist/components/Layout.d.ts.map +1 -0
- package/dist/components/Layout.js +25 -0
- package/dist/components/Legend.d.ts +12 -0
- package/dist/components/Legend.d.ts.map +1 -0
- package/dist/components/Legend.js +50 -0
- package/dist/components/Link.d.ts +28 -0
- package/dist/components/Link.d.ts.map +1 -0
- package/dist/components/Link.js +82 -0
- package/dist/components/ListToolbar.d.ts +17 -0
- package/dist/components/ListToolbar.d.ts.map +1 -0
- package/dist/components/ListToolbar.js +87 -0
- package/dist/components/MethodCard.d.ts +19 -0
- package/dist/components/MethodCard.d.ts.map +1 -0
- package/dist/components/MethodCard.js +68 -0
- package/dist/components/Modal.d.ts +16 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/Modal.js +117 -0
- package/dist/components/ModalWithRequestCard.d.ts +8 -0
- package/dist/components/ModalWithRequestCard.d.ts.map +1 -0
- package/dist/components/ModalWithRequestCard.js +9 -0
- package/dist/components/NavItem.d.ts +26 -0
- package/dist/components/NavItem.d.ts.map +1 -0
- package/dist/components/NavItem.js +106 -0
- package/dist/components/NavigationPanel.d.ts +16 -0
- package/dist/components/NavigationPanel.d.ts.map +1 -0
- package/dist/components/NavigationPanel.js +44 -0
- package/dist/components/NumberInput.d.ts +16 -0
- package/dist/components/NumberInput.d.ts.map +1 -0
- package/dist/components/NumberInput.js +51 -0
- package/dist/components/OTP.d.ts +9 -0
- package/dist/components/OTP.d.ts.map +1 -0
- package/dist/components/OTP.js +120 -0
- package/dist/components/OptionCardGroup.d.ts +35 -0
- package/dist/components/OptionCardGroup.d.ts.map +1 -0
- package/dist/components/OptionCardGroup.js +190 -0
- package/dist/components/PackageCard.d.ts +22 -0
- package/dist/components/PackageCard.d.ts.map +1 -0
- package/dist/components/PackageCard.js +100 -0
- package/dist/components/PageHeader.d.ts +9 -0
- package/dist/components/PageHeader.d.ts.map +1 -0
- package/dist/components/PageHeader.js +42 -0
- package/dist/components/Pagination.d.ts +18 -0
- package/dist/components/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination.js +246 -0
- package/dist/components/PasswordInputField.d.ts +16 -0
- package/dist/components/PasswordInputField.d.ts.map +1 -0
- package/dist/components/PasswordInputField.js +33 -0
- package/dist/components/PaymentLinkDetails.d.ts +27 -0
- package/dist/components/PaymentLinkDetails.d.ts.map +1 -0
- package/dist/components/PaymentLinkDetails.js +235 -0
- package/dist/components/PaymentTooltip.d.ts +15 -0
- package/dist/components/PaymentTooltip.d.ts.map +1 -0
- package/dist/components/PaymentTooltip.js +91 -0
- package/dist/components/PhoneInputField.d.ts +57 -0
- package/dist/components/PhoneInputField.d.ts.map +1 -0
- package/dist/components/PhoneInputField.js +484 -0
- package/dist/components/PriceAmount.d.ts +7 -0
- package/dist/components/PriceAmount.d.ts.map +1 -0
- package/dist/components/PriceAmount.js +28 -0
- package/dist/components/ProgressBar.d.ts +6 -0
- package/dist/components/ProgressBar.d.ts.map +1 -0
- package/dist/components/ProgressBar.js +47 -0
- package/dist/components/QuickActionItem.d.ts +26 -0
- package/dist/components/QuickActionItem.d.ts.map +1 -0
- package/dist/components/QuickActionItem.js +112 -0
- package/dist/components/QuickStartCard.d.ts +17 -0
- package/dist/components/QuickStartCard.d.ts.map +1 -0
- package/dist/components/QuickStartCard.js +70 -0
- package/dist/components/Radio.d.ts +15 -0
- package/dist/components/Radio.d.ts.map +1 -0
- package/dist/components/Radio.js +111 -0
- package/dist/components/RadioInput.d.ts +25 -0
- package/dist/components/RadioInput.d.ts.map +1 -0
- package/dist/components/RadioInput.js +89 -0
- package/dist/components/ReconciliationGroups.d.ts +34 -0
- package/dist/components/ReconciliationGroups.d.ts.map +1 -0
- package/dist/components/ReconciliationGroups.js +191 -0
- package/dist/components/RequestCard.d.ts +44 -0
- package/dist/components/RequestCard.d.ts.map +1 -0
- package/dist/components/RequestCard.js +222 -0
- package/dist/components/RequestSummaryCard.d.ts +40 -0
- package/dist/components/RequestSummaryCard.d.ts.map +1 -0
- package/dist/components/RequestSummaryCard.js +184 -0
- package/dist/components/SearchBar.d.ts +7 -0
- package/dist/components/SearchBar.d.ts.map +1 -0
- package/dist/components/SearchBar.js +78 -0
- package/dist/components/SectionHeader.d.ts +9 -0
- package/dist/components/SectionHeader.d.ts.map +1 -0
- package/dist/components/SectionHeader.js +33 -0
- package/dist/components/SideMenuLinks.d.ts +11 -0
- package/dist/components/SideMenuLinks.d.ts.map +1 -0
- package/dist/components/SideMenuLinks.js +20 -0
- package/dist/components/Sidemenu.d.ts +19 -0
- package/dist/components/Sidemenu.d.ts.map +1 -0
- package/dist/components/Sidemenu.js +165 -0
- package/dist/components/Spinner.d.ts +10 -0
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/components/Spinner.js +62 -0
- package/dist/components/StatCard.d.ts +25 -0
- package/dist/components/StatCard.d.ts.map +1 -0
- package/dist/components/StatCard.js +134 -0
- package/dist/components/StatIndicator.d.ts +15 -0
- package/dist/components/StatIndicator.d.ts.map +1 -0
- package/dist/components/StatIndicator.js +69 -0
- package/dist/components/StatusFeedback.d.ts +11 -0
- package/dist/components/StatusFeedback.d.ts.map +1 -0
- package/dist/components/StatusFeedback.js +31 -0
- package/dist/components/Stepper.d.ts +15 -0
- package/dist/components/Stepper.d.ts.map +1 -0
- package/dist/components/Stepper.js +44 -0
- package/dist/components/StepperProcess.d.ts +6782 -0
- package/dist/components/StepperProcess.d.ts.map +1 -0
- package/dist/components/StepperProcess.js +273 -0
- package/dist/components/SummaryCard.d.ts +39 -0
- package/dist/components/SummaryCard.d.ts.map +1 -0
- package/dist/components/SummaryCard.js +177 -0
- package/dist/components/Table/Table.d.ts +4 -0
- package/dist/components/Table/Table.d.ts.map +1 -0
- package/dist/components/Table/Table.js +166 -0
- package/dist/components/Table/Table.styles.d.ts +57 -0
- package/dist/components/Table/Table.styles.d.ts.map +1 -0
- package/dist/components/Table/Table.styles.js +275 -0
- package/dist/components/Table/Table.types.d.ts +72 -0
- package/dist/components/Table/Table.types.d.ts.map +1 -0
- package/dist/components/Table/components/CellComponents.d.ts +117 -0
- package/dist/components/Table/components/CellComponents.d.ts.map +1 -0
- package/dist/components/Table/components/CellComponents.js +118 -0
- package/dist/components/Table/components/TableHead.d.ts +15 -0
- package/dist/components/Table/components/TableHead.d.ts.map +1 -0
- package/dist/components/Table/components/TableHead.js +58 -0
- package/dist/components/Tabs.d.ts +15 -0
- package/dist/components/Tabs.d.ts.map +1 -0
- package/dist/components/Tabs.js +107 -0
- package/dist/components/TextArea.d.ts +21 -0
- package/dist/components/TextArea.d.ts.map +1 -0
- package/dist/components/TextArea.js +194 -0
- package/dist/components/ThemeProvider.d.ts +12 -0
- package/dist/components/ThemeProvider.d.ts.map +1 -0
- package/dist/components/ThemeProvider.js +43 -0
- package/dist/components/ToastNotification.d.ts +15 -0
- package/dist/components/ToastNotification.d.ts.map +1 -0
- package/dist/components/ToastNotification.js +84 -0
- package/dist/components/Toggle.d.ts +18 -0
- package/dist/components/Toggle.d.ts.map +1 -0
- package/dist/components/Toggle.js +105 -0
- package/dist/components/ToggleForm.d.ts +17 -0
- package/dist/components/ToggleForm.d.ts.map +1 -0
- package/dist/components/ToggleForm.js +121 -0
- package/dist/components/ToggleHeader.d.ts +10 -0
- package/dist/components/ToggleHeader.d.ts.map +1 -0
- package/dist/components/ToggleHeader.js +92 -0
- package/dist/components/Typography.d.ts +27 -0
- package/dist/components/Typography.d.ts.map +1 -0
- package/dist/components/Typography.js +57 -0
- package/dist/components/ViewItem.d.ts +8 -0
- package/dist/components/ViewItem.d.ts.map +1 -0
- package/dist/components/ViewItem.js +20 -0
- package/dist/components/index.d.ts +144 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/constants/breakPoints.constant.d.ts +13 -0
- package/dist/constants/breakPoints.constant.d.ts.map +1 -0
- package/dist/constants/breakPoints.constant.js +15 -0
- package/dist/constants/calendar.constant.d.ts +5 -0
- package/dist/constants/calendar.constant.d.ts.map +1 -0
- package/dist/constants/calendar.constant.js +5 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/phone.constant.d.ts +9 -0
- package/dist/constants/phone.constant.d.ts.map +1 -0
- package/dist/constants/phone.constant.js +250 -0
- package/dist/constants/table.types.d.ts +12 -0
- package/dist/constants/table.types.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useBadgeVariant.d.ts +9 -0
- package/dist/hooks/useBadgeVariant.d.ts.map +1 -0
- package/dist/hooks/useBadgeVariant.js +25 -0
- package/dist/hooks/useBreakpointCheck.d.ts +3 -0
- package/dist/hooks/useBreakpointCheck.d.ts.map +1 -0
- package/dist/hooks/useBreakpointCheck.js +13 -0
- package/dist/hooks/useButtonVariant.d.ts +15 -0
- package/dist/hooks/useButtonVariant.d.ts.map +1 -0
- package/dist/hooks/useButtonVariant.js +45 -0
- package/dist/hooks/useFormikInput.d.ts +60 -0
- package/dist/hooks/useFormikInput.d.ts.map +1 -0
- package/dist/hooks/useFormikInput.js +72 -0
- package/dist/hooks/useHintVariant.d.ts +4 -0
- package/dist/hooks/useHintVariant.d.ts.map +1 -0
- package/dist/hooks/useHintVariant.js +13 -0
- package/dist/hooks/useNavItemVariant.d.ts +8 -0
- package/dist/hooks/useNavItemVariant.d.ts.map +1 -0
- package/dist/hooks/useNavItemVariant.js +27 -0
- package/dist/hooks/useToastVariant.d.ts +8 -0
- package/dist/hooks/useToastVariant.d.ts.map +1 -0
- package/dist/hooks/useToastVariant.js +32 -0
- package/dist/hooks/useTypographyVariant.d.ts +60 -0
- package/dist/hooks/useTypographyVariant.d.ts.map +1 -0
- package/dist/hooks/useTypographyVariant.js +103 -0
- package/dist/hooks/useZIndex.d.ts +4 -0
- package/dist/hooks/useZIndex.d.ts.map +1 -0
- package/dist/hooks/useZIndex.js +16 -0
- package/dist/i18n/i18n.d.ts +6 -0
- package/dist/i18n/i18n.d.ts.map +1 -0
- package/dist/i18n/i18n.js +23 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/locales/ar.json.d.ts +51 -0
- package/dist/i18n/locales/ar.json.js +97 -0
- package/dist/i18n/locales/en.json.d.ts +51 -0
- package/dist/i18n/locales/en.json.js +97 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +173 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/@popperjs/core/lib/createPopper.js +122 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +18 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +23 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +37 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +32 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +7 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +10 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +17 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +9 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +13 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +6 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +10 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +35 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +18 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +10 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +21 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +12 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +11 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +9 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +20 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +7 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +8 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +7 -0
- package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +16 -0
- package/dist/node_modules/@popperjs/core/lib/enums.js +31 -0
- package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +37 -0
- package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +99 -0
- package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +26 -0
- package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +74 -0
- package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +44 -0
- package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +31 -0
- package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +19 -0
- package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +54 -0
- package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +27 -0
- package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +54 -0
- package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +13 -0
- package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +33 -0
- package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +8 -0
- package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +6 -0
- package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +6 -0
- package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +11 -0
- package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +6 -0
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +14 -0
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +12 -0
- package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +6 -0
- package/dist/node_modules/@popperjs/core/lib/utils/math.js +6 -0
- package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +15 -0
- package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +7 -0
- package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +31 -0
- package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +11 -0
- package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +9 -0
- package/dist/node_modules/@popperjs/core/lib/utils/within.js +12 -0
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.js +50 -0
- package/dist/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +197 -0
- package/dist/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1236 -0
- package/dist/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +103 -0
- package/dist/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +552 -0
- package/dist/node_modules/@react-spring/web/dist/react-spring_web.modern.js +314 -0
- package/dist/node_modules/@restart/hooks/esm/useBreakpoint.js +41 -0
- package/dist/node_modules/@restart/hooks/esm/useCommittedRef.js +10 -0
- package/dist/node_modules/@restart/hooks/esm/useEventCallback.js +11 -0
- package/dist/node_modules/@restart/hooks/esm/useIsomorphicEffect.js +7 -0
- package/dist/node_modules/@restart/hooks/esm/useMediaQuery.js +27 -0
- package/dist/node_modules/@restart/hooks/esm/useMergedRefs.js +17 -0
- package/dist/node_modules/@restart/hooks/esm/useMounted.js +10 -0
- package/dist/node_modules/@restart/hooks/esm/useTimeout.js +25 -0
- package/dist/node_modules/@restart/hooks/esm/useUpdatedRef.js +8 -0
- package/dist/node_modules/@restart/hooks/esm/useWillUnmount.js +9 -0
- package/dist/node_modules/@restart/ui/esm/Anchor.js +41 -0
- package/dist/node_modules/@restart/ui/esm/Button.js +79 -0
- package/dist/node_modules/@restart/ui/esm/DataKey.js +13 -0
- package/dist/node_modules/@restart/ui/esm/Dropdown.js +123 -0
- package/dist/node_modules/@restart/ui/esm/DropdownContext.js +5 -0
- package/dist/node_modules/@restart/ui/esm/DropdownItem.js +63 -0
- package/dist/node_modules/@restart/ui/esm/DropdownMenu.js +86 -0
- package/dist/node_modules/@restart/ui/esm/DropdownToggle.js +42 -0
- package/dist/node_modules/@restart/ui/esm/ImperativeTransition.js +65 -0
- package/dist/node_modules/@restart/ui/esm/Modal.js +181 -0
- package/dist/node_modules/@restart/ui/esm/ModalManager.js +57 -0
- package/dist/node_modules/@restart/ui/esm/Nav.js +96 -0
- package/dist/node_modules/@restart/ui/esm/NavContext.js +6 -0
- package/dist/node_modules/@restart/ui/esm/NavItem.js +62 -0
- package/dist/node_modules/@restart/ui/esm/NoopTransition.js +23 -0
- package/dist/node_modules/@restart/ui/esm/RTGTransition.js +25 -0
- package/dist/node_modules/@restart/ui/esm/SelectableContext.js +6 -0
- package/dist/node_modules/@restart/ui/esm/TabContext.js +5 -0
- package/dist/node_modules/@restart/ui/esm/getScrollbarWidth.js +7 -0
- package/dist/node_modules/@restart/ui/esm/mergeOptionsWithPopperConfig.js +58 -0
- package/dist/node_modules/@restart/ui/esm/popper.js +15 -0
- package/dist/node_modules/@restart/ui/esm/useClickOutside.js +55 -0
- package/dist/node_modules/@restart/ui/esm/usePopper.js +120 -0
- package/dist/node_modules/@restart/ui/esm/useRTGTransitionProps.js +57 -0
- package/dist/node_modules/@restart/ui/esm/useWaitForDOMRef.js +21 -0
- package/dist/node_modules/@restart/ui/esm/useWindow.js +10 -0
- package/dist/node_modules/@restart/ui/esm/utils.js +25 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useCallbackRef.js +7 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useCommittedRef.js +10 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useEventCallback.js +11 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useEventListener.js +12 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useForceUpdate.js +8 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useIsomorphicEffect.js +7 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMergedRefs.js +17 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMounted.js +10 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/usePrevious.js +10 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useSafeState.js +12 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useUpdatedRef.js +8 -0
- package/dist/node_modules/@restart/ui/node_modules/@restart/hooks/esm/useWillUnmount.js +9 -0
- package/dist/node_modules/@restart/ui/node_modules/uncontrollable/lib/esm/index.js +12 -0
- package/dist/node_modules/classnames/index.js +42 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/d3-array/src/ascending.js +6 -0
- package/dist/node_modules/d3-array/src/bisect.js +9 -0
- package/dist/node_modules/d3-array/src/bisector.js +37 -0
- package/dist/node_modules/d3-array/src/descending.js +6 -0
- package/dist/node_modules/d3-array/src/max.js +9 -0
- package/dist/node_modules/d3-array/src/min.js +9 -0
- package/dist/node_modules/d3-array/src/number.js +11 -0
- package/dist/node_modules/d3-array/src/quantile.js +24 -0
- package/dist/node_modules/d3-array/src/quickselect.js +25 -0
- package/dist/node_modules/d3-array/src/range.js +9 -0
- package/dist/node_modules/d3-array/src/sort.js +16 -0
- package/dist/node_modules/d3-array/src/ticks.js +32 -0
- package/dist/node_modules/d3-color/src/color.js +305 -0
- package/dist/node_modules/d3-color/src/define.js +12 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/exponent.js +7 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +15 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +10 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +10 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +10 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +28 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +19 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +21 -0
- package/dist/node_modules/d3-format/src/identity.js +6 -0
- package/dist/node_modules/d3-format/src/locale.js +68 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +7 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +7 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +7 -0
- package/dist/node_modules/d3-interpolate/src/array.js +13 -0
- package/dist/node_modules/d3-interpolate/src/color.js +24 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +4 -0
- package/dist/node_modules/d3-interpolate/src/date.js +9 -0
- package/dist/node_modules/d3-interpolate/src/number.js +8 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +15 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +12 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
- package/dist/node_modules/d3-interpolate/src/round.js +8 -0
- package/dist/node_modules/d3-interpolate/src/string.js +24 -0
- package/dist/node_modules/d3-interpolate/src/value.js +16 -0
- package/dist/node_modules/d3-path/src/path.js +64 -0
- package/dist/node_modules/d3-scale/src/band.js +51 -0
- package/dist/node_modules/d3-scale/src/constant.js +8 -0
- package/dist/node_modules/d3-scale/src/continuous.js +75 -0
- package/dist/node_modules/d3-scale/src/diverging.js +68 -0
- package/dist/node_modules/d3-scale/src/identity.js +18 -0
- package/dist/node_modules/d3-scale/src/init.js +32 -0
- package/dist/node_modules/d3-scale/src/linear.js +39 -0
- package/dist/node_modules/d3-scale/src/log.js +86 -0
- package/dist/node_modules/d3-scale/src/nice.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js +6 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js +38 -0
- package/dist/node_modules/d3-scale/src/quantize.js +31 -0
- package/dist/node_modules/d3-scale/src/radial.js +37 -0
- package/dist/node_modules/d3-scale/src/sequential.js +70 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +28 -0
- package/dist/node_modules/d3-scale/src/symlog.js +29 -0
- package/dist/node_modules/d3-scale/src/threshold.js +23 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +32 -0
- package/dist/node_modules/d3-scale/src/time.js +46 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +17 -0
- package/dist/node_modules/d3-shape/src/area.js +56 -0
- package/dist/node_modules/d3-shape/src/array.js +6 -0
- package/dist/node_modules/d3-shape/src/constant.js +8 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +60 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +51 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +43 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +23 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +93 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +41 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +51 -0
- package/dist/node_modules/d3-shape/src/line.js +29 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/noop.js +5 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +13 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +9 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +13 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +19 -0
- package/dist/node_modules/d3-shape/src/order/none.js +7 -0
- package/dist/node_modules/d3-shape/src/path.js +18 -0
- package/dist/node_modules/d3-shape/src/point.js +10 -0
- package/dist/node_modules/d3-shape/src/stack.js +35 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol.js +21 -0
- package/dist/node_modules/d3-time/src/day.js +26 -0
- package/dist/node_modules/d3-time/src/duration.js +10 -0
- package/dist/node_modules/d3-time/src/hour.js +18 -0
- package/dist/node_modules/d3-time/src/interval.js +31 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/minute.js +18 -0
- package/dist/node_modules/d3-time/src/month.js +17 -0
- package/dist/node_modules/d3-time/src/second.js +11 -0
- package/dist/node_modules/d3-time/src/ticks.js +54 -0
- package/dist/node_modules/d3-time/src/week.js +48 -0
- package/dist/node_modules/d3-time/src/year.js +27 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +20 -0
- package/dist/node_modules/d3-time-format/src/locale.js +478 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +583 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
- package/dist/node_modules/date-fns/addDays.js +10 -0
- package/dist/node_modules/date-fns/addMonths.js +20 -0
- package/dist/node_modules/date-fns/constants.js +9 -0
- package/dist/node_modules/date-fns/constructFrom.js +8 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +16 -0
- package/dist/node_modules/date-fns/endOfMonth.js +9 -0
- package/dist/node_modules/date-fns/endOfWeek.js +9 -0
- package/dist/node_modules/date-fns/format.js +59 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
- package/dist/node_modules/date-fns/getDefaultOptions.js +8 -0
- package/dist/node_modules/date-fns/getISODay.js +9 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/getYear.js +8 -0
- package/dist/node_modules/date-fns/isAfter.js +8 -0
- package/dist/node_modules/date-fns/isBefore.js +8 -0
- package/dist/node_modules/date-fns/isDate.js +7 -0
- package/dist/node_modules/date-fns/isSameDay.js +14 -0
- package/dist/node_modules/date-fns/isSameMonth.js +13 -0
- package/dist/node_modules/date-fns/isValid.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +41 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +105 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +80 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +77 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +75 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +80 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +77 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +75 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.js +103 -0
- package/dist/node_modules/date-fns/parse.js +86 -0
- package/dist/node_modules/date-fns/setDay.js +12 -0
- package/dist/node_modules/date-fns/setISODay.js +11 -0
- package/dist/node_modules/date-fns/setISOWeek.js +10 -0
- package/dist/node_modules/date-fns/setMonth.js +13 -0
- package/dist/node_modules/date-fns/setWeek.js +10 -0
- package/dist/node_modules/date-fns/setYear.js +10 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/node_modules/date-fns/startOfMonth.js +9 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfYear.js +9 -0
- package/dist/node_modules/date-fns/subMonths.js +8 -0
- package/dist/node_modules/date-fns/toDate.js +8 -0
- package/dist/node_modules/date-fns/transpose.js +18 -0
- package/dist/node_modules/decimal.js-light/decimal.js +472 -0
- package/dist/node_modules/dequal/dist/index.js +55 -0
- package/dist/node_modules/dom-helpers/esm/activeElement.js +13 -0
- package/dist/node_modules/dom-helpers/esm/addClass.js +7 -0
- package/dist/node_modules/dom-helpers/esm/addEventListener.js +28 -0
- package/dist/node_modules/dom-helpers/esm/canUseDOM.js +4 -0
- package/dist/node_modules/dom-helpers/esm/contains.js +7 -0
- package/dist/node_modules/dom-helpers/esm/css.js +15 -0
- package/dist/node_modules/dom-helpers/esm/getComputedStyle.js +7 -0
- package/dist/node_modules/dom-helpers/esm/hasClass.js +6 -0
- package/dist/node_modules/dom-helpers/esm/hyphenate.js +7 -0
- package/dist/node_modules/dom-helpers/esm/hyphenateStyle.js +8 -0
- package/dist/node_modules/dom-helpers/esm/isTransform.js +7 -0
- package/dist/node_modules/dom-helpers/esm/listen.js +10 -0
- package/dist/node_modules/dom-helpers/esm/ownerDocument.js +6 -0
- package/dist/node_modules/dom-helpers/esm/ownerWindow.js +8 -0
- package/dist/node_modules/dom-helpers/esm/querySelectorAll.js +7 -0
- package/dist/node_modules/dom-helpers/esm/removeClass.js +9 -0
- package/dist/node_modules/dom-helpers/esm/removeEventListener.js +7 -0
- package/dist/node_modules/dom-helpers/esm/transitionEnd.js +30 -0
- package/dist/node_modules/dom-helpers/esm/triggerEvent.js +9 -0
- package/dist/node_modules/fast-equals/dist/esm/index.js +298 -0
- package/dist/node_modules/internmap/src/index.js +35 -0
- package/dist/node_modules/invariant/browser.js +29 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_Hash.js +22 -0
- package/dist/node_modules/lodash/_ListCache.js +22 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_MapCache.js +22 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_apply.js +22 -0
- package/dist/node_modules/lodash/_arrayEvery.js +15 -0
- package/dist/node_modules/lodash/_arrayFilter.js +16 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +15 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +26 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arraySome.js +15 -0
- package/dist/node_modules/lodash/_asciiToArray.js +12 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +19 -0
- package/dist/node_modules/lodash/_baseEach.js +12 -0
- package/dist/node_modules/lodash/_baseEvery.js +17 -0
- package/dist/node_modules/lodash/_baseExtremum.js +19 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +15 -0
- package/dist/node_modules/lodash/_baseFlatten.js +20 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseForOwn.js +15 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +16 -0
- package/dist/node_modules/lodash/_baseGetTag.js +16 -0
- package/dist/node_modules/lodash/_baseGt.js +12 -0
- package/dist/node_modules/lodash/_baseHasIn.js +12 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +16 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +15 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +15 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +38 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +37 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +12 -0
- package/dist/node_modules/lodash/_baseIsNative.js +22 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +17 -0
- package/dist/node_modules/lodash/_baseIteratee.js +18 -0
- package/dist/node_modules/lodash/_baseKeys.js +20 -0
- package/dist/node_modules/lodash/_baseLt.js +12 -0
- package/dist/node_modules/lodash/_baseMap.js +18 -0
- package/dist/node_modules/lodash/_baseMatches.js +19 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +23 -0
- package/dist/node_modules/lodash/_baseOrderBy.js +37 -0
- package/dist/node_modules/lodash/_baseProperty.js +14 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/dist/node_modules/lodash/_baseRange.js +15 -0
- package/dist/node_modules/lodash/_baseRest.js +16 -0
- package/dist/node_modules/lodash/_baseSetToString.js +20 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSome.js +17 -0
- package/dist/node_modules/lodash/_baseSortBy.js +15 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseToString.js +24 -0
- package/dist/node_modules/lodash/_baseTrim.js +14 -0
- package/dist/node_modules/lodash/_baseUnary.js +14 -0
- package/dist/node_modules/lodash/_baseUniq.js +39 -0
- package/dist/node_modules/lodash/_cacheHas.js +12 -0
- package/dist/node_modules/lodash/_castPath.js +17 -0
- package/dist/node_modules/lodash/_castSlice.js +15 -0
- package/dist/node_modules/lodash/_compareAscending.js +21 -0
- package/dist/node_modules/lodash/_compareMultiple.js +23 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_createBaseEach.js +22 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +21 -0
- package/dist/node_modules/lodash/_createFind.js +26 -0
- package/dist/node_modules/lodash/_createRange.js +18 -0
- package/dist/node_modules/lodash/_createSet.js +15 -0
- package/dist/node_modules/lodash/_defineProperty.js +17 -0
- package/dist/node_modules/lodash/_equalArrays.js +46 -0
- package/dist/node_modules/lodash/_equalByTag.js +51 -0
- package/dist/node_modules/lodash/_equalObjects.js +42 -0
- package/dist/node_modules/lodash/_freeGlobal.js +11 -0
- package/dist/node_modules/lodash/_getAllKeys.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js +15 -0
- package/dist/node_modules/lodash/_getMatchData.js +19 -0
- package/dist/node_modules/lodash/_getNative.js +16 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getSymbols.js +16 -0
- package/dist/node_modules/lodash/_getTag.js +33 -0
- package/dist/node_modules/lodash/_getValue.js +12 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasUnicode.js +13 -0
- package/dist/node_modules/lodash/_hashClear.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js +13 -0
- package/dist/node_modules/lodash/_hashGet.js +19 -0
- package/dist/node_modules/lodash/_hashHas.js +15 -0
- package/dist/node_modules/lodash/_hashSet.js +15 -0
- package/dist/node_modules/lodash/_isFlattenable.js +16 -0
- package/dist/node_modules/lodash/_isIndex.js +14 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKeyable.js +13 -0
- package/dist/node_modules/lodash/_isMasked.js +17 -0
- package/dist/node_modules/lodash/_isPrototype.js +14 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +14 -0
- package/dist/node_modules/lodash/_listCacheClear.js +12 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +18 -0
- package/dist/node_modules/lodash/_listCacheGet.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js +14 -0
- package/dist/node_modules/lodash/_listCacheSet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +20 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +14 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +14 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +15 -0
- package/dist/node_modules/lodash/_mapToArray.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +14 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +17 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nodeUtil.js +19 -0
- package/dist/node_modules/lodash/_objectToString.js +13 -0
- package/dist/node_modules/lodash/_overArg.js +14 -0
- package/dist/node_modules/lodash/_overRest.js +21 -0
- package/dist/node_modules/lodash/_root.js +11 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js +12 -0
- package/dist/node_modules/lodash/_setToArray.js +15 -0
- package/dist/node_modules/lodash/_setToString.js +12 -0
- package/dist/node_modules/lodash/_shortOut.js +22 -0
- package/dist/node_modules/lodash/_stackClear.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js +12 -0
- package/dist/node_modules/lodash/_stackHas.js +12 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +15 -0
- package/dist/node_modules/lodash/_stringToArray.js +16 -0
- package/dist/node_modules/lodash/_stringToPath.js +16 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toSource.js +23 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +13 -0
- package/dist/node_modules/lodash/constant.js +14 -0
- package/dist/node_modules/lodash/debounce.js +60 -0
- package/dist/node_modules/lodash/eq.js +12 -0
- package/dist/node_modules/lodash/every.js +19 -0
- package/dist/node_modules/lodash/find.js +12 -0
- package/dist/node_modules/lodash/findIndex.js +20 -0
- package/dist/node_modules/lodash/flatMap.js +15 -0
- package/dist/node_modules/lodash/get.js +15 -0
- package/dist/node_modules/lodash/hasIn.js +15 -0
- package/dist/node_modules/lodash/identity.js +12 -0
- package/dist/node_modules/lodash/isArguments.js +16 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArrayLike.js +15 -0
- package/dist/node_modules/lodash/isBoolean.js +15 -0
- package/dist/node_modules/lodash/isBuffer.js +14 -0
- package/dist/node_modules/lodash/isEqual.js +14 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isLength.js +13 -0
- package/dist/node_modules/lodash/isNaN.js +14 -0
- package/dist/node_modules/lodash/isNil.js +12 -0
- package/dist/node_modules/lodash/isNumber.js +15 -0
- package/dist/node_modules/lodash/isObject.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js +12 -0
- package/dist/node_modules/lodash/isPlainObject.js +22 -0
- package/dist/node_modules/lodash/isString.js +16 -0
- package/dist/node_modules/lodash/isSymbol.js +15 -0
- package/dist/node_modules/lodash/isTypedArray.js +13 -0
- package/dist/node_modules/lodash/keys.js +16 -0
- package/dist/node_modules/lodash/last.js +13 -0
- package/dist/node_modules/lodash/map.js +18 -0
- package/dist/node_modules/lodash/mapValues.js +19 -0
- package/dist/node_modules/lodash/max.js +16 -0
- package/dist/node_modules/lodash/maxBy.js +16 -0
- package/dist/node_modules/lodash/memoize.js +23 -0
- package/dist/node_modules/lodash/min.js +16 -0
- package/dist/node_modules/lodash/minBy.js +16 -0
- package/dist/node_modules/lodash/noop.js +11 -0
- package/dist/node_modules/lodash/now.js +13 -0
- package/dist/node_modules/lodash/property.js +17 -0
- package/dist/node_modules/lodash/range.js +11 -0
- package/dist/node_modules/lodash/some.js +19 -0
- package/dist/node_modules/lodash/sortBy.js +19 -0
- package/dist/node_modules/lodash/stubArray.js +12 -0
- package/dist/node_modules/lodash/stubFalse.js +12 -0
- package/dist/node_modules/lodash/throttle.js +22 -0
- package/dist/node_modules/lodash/toFinite.js +20 -0
- package/dist/node_modules/lodash/toInteger.js +15 -0
- package/dist/node_modules/lodash/toNumber.js +28 -0
- package/dist/node_modules/lodash/toString.js +14 -0
- package/dist/node_modules/lodash/uniqBy.js +15 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +604 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +28 -0
- package/dist/node_modules/react/jsx-runtime.js +10 -0
- package/dist/node_modules/react-bootstrap/esm/AbstractModalHeader.js +31 -0
- package/dist/node_modules/react-bootstrap/esm/Alert.js +55 -0
- package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +21 -0
- package/dist/node_modules/react-bootstrap/esm/AlertLink.js +19 -0
- package/dist/node_modules/react-bootstrap/esm/BootstrapModalManager.js +46 -0
- package/dist/node_modules/react-bootstrap/esm/Button.js +34 -0
- package/dist/node_modules/react-bootstrap/esm/CardHeaderContext.js +6 -0
- package/dist/node_modules/react-bootstrap/esm/CloseButton.js +32 -0
- package/dist/node_modules/react-bootstrap/esm/Col.js +55 -0
- package/dist/node_modules/react-bootstrap/esm/Collapse.js +80 -0
- package/dist/node_modules/react-bootstrap/esm/Dropdown.js +78 -0
- package/dist/node_modules/react-bootstrap/esm/DropdownContext.js +6 -0
- package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +20 -0
- package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +20 -0
- package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +34 -0
- package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +18 -0
- package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +85 -0
- package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +32 -0
- package/dist/node_modules/react-bootstrap/esm/ElementChildren.js +7 -0
- package/dist/node_modules/react-bootstrap/esm/Fade.js +45 -0
- package/dist/node_modules/react-bootstrap/esm/Feedback.js +33 -0
- package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +26 -0
- package/dist/node_modules/react-bootstrap/esm/Form.js +58 -0
- package/dist/node_modules/react-bootstrap/esm/FormCheck.js +72 -0
- package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +32 -0
- package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +26 -0
- package/dist/node_modules/react-bootstrap/esm/FormContext.js +5 -0
- package/dist/node_modules/react-bootstrap/esm/FormControl.js +43 -0
- package/dist/node_modules/react-bootstrap/esm/FormFloating.js +18 -0
- package/dist/node_modules/react-bootstrap/esm/FormGroup.js +25 -0
- package/dist/node_modules/react-bootstrap/esm/FormLabel.js +42 -0
- package/dist/node_modules/react-bootstrap/esm/FormRange.js +27 -0
- package/dist/node_modules/react-bootstrap/esm/FormSelect.js +31 -0
- package/dist/node_modules/react-bootstrap/esm/FormText.js +22 -0
- package/dist/node_modules/react-bootstrap/esm/Image.js +23 -0
- package/dist/node_modules/react-bootstrap/esm/InputGroupContext.js +6 -0
- package/dist/node_modules/react-bootstrap/esm/ModalContext.js +8 -0
- package/dist/node_modules/react-bootstrap/esm/Nav.js +55 -0
- package/dist/node_modules/react-bootstrap/esm/NavItem.js +18 -0
- package/dist/node_modules/react-bootstrap/esm/NavLink.js +35 -0
- package/dist/node_modules/react-bootstrap/esm/Navbar.js +67 -0
- package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +22 -0
- package/dist/node_modules/react-bootstrap/esm/NavbarCollapse.js +27 -0
- package/dist/node_modules/react-bootstrap/esm/NavbarContext.js +6 -0
- package/dist/node_modules/react-bootstrap/esm/NavbarOffcanvas.js +25 -0
- package/dist/node_modules/react-bootstrap/esm/NavbarText.js +18 -0
- package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +39 -0
- package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +124 -0
- package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +18 -0
- package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +22 -0
- package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +19 -0
- package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +38 -0
- package/dist/node_modules/react-bootstrap/esm/Switch.js +16 -0
- package/dist/node_modules/react-bootstrap/esm/ThemeProvider.js +44 -0
- package/dist/node_modules/react-bootstrap/esm/Toast.js +72 -0
- package/dist/node_modules/react-bootstrap/esm/ToastBody.js +18 -0
- package/dist/node_modules/react-bootstrap/esm/ToastContext.js +8 -0
- package/dist/node_modules/react-bootstrap/esm/ToastFade.js +16 -0
- package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +37 -0
- package/dist/node_modules/react-bootstrap/esm/TransitionWrapper.js +48 -0
- package/dist/node_modules/react-bootstrap/esm/createChainedFunction.js +12 -0
- package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +14 -0
- package/dist/node_modules/react-bootstrap/esm/safeFindDOMNode.js +7 -0
- package/dist/node_modules/react-bootstrap/esm/transitionEndListener.js +14 -0
- package/dist/node_modules/react-bootstrap/esm/triggerBrowserReflow.js +6 -0
- package/dist/node_modules/react-bootstrap/esm/useWrappedRefWithWarning.js +13 -0
- package/dist/node_modules/react-helmet-async/lib/index.esm.js +576 -0
- package/dist/node_modules/react-helmet-async/node_modules/react-fast-compare/index.js +64 -0
- package/dist/node_modules/react-icons/ai/index.js +12 -0
- package/dist/node_modules/react-icons/bi/index.js +8 -0
- package/dist/node_modules/react-icons/cg/index.js +8 -0
- package/dist/node_modules/react-icons/ci/index.js +16 -0
- package/dist/node_modules/react-icons/fa/index.js +60 -0
- package/dist/node_modules/react-icons/fa6/index.js +44 -0
- package/dist/node_modules/react-icons/fi/index.js +28 -0
- package/dist/node_modules/react-icons/go/index.js +8 -0
- package/dist/node_modules/react-icons/gr/index.js +8 -0
- package/dist/node_modules/react-icons/hi/index.js +8 -0
- package/dist/node_modules/react-icons/im/index.js +12 -0
- package/dist/node_modules/react-icons/io/index.js +24 -0
- package/dist/node_modules/react-icons/io5/index.js +20 -0
- package/dist/node_modules/react-icons/lib/iconBase.js +108 -0
- package/dist/node_modules/react-icons/lib/iconContext.js +12 -0
- package/dist/node_modules/react-icons/lu/index.js +36 -0
- package/dist/node_modules/react-icons/md/index.js +8 -0
- package/dist/node_modules/react-icons/ri/index.js +8 -0
- package/dist/node_modules/react-icons/rx/index.js +12 -0
- package/dist/node_modules/react-icons/si/index.js +8 -0
- package/dist/node_modules/react-icons/tb/index.js +16 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react-smooth/es6/Animate.js +362 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js +168 -0
- package/dist/node_modules/react-smooth/es6/easing.js +154 -0
- package/dist/node_modules/react-smooth/es6/index.js +4 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +12 -0
- package/dist/node_modules/react-smooth/es6/util.js +85 -0
- package/dist/node_modules/react-transition-group/esm/Transition.js +336 -0
- package/dist/node_modules/react-transition-group/esm/TransitionGroupContext.js +5 -0
- package/dist/node_modules/react-transition-group/esm/config.js +6 -0
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +21 -0
- package/dist/node_modules/react-transition-group/esm/utils/reflow.js +6 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js +464 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +417 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +492 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +365 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +323 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +238 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js +499 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +187 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +184 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +266 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +145 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +144 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +20 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +138 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +94 -0
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +20 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js +22 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js +20 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js +32 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1383 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +7 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +92 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +253 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +176 -0
- package/dist/node_modules/recharts/es6/component/Label.js +384 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +170 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +250 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +174 -0
- package/dist/node_modules/recharts/es6/component/Text.js +218 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +181 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +203 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +45 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +52 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +85 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js +464 -0
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +242 -0
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +271 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +100 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +133 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +26 -0
- package/dist/node_modules/recharts/es6/shape/Polygon.js +112 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +202 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +142 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +170 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +187 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +113 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +231 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +653 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +57 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +104 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +72 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +57 -0
- package/dist/node_modules/recharts/es6/util/Events.js +6 -0
- package/dist/node_modules/recharts/es6/util/Global.js +8 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +7 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +16 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +208 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +161 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +177 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +12 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +34 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +14 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +25 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +14 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +15 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +83 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +12 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +8 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +95 -0
- package/dist/node_modules/recharts/es6/util/types.js +355 -0
- package/dist/node_modules/recharts/node_modules/eventemitter3/index.js +111 -0
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.development.js +103 -0
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.production.min.js +81 -0
- package/dist/node_modules/recharts/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +125 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +31 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js +93 -0
- package/dist/node_modules/shallowequal/index.js +27 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +10 -0
- package/dist/node_modules/uncontrollable/lib/esm/hook.js +36 -0
- package/dist/node_modules/uncontrollable/lib/esm/utils.js +7 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +47 -0
- package/dist/node_modules/warning/warning.js +38 -0
- package/dist/styles/Currency.styles.d.ts +2 -0
- package/dist/styles/Currency.styles.d.ts.map +1 -0
- package/dist/styles/Currency.styles.js +11 -0
- package/dist/styles/Dropdown.styles.d.ts +41 -0
- package/dist/styles/Dropdown.styles.d.ts.map +1 -0
- package/dist/styles/Dropdown.styles.js +186 -0
- package/dist/styles/Input.styles.d.ts +2 -0
- package/dist/styles/Input.styles.d.ts.map +1 -0
- package/dist/styles/Input.styles.js +10 -0
- package/dist/styles/Scrollbar.styles.d.ts +2 -0
- package/dist/styles/Scrollbar.styles.d.ts.map +1 -0
- package/dist/styles/Scrollbar.styles.js +27 -0
- package/dist/styles/StatusFeedback.styles.d.ts +14 -0
- package/dist/styles/StatusFeedback.styles.d.ts.map +1 -0
- package/dist/styles/StatusFeedback.styles.js +61 -0
- package/dist/theme/colors.d.ts +474 -0
- package/dist/theme/colors.d.ts.map +1 -0
- package/dist/theme/colors.js +435 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/styled-components.d.ts +5 -0
- package/dist/theme/theme.d.ts +82 -0
- package/dist/theme/theme.d.ts.map +1 -0
- package/dist/theme/theme.js +113 -0
- package/dist/types/objects.types.d.ts +4 -0
- package/dist/types/objects.types.d.ts.map +1 -0
- package/eslint.config.js +53 -0
- package/package.json +114 -0
|
@@ -0,0 +1,1236 @@
|
|
|
1
|
+
import { is as r, useIsomorphicLayoutEffect as ue, useOnce as Xe, each as I, toArray as M, useForceUpdate as Ze, usePrev as we, eachProp as se, addFluidObserver as ve, flush as _e, deprecateDirectCall as St, flushCalls as ce, Globals as H, getFluidValue as z, hasFluidValue as W, isEqual as K, isAnimatedString as et, getFluidObservers as Qe, removeFluidObserver as tt, frameLoop as Oe, callFluidObservers as ye, FluidValue as It, deprecateInterpolate as wt, easings as At, noop as Ne, createStringInterpolator as Ct, createInterpolator as Rt } from "../../shared/dist/react-spring_shared.modern.js";
|
|
2
|
+
import * as fe from "react";
|
|
3
|
+
import { useMemo as le, useRef as te, useContext as it } from "react";
|
|
4
|
+
import { getAnimated as $, AnimatedValue as xt, getPayload as qe, AnimatedString as ze, getAnimatedType as Ae, setAnimated as st } from "../../animated/dist/react-spring_animated.modern.js";
|
|
5
|
+
import { raf as U } from "../../rafz/dist/react-spring_rafz.modern.js";
|
|
6
|
+
function E(e, ...t) {
|
|
7
|
+
return r.fun(e) ? e(...t) : e;
|
|
8
|
+
}
|
|
9
|
+
var he = (e, t) => e === !0 || !!(t && e && (r.fun(e) ? e(t) : M(e).includes(t))), nt = (e, t) => r.obj(e) ? t && e[t] : e, at = (e, t) => e.default === !0 ? e[t] : e.default ? e.default[t] : void 0, Tt = (e) => e, Pe = (e, t = Tt) => {
|
|
10
|
+
let i = Vt;
|
|
11
|
+
e.default && e.default !== !0 && (e = e.default, i = Object.keys(e));
|
|
12
|
+
const s = {};
|
|
13
|
+
for (const n of i) {
|
|
14
|
+
const a = t(e[n], n);
|
|
15
|
+
r.und(a) || (s[n] = a);
|
|
16
|
+
}
|
|
17
|
+
return s;
|
|
18
|
+
}, Vt = [
|
|
19
|
+
"config",
|
|
20
|
+
"onProps",
|
|
21
|
+
"onStart",
|
|
22
|
+
"onChange",
|
|
23
|
+
"onPause",
|
|
24
|
+
"onResume",
|
|
25
|
+
"onRest"
|
|
26
|
+
], Ft = {
|
|
27
|
+
config: 1,
|
|
28
|
+
from: 1,
|
|
29
|
+
to: 1,
|
|
30
|
+
ref: 1,
|
|
31
|
+
loop: 1,
|
|
32
|
+
reset: 1,
|
|
33
|
+
pause: 1,
|
|
34
|
+
cancel: 1,
|
|
35
|
+
reverse: 1,
|
|
36
|
+
immediate: 1,
|
|
37
|
+
default: 1,
|
|
38
|
+
delay: 1,
|
|
39
|
+
onProps: 1,
|
|
40
|
+
onStart: 1,
|
|
41
|
+
onChange: 1,
|
|
42
|
+
onPause: 1,
|
|
43
|
+
onResume: 1,
|
|
44
|
+
onRest: 1,
|
|
45
|
+
onResolve: 1,
|
|
46
|
+
// Transition props
|
|
47
|
+
items: 1,
|
|
48
|
+
trail: 1,
|
|
49
|
+
sort: 1,
|
|
50
|
+
expires: 1,
|
|
51
|
+
initial: 1,
|
|
52
|
+
enter: 1,
|
|
53
|
+
update: 1,
|
|
54
|
+
leave: 1,
|
|
55
|
+
children: 1,
|
|
56
|
+
onDestroyed: 1,
|
|
57
|
+
// Internal props
|
|
58
|
+
keys: 1,
|
|
59
|
+
callId: 1,
|
|
60
|
+
parentId: 1
|
|
61
|
+
};
|
|
62
|
+
function Et(e) {
|
|
63
|
+
const t = {};
|
|
64
|
+
let i = 0;
|
|
65
|
+
if (se(e, (s, n) => {
|
|
66
|
+
Ft[n] || (t[n] = s, i++);
|
|
67
|
+
}), i)
|
|
68
|
+
return t;
|
|
69
|
+
}
|
|
70
|
+
function je(e) {
|
|
71
|
+
const t = Et(e);
|
|
72
|
+
if (t) {
|
|
73
|
+
const i = { to: t };
|
|
74
|
+
return se(e, (s, n) => n in t || (i[n] = s)), i;
|
|
75
|
+
}
|
|
76
|
+
return { ...e };
|
|
77
|
+
}
|
|
78
|
+
function de(e) {
|
|
79
|
+
return e = z(e), r.arr(e) ? e.map(de) : et(e) ? H.createStringInterpolator({
|
|
80
|
+
range: [0, 1],
|
|
81
|
+
output: [e, e]
|
|
82
|
+
})(1) : e;
|
|
83
|
+
}
|
|
84
|
+
function rt(e) {
|
|
85
|
+
for (const t in e) return !0;
|
|
86
|
+
return !1;
|
|
87
|
+
}
|
|
88
|
+
function Ce(e) {
|
|
89
|
+
return r.fun(e) || r.arr(e) && r.obj(e[0]);
|
|
90
|
+
}
|
|
91
|
+
function Re(e, t) {
|
|
92
|
+
var i;
|
|
93
|
+
(i = e.ref) == null || i.delete(e), t == null || t.delete(e);
|
|
94
|
+
}
|
|
95
|
+
function ot(e, t) {
|
|
96
|
+
var i;
|
|
97
|
+
t && e.ref !== t && ((i = e.ref) == null || i.delete(e), t.add(e), e.ref = t);
|
|
98
|
+
}
|
|
99
|
+
var Mt = {
|
|
100
|
+
default: { tension: 170, friction: 26 }
|
|
101
|
+
}, xe = {
|
|
102
|
+
...Mt.default,
|
|
103
|
+
mass: 1,
|
|
104
|
+
damping: 1,
|
|
105
|
+
easing: At.linear,
|
|
106
|
+
clamp: !1
|
|
107
|
+
}, Ot = class {
|
|
108
|
+
constructor() {
|
|
109
|
+
this.velocity = 0, Object.assign(this, xe);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
function qt(e, t, i) {
|
|
113
|
+
i && (i = { ...i }, Be(i, t), t = { ...i, ...t }), Be(e, t), Object.assign(e, t);
|
|
114
|
+
for (const u in xe)
|
|
115
|
+
e[u] == null && (e[u] = xe[u]);
|
|
116
|
+
let { frequency: s, damping: n } = e;
|
|
117
|
+
const { mass: a } = e;
|
|
118
|
+
return r.und(s) || (s < 0.01 && (s = 0.01), n < 0 && (n = 0), e.tension = Math.pow(2 * Math.PI / s, 2) * a, e.friction = 4 * Math.PI * n * a / s), e;
|
|
119
|
+
}
|
|
120
|
+
function Be(e, t) {
|
|
121
|
+
if (!r.und(t.decay))
|
|
122
|
+
e.duration = void 0;
|
|
123
|
+
else {
|
|
124
|
+
const i = !r.und(t.tension) || !r.und(t.friction);
|
|
125
|
+
(i || !r.und(t.frequency) || !r.und(t.damping) || !r.und(t.mass)) && (e.duration = void 0, e.decay = void 0), i && (e.frequency = void 0);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
var Le = [], jt = class {
|
|
129
|
+
constructor() {
|
|
130
|
+
this.changed = !1, this.values = Le, this.toValues = null, this.fromValues = Le, this.config = new Ot(), this.immediate = !1;
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
function ut(e, { key: t, props: i, defaultProps: s, state: n, actions: a }) {
|
|
134
|
+
return new Promise((u, o) => {
|
|
135
|
+
let p, f, S = he(i.cancel ?? (s == null ? void 0 : s.cancel), t);
|
|
136
|
+
if (S)
|
|
137
|
+
y();
|
|
138
|
+
else {
|
|
139
|
+
r.und(i.pause) || (n.paused = he(i.pause, t));
|
|
140
|
+
let _ = s == null ? void 0 : s.pause;
|
|
141
|
+
_ !== !0 && (_ = n.paused || he(_, t)), p = E(i.delay || 0, t), _ ? (n.resumeQueue.add(P), a.pause()) : (a.resume(), P());
|
|
142
|
+
}
|
|
143
|
+
function l() {
|
|
144
|
+
n.resumeQueue.add(P), n.timeouts.delete(f), f.cancel(), p = f.time - U.now();
|
|
145
|
+
}
|
|
146
|
+
function P() {
|
|
147
|
+
p > 0 && !H.skipAnimation ? (n.delayed = !0, f = U.setTimeout(y, p), n.pauseQueue.add(l), n.timeouts.add(f)) : y();
|
|
148
|
+
}
|
|
149
|
+
function y() {
|
|
150
|
+
n.delayed && (n.delayed = !1), n.pauseQueue.delete(l), n.timeouts.delete(f), e <= (n.cancelId || 0) && (S = !0);
|
|
151
|
+
try {
|
|
152
|
+
a.start({ ...i, callId: e, cancel: S }, u);
|
|
153
|
+
} catch (_) {
|
|
154
|
+
o(_);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
var ke = (e, t) => t.length == 1 ? t[0] : t.some((i) => i.cancelled) ? ie(e.get()) : t.every((i) => i.noop) ? ct(e.get()) : D(
|
|
160
|
+
e.get(),
|
|
161
|
+
t.every((i) => i.finished)
|
|
162
|
+
), ct = (e) => ({
|
|
163
|
+
value: e,
|
|
164
|
+
noop: !0,
|
|
165
|
+
finished: !0,
|
|
166
|
+
cancelled: !1
|
|
167
|
+
}), D = (e, t, i = !1) => ({
|
|
168
|
+
value: e,
|
|
169
|
+
finished: t,
|
|
170
|
+
cancelled: i
|
|
171
|
+
}), ie = (e) => ({
|
|
172
|
+
value: e,
|
|
173
|
+
cancelled: !0,
|
|
174
|
+
finished: !1
|
|
175
|
+
});
|
|
176
|
+
function ft(e, t, i, s) {
|
|
177
|
+
const { callId: n, parentId: a, onRest: u } = t, { asyncTo: o, promise: p } = i;
|
|
178
|
+
return !a && e === o && !t.reset ? p : i.promise = (async () => {
|
|
179
|
+
i.asyncId = n, i.asyncTo = e;
|
|
180
|
+
const f = Pe(
|
|
181
|
+
t,
|
|
182
|
+
(m, c) => (
|
|
183
|
+
// The `onRest` prop is only called when the `runAsync` promise is resolved.
|
|
184
|
+
c === "onRest" ? void 0 : m
|
|
185
|
+
)
|
|
186
|
+
);
|
|
187
|
+
let S, l;
|
|
188
|
+
const P = new Promise(
|
|
189
|
+
(m, c) => (S = m, l = c)
|
|
190
|
+
), y = (m) => {
|
|
191
|
+
const c = (
|
|
192
|
+
// The `cancel` prop or `stop` method was used.
|
|
193
|
+
n <= (i.cancelId || 0) && ie(s) || // The async `to` prop was replaced.
|
|
194
|
+
n !== i.asyncId && D(s, !1)
|
|
195
|
+
);
|
|
196
|
+
if (c)
|
|
197
|
+
throw m.result = c, l(m), m;
|
|
198
|
+
}, _ = (m, c) => {
|
|
199
|
+
const v = new Ge(), h = new Ke();
|
|
200
|
+
return (async () => {
|
|
201
|
+
if (H.skipAnimation)
|
|
202
|
+
throw me(i), h.result = D(s, !1), l(h), h;
|
|
203
|
+
y(v);
|
|
204
|
+
const w = r.obj(m) ? { ...m } : { ...c, to: m };
|
|
205
|
+
w.parentId = n, se(f, (Q, R) => {
|
|
206
|
+
r.und(w[R]) && (w[R] = Q);
|
|
207
|
+
});
|
|
208
|
+
const C = await s.start(w);
|
|
209
|
+
return y(v), i.paused && await new Promise((Q) => {
|
|
210
|
+
i.resumeQueue.add(Q);
|
|
211
|
+
}), C;
|
|
212
|
+
})();
|
|
213
|
+
};
|
|
214
|
+
let d;
|
|
215
|
+
if (H.skipAnimation)
|
|
216
|
+
return me(i), D(s, !1);
|
|
217
|
+
try {
|
|
218
|
+
let m;
|
|
219
|
+
r.arr(e) ? m = (async (c) => {
|
|
220
|
+
for (const v of c)
|
|
221
|
+
await _(v);
|
|
222
|
+
})(e) : m = Promise.resolve(e(_, s.stop.bind(s))), await Promise.all([m.then(S), P]), d = D(s.get(), !0, !1);
|
|
223
|
+
} catch (m) {
|
|
224
|
+
if (m instanceof Ge)
|
|
225
|
+
d = m.result;
|
|
226
|
+
else if (m instanceof Ke)
|
|
227
|
+
d = m.result;
|
|
228
|
+
else
|
|
229
|
+
throw m;
|
|
230
|
+
} finally {
|
|
231
|
+
n == i.asyncId && (i.asyncId = a, i.asyncTo = a ? o : void 0, i.promise = a ? p : void 0);
|
|
232
|
+
}
|
|
233
|
+
return r.fun(u) && U.batchedUpdates(() => {
|
|
234
|
+
u(d, s, s.item);
|
|
235
|
+
}), d;
|
|
236
|
+
})();
|
|
237
|
+
}
|
|
238
|
+
function me(e, t) {
|
|
239
|
+
_e(e.timeouts, (i) => i.cancel()), e.pauseQueue.clear(), e.resumeQueue.clear(), e.asyncId = e.asyncTo = e.promise = void 0, t && (e.cancelId = t);
|
|
240
|
+
}
|
|
241
|
+
var Ge = class extends Error {
|
|
242
|
+
constructor() {
|
|
243
|
+
super(
|
|
244
|
+
"An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."
|
|
245
|
+
);
|
|
246
|
+
}
|
|
247
|
+
}, Ke = class extends Error {
|
|
248
|
+
constructor() {
|
|
249
|
+
super("SkipAnimationSignal");
|
|
250
|
+
}
|
|
251
|
+
}, Te = (e) => e instanceof De, kt = 1, De = class extends It {
|
|
252
|
+
constructor() {
|
|
253
|
+
super(...arguments), this.id = kt++, this._priority = 0;
|
|
254
|
+
}
|
|
255
|
+
get priority() {
|
|
256
|
+
return this._priority;
|
|
257
|
+
}
|
|
258
|
+
set priority(e) {
|
|
259
|
+
this._priority != e && (this._priority = e, this._onPriorityChange(e));
|
|
260
|
+
}
|
|
261
|
+
/** Get the current value */
|
|
262
|
+
get() {
|
|
263
|
+
const e = $(this);
|
|
264
|
+
return e && e.getValue();
|
|
265
|
+
}
|
|
266
|
+
/** Create a spring that maps our value to another value */
|
|
267
|
+
to(...e) {
|
|
268
|
+
return H.to(this, e);
|
|
269
|
+
}
|
|
270
|
+
/** @deprecated Use the `to` method instead. */
|
|
271
|
+
interpolate(...e) {
|
|
272
|
+
return wt(), H.to(this, e);
|
|
273
|
+
}
|
|
274
|
+
toJSON() {
|
|
275
|
+
return this.get();
|
|
276
|
+
}
|
|
277
|
+
observerAdded(e) {
|
|
278
|
+
e == 1 && this._attach();
|
|
279
|
+
}
|
|
280
|
+
observerRemoved(e) {
|
|
281
|
+
e == 0 && this._detach();
|
|
282
|
+
}
|
|
283
|
+
/** Called when the first child is added. */
|
|
284
|
+
_attach() {
|
|
285
|
+
}
|
|
286
|
+
/** Called when the last child is removed. */
|
|
287
|
+
_detach() {
|
|
288
|
+
}
|
|
289
|
+
/** Tell our children about our new value */
|
|
290
|
+
_onChange(e, t = !1) {
|
|
291
|
+
ye(this, {
|
|
292
|
+
type: "change",
|
|
293
|
+
parent: this,
|
|
294
|
+
value: e,
|
|
295
|
+
idle: t
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
/** Tell our children about our new priority */
|
|
299
|
+
_onPriorityChange(e) {
|
|
300
|
+
this.idle || Oe.sort(this), ye(this, {
|
|
301
|
+
type: "priority",
|
|
302
|
+
parent: this,
|
|
303
|
+
priority: e
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
}, Z = Symbol.for("SpringPhase"), lt = 1, Ve = 2, Fe = 4, Se = (e) => (e[Z] & lt) > 0, Y = (e) => (e[Z] & Ve) > 0, ae = (e) => (e[Z] & Fe) > 0, $e = (e, t) => t ? e[Z] |= Ve | lt : e[Z] &= ~Ve, He = (e, t) => t ? e[Z] |= Fe : e[Z] &= ~Fe, Dt = class extends De {
|
|
307
|
+
constructor(e, t) {
|
|
308
|
+
if (super(), this.animation = new jt(), this.defaultProps = {}, this._state = {
|
|
309
|
+
paused: !1,
|
|
310
|
+
delayed: !1,
|
|
311
|
+
pauseQueue: /* @__PURE__ */ new Set(),
|
|
312
|
+
resumeQueue: /* @__PURE__ */ new Set(),
|
|
313
|
+
timeouts: /* @__PURE__ */ new Set()
|
|
314
|
+
}, this._pendingCalls = /* @__PURE__ */ new Set(), this._lastCallId = 0, this._lastToId = 0, this._memoizedDuration = 0, !r.und(e) || !r.und(t)) {
|
|
315
|
+
const i = r.obj(e) ? { ...e } : { ...t, from: e };
|
|
316
|
+
r.und(i.default) && (i.default = !0), this.start(i);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
/** Equals true when not advancing on each frame. */
|
|
320
|
+
get idle() {
|
|
321
|
+
return !(Y(this) || this._state.asyncTo) || ae(this);
|
|
322
|
+
}
|
|
323
|
+
get goal() {
|
|
324
|
+
return z(this.animation.to);
|
|
325
|
+
}
|
|
326
|
+
get velocity() {
|
|
327
|
+
const e = $(this);
|
|
328
|
+
return e instanceof xt ? e.lastVelocity || 0 : e.getPayload().map((t) => t.lastVelocity || 0);
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* When true, this value has been animated at least once.
|
|
332
|
+
*/
|
|
333
|
+
get hasAnimated() {
|
|
334
|
+
return Se(this);
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* When true, this value has an unfinished animation,
|
|
338
|
+
* which is either active or paused.
|
|
339
|
+
*/
|
|
340
|
+
get isAnimating() {
|
|
341
|
+
return Y(this);
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* When true, all current and future animations are paused.
|
|
345
|
+
*/
|
|
346
|
+
get isPaused() {
|
|
347
|
+
return ae(this);
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
*
|
|
352
|
+
*/
|
|
353
|
+
get isDelayed() {
|
|
354
|
+
return this._state.delayed;
|
|
355
|
+
}
|
|
356
|
+
/** Advance the current animation by a number of milliseconds */
|
|
357
|
+
advance(e) {
|
|
358
|
+
let t = !0, i = !1;
|
|
359
|
+
const s = this.animation;
|
|
360
|
+
let { toValues: n } = s;
|
|
361
|
+
const { config: a } = s, u = qe(s.to);
|
|
362
|
+
!u && W(s.to) && (n = M(z(s.to))), s.values.forEach((f, S) => {
|
|
363
|
+
if (f.done) return;
|
|
364
|
+
const l = (
|
|
365
|
+
// Animated strings always go from 0 to 1.
|
|
366
|
+
f.constructor == ze ? 1 : u ? u[S].lastPosition : n[S]
|
|
367
|
+
);
|
|
368
|
+
let P = s.immediate, y = l;
|
|
369
|
+
if (!P) {
|
|
370
|
+
if (y = f.lastPosition, a.tension <= 0) {
|
|
371
|
+
f.done = !0;
|
|
372
|
+
return;
|
|
373
|
+
}
|
|
374
|
+
let _ = f.elapsedTime += e;
|
|
375
|
+
const d = s.fromValues[S], m = f.v0 != null ? f.v0 : f.v0 = r.arr(a.velocity) ? a.velocity[S] : a.velocity;
|
|
376
|
+
let c;
|
|
377
|
+
const v = a.precision || (d == l ? 5e-3 : Math.min(1, Math.abs(l - d) * 1e-3));
|
|
378
|
+
if (r.und(a.duration))
|
|
379
|
+
if (a.decay) {
|
|
380
|
+
const h = a.decay === !0 ? 0.998 : a.decay, w = Math.exp(-(1 - h) * _);
|
|
381
|
+
y = d + m / (1 - h) * (1 - w), P = Math.abs(f.lastPosition - y) <= v, c = m * w;
|
|
382
|
+
} else {
|
|
383
|
+
c = f.lastVelocity == null ? m : f.lastVelocity;
|
|
384
|
+
const h = a.restVelocity || v / 10, w = a.clamp ? 0 : a.bounce, C = !r.und(w), Q = d == l ? f.v0 > 0 : d < l;
|
|
385
|
+
let R, N = !1;
|
|
386
|
+
const x = 1, q = Math.ceil(e / x);
|
|
387
|
+
for (let O = 0; O < q && (R = Math.abs(c) > h, !(!R && (P = Math.abs(l - y) <= v, P))); ++O) {
|
|
388
|
+
C && (N = y == l || y > l == Q, N && (c = -c * w, y = l));
|
|
389
|
+
const B = -a.tension * 1e-6 * (y - l), L = -a.friction * 1e-3 * c, g = (B + L) / a.mass;
|
|
390
|
+
c = c + g * x, y = y + c * x;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
else {
|
|
394
|
+
let h = 1;
|
|
395
|
+
a.duration > 0 && (this._memoizedDuration !== a.duration && (this._memoizedDuration = a.duration, f.durationProgress > 0 && (f.elapsedTime = a.duration * f.durationProgress, _ = f.elapsedTime += e)), h = (a.progress || 0) + _ / this._memoizedDuration, h = h > 1 ? 1 : h < 0 ? 0 : h, f.durationProgress = h), y = d + a.easing(h) * (l - d), c = (y - f.lastPosition) / e, P = h == 1;
|
|
396
|
+
}
|
|
397
|
+
f.lastVelocity = c, Number.isNaN(y) && (console.warn("Got NaN while animating:", this), P = !0);
|
|
398
|
+
}
|
|
399
|
+
u && !u[S].done && (P = !1), P ? f.done = !0 : t = !1, f.setValue(y, a.round) && (i = !0);
|
|
400
|
+
});
|
|
401
|
+
const o = $(this), p = o.getValue();
|
|
402
|
+
if (t) {
|
|
403
|
+
const f = z(s.to);
|
|
404
|
+
(p !== f || i) && !a.decay ? (o.setValue(f), this._onChange(f)) : i && a.decay && this._onChange(p), this._stop();
|
|
405
|
+
} else i && this._onChange(p);
|
|
406
|
+
}
|
|
407
|
+
/** Set the current value, while stopping the current animation */
|
|
408
|
+
set(e) {
|
|
409
|
+
return U.batchedUpdates(() => {
|
|
410
|
+
this._stop(), this._focus(e), this._set(e);
|
|
411
|
+
}), this;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Freeze the active animation in time, as well as any updates merged
|
|
415
|
+
* before `resume` is called.
|
|
416
|
+
*/
|
|
417
|
+
pause() {
|
|
418
|
+
this._update({ pause: !0 });
|
|
419
|
+
}
|
|
420
|
+
/** Resume the animation if paused. */
|
|
421
|
+
resume() {
|
|
422
|
+
this._update({ pause: !1 });
|
|
423
|
+
}
|
|
424
|
+
/** Skip to the end of the current animation. */
|
|
425
|
+
finish() {
|
|
426
|
+
if (Y(this)) {
|
|
427
|
+
const { to: e, config: t } = this.animation;
|
|
428
|
+
U.batchedUpdates(() => {
|
|
429
|
+
this._onStart(), t.decay || this._set(e, !1), this._stop();
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
return this;
|
|
433
|
+
}
|
|
434
|
+
/** Push props into the pending queue. */
|
|
435
|
+
update(e) {
|
|
436
|
+
return (this.queue || (this.queue = [])).push(e), this;
|
|
437
|
+
}
|
|
438
|
+
start(e, t) {
|
|
439
|
+
let i;
|
|
440
|
+
return r.und(e) ? (i = this.queue || [], this.queue = []) : i = [r.obj(e) ? e : { ...t, to: e }], Promise.all(
|
|
441
|
+
i.map((s) => this._update(s))
|
|
442
|
+
).then((s) => ke(this, s));
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Stop the current animation, and cancel any delayed updates.
|
|
446
|
+
*
|
|
447
|
+
* Pass `true` to call `onRest` with `cancelled: true`.
|
|
448
|
+
*/
|
|
449
|
+
stop(e) {
|
|
450
|
+
const { to: t } = this.animation;
|
|
451
|
+
return this._focus(this.get()), me(this._state, e && this._lastCallId), U.batchedUpdates(() => this._stop(t, e)), this;
|
|
452
|
+
}
|
|
453
|
+
/** Restart the animation. */
|
|
454
|
+
reset() {
|
|
455
|
+
this._update({ reset: !0 });
|
|
456
|
+
}
|
|
457
|
+
/** @internal */
|
|
458
|
+
eventObserved(e) {
|
|
459
|
+
e.type == "change" ? this._start() : e.type == "priority" && (this.priority = e.priority + 1);
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Parse the `to` and `from` range from the given `props` object.
|
|
463
|
+
*
|
|
464
|
+
* This also ensures the initial value is available to animated components
|
|
465
|
+
* during the render phase.
|
|
466
|
+
*/
|
|
467
|
+
_prepareNode(e) {
|
|
468
|
+
const t = this.key || "";
|
|
469
|
+
let { to: i, from: s } = e;
|
|
470
|
+
i = r.obj(i) ? i[t] : i, (i == null || Ce(i)) && (i = void 0), s = r.obj(s) ? s[t] : s, s == null && (s = void 0);
|
|
471
|
+
const n = { to: i, from: s };
|
|
472
|
+
return Se(this) || (e.reverse && ([i, s] = [s, i]), s = z(s), r.und(s) ? $(this) || this._set(i) : this._set(s)), n;
|
|
473
|
+
}
|
|
474
|
+
/** Every update is processed by this method before merging. */
|
|
475
|
+
_update({ ...e }, t) {
|
|
476
|
+
const { key: i, defaultProps: s } = this;
|
|
477
|
+
e.default && Object.assign(
|
|
478
|
+
s,
|
|
479
|
+
Pe(
|
|
480
|
+
e,
|
|
481
|
+
(u, o) => /^on/.test(o) ? nt(u, i) : u
|
|
482
|
+
)
|
|
483
|
+
), Ye(this, e, "onProps"), oe(this, "onProps", e, this);
|
|
484
|
+
const n = this._prepareNode(e);
|
|
485
|
+
if (Object.isFrozen(this))
|
|
486
|
+
throw Error(
|
|
487
|
+
"Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?"
|
|
488
|
+
);
|
|
489
|
+
const a = this._state;
|
|
490
|
+
return ut(++this._lastCallId, {
|
|
491
|
+
key: i,
|
|
492
|
+
props: e,
|
|
493
|
+
defaultProps: s,
|
|
494
|
+
state: a,
|
|
495
|
+
actions: {
|
|
496
|
+
pause: () => {
|
|
497
|
+
ae(this) || (He(this, !0), ce(a.pauseQueue), oe(
|
|
498
|
+
this,
|
|
499
|
+
"onPause",
|
|
500
|
+
D(this, re(this, this.animation.to)),
|
|
501
|
+
this
|
|
502
|
+
));
|
|
503
|
+
},
|
|
504
|
+
resume: () => {
|
|
505
|
+
ae(this) && (He(this, !1), Y(this) && this._resume(), ce(a.resumeQueue), oe(
|
|
506
|
+
this,
|
|
507
|
+
"onResume",
|
|
508
|
+
D(this, re(this, this.animation.to)),
|
|
509
|
+
this
|
|
510
|
+
));
|
|
511
|
+
},
|
|
512
|
+
start: this._merge.bind(this, n)
|
|
513
|
+
}
|
|
514
|
+
}).then((u) => {
|
|
515
|
+
if (e.loop && u.finished && !(t && u.noop)) {
|
|
516
|
+
const o = ht(e);
|
|
517
|
+
if (o)
|
|
518
|
+
return this._update(o, !0);
|
|
519
|
+
}
|
|
520
|
+
return u;
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
/** Merge props into the current animation */
|
|
524
|
+
_merge(e, t, i) {
|
|
525
|
+
if (t.cancel)
|
|
526
|
+
return this.stop(!0), i(ie(this));
|
|
527
|
+
const s = !r.und(e.to), n = !r.und(e.from);
|
|
528
|
+
if (s || n)
|
|
529
|
+
if (t.callId > this._lastToId)
|
|
530
|
+
this._lastToId = t.callId;
|
|
531
|
+
else
|
|
532
|
+
return i(ie(this));
|
|
533
|
+
const { key: a, defaultProps: u, animation: o } = this, { to: p, from: f } = o;
|
|
534
|
+
let { to: S = p, from: l = f } = e;
|
|
535
|
+
n && !s && (!t.default || r.und(S)) && (S = l), t.reverse && ([S, l] = [l, S]);
|
|
536
|
+
const P = !K(l, f);
|
|
537
|
+
P && (o.from = l), l = z(l);
|
|
538
|
+
const y = !K(S, p);
|
|
539
|
+
y && this._focus(S);
|
|
540
|
+
const _ = Ce(t.to), { config: d } = o, { decay: m, velocity: c } = d;
|
|
541
|
+
(s || n) && (d.velocity = 0), t.config && !_ && qt(
|
|
542
|
+
d,
|
|
543
|
+
E(t.config, a),
|
|
544
|
+
// Avoid calling the same "config" prop twice.
|
|
545
|
+
t.config !== u.config ? E(u.config, a) : void 0
|
|
546
|
+
);
|
|
547
|
+
let v = $(this);
|
|
548
|
+
if (!v || r.und(S))
|
|
549
|
+
return i(D(this, !0));
|
|
550
|
+
const h = (
|
|
551
|
+
// When `reset` is undefined, the `from` prop implies `reset: true`,
|
|
552
|
+
// except for declarative updates. When `reset` is defined, there
|
|
553
|
+
// must exist a value to animate from.
|
|
554
|
+
r.und(t.reset) ? n && !t.default : !r.und(l) && he(t.reset, a)
|
|
555
|
+
), w = h ? l : this.get(), C = de(S), Q = r.num(C) || r.arr(C) || et(C), R = !_ && (!Q || he(u.immediate || t.immediate, a));
|
|
556
|
+
if (y) {
|
|
557
|
+
const O = Ae(S);
|
|
558
|
+
if (O !== v.constructor)
|
|
559
|
+
if (R)
|
|
560
|
+
v = this._set(C);
|
|
561
|
+
else
|
|
562
|
+
throw Error(
|
|
563
|
+
`Cannot animate between ${v.constructor.name} and ${O.name}, as the "to" prop suggests`
|
|
564
|
+
);
|
|
565
|
+
}
|
|
566
|
+
const N = v.constructor;
|
|
567
|
+
let x = W(S), q = !1;
|
|
568
|
+
if (!x) {
|
|
569
|
+
const O = h || !Se(this) && P;
|
|
570
|
+
(y || O) && (q = K(de(w), C), x = !q), (!K(o.immediate, R) && !R || !K(d.decay, m) || !K(d.velocity, c)) && (x = !0);
|
|
571
|
+
}
|
|
572
|
+
if (q && Y(this) && (o.changed && !h ? x = !0 : x || this._stop(p)), !_ && ((x || W(p)) && (o.values = v.getPayload(), o.toValues = W(S) ? null : N == ze ? [1] : M(C)), o.immediate != R && (o.immediate = R, !R && !h && this._set(p)), x)) {
|
|
573
|
+
const { onRest: O } = o;
|
|
574
|
+
I(Qt, (L) => Ye(this, t, L));
|
|
575
|
+
const B = D(this, re(this, p));
|
|
576
|
+
ce(this._pendingCalls, B), this._pendingCalls.add(i), o.changed && U.batchedUpdates(() => {
|
|
577
|
+
var L;
|
|
578
|
+
o.changed = !h, O == null || O(B, this), h ? E(u.onRest, B) : (L = o.onStart) == null || L.call(o, B, this);
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
h && this._set(w), _ ? i(ft(t.to, t, this._state, this)) : x ? this._start() : Y(this) && !y ? this._pendingCalls.add(i) : i(ct(w));
|
|
582
|
+
}
|
|
583
|
+
/** Update the `animation.to` value, which might be a `FluidValue` */
|
|
584
|
+
_focus(e) {
|
|
585
|
+
const t = this.animation;
|
|
586
|
+
e !== t.to && (Qe(this) && this._detach(), t.to = e, Qe(this) && this._attach());
|
|
587
|
+
}
|
|
588
|
+
_attach() {
|
|
589
|
+
let e = 0;
|
|
590
|
+
const { to: t } = this.animation;
|
|
591
|
+
W(t) && (ve(t, this), Te(t) && (e = t.priority + 1)), this.priority = e;
|
|
592
|
+
}
|
|
593
|
+
_detach() {
|
|
594
|
+
const { to: e } = this.animation;
|
|
595
|
+
W(e) && tt(e, this);
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* Update the current value from outside the frameloop,
|
|
599
|
+
* and return the `Animated` node.
|
|
600
|
+
*/
|
|
601
|
+
_set(e, t = !0) {
|
|
602
|
+
const i = z(e);
|
|
603
|
+
if (!r.und(i)) {
|
|
604
|
+
const s = $(this);
|
|
605
|
+
if (!s || !K(i, s.getValue())) {
|
|
606
|
+
const n = Ae(i);
|
|
607
|
+
!s || s.constructor != n ? st(this, n.create(i)) : s.setValue(i), s && U.batchedUpdates(() => {
|
|
608
|
+
this._onChange(i, t);
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
return $(this);
|
|
613
|
+
}
|
|
614
|
+
_onStart() {
|
|
615
|
+
const e = this.animation;
|
|
616
|
+
e.changed || (e.changed = !0, oe(
|
|
617
|
+
this,
|
|
618
|
+
"onStart",
|
|
619
|
+
D(this, re(this, e.to)),
|
|
620
|
+
this
|
|
621
|
+
));
|
|
622
|
+
}
|
|
623
|
+
_onChange(e, t) {
|
|
624
|
+
t || (this._onStart(), E(this.animation.onChange, e, this)), E(this.defaultProps.onChange, e, this), super._onChange(e, t);
|
|
625
|
+
}
|
|
626
|
+
// This method resets the animation state (even if already animating) to
|
|
627
|
+
// ensure the latest from/to range is used, and it also ensures this spring
|
|
628
|
+
// is added to the frameloop.
|
|
629
|
+
_start() {
|
|
630
|
+
const e = this.animation;
|
|
631
|
+
$(this).reset(z(e.to)), e.immediate || (e.fromValues = e.values.map((t) => t.lastPosition)), Y(this) || ($e(this, !0), ae(this) || this._resume());
|
|
632
|
+
}
|
|
633
|
+
_resume() {
|
|
634
|
+
H.skipAnimation ? this.finish() : Oe.start(this);
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* Exit the frameloop and notify `onRest` listeners.
|
|
638
|
+
*
|
|
639
|
+
* Always wrap `_stop` calls with `batchedUpdates`.
|
|
640
|
+
*/
|
|
641
|
+
_stop(e, t) {
|
|
642
|
+
if (Y(this)) {
|
|
643
|
+
$e(this, !1);
|
|
644
|
+
const i = this.animation;
|
|
645
|
+
I(i.values, (n) => {
|
|
646
|
+
n.done = !0;
|
|
647
|
+
}), i.toValues && (i.onChange = i.onPause = i.onResume = void 0), ye(this, {
|
|
648
|
+
type: "idle",
|
|
649
|
+
parent: this
|
|
650
|
+
});
|
|
651
|
+
const s = t ? ie(this.get()) : D(this.get(), re(this, e ?? i.to));
|
|
652
|
+
ce(this._pendingCalls, s), i.changed && (i.changed = !1, oe(this, "onRest", s, this));
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
};
|
|
656
|
+
function re(e, t) {
|
|
657
|
+
const i = de(t), s = de(e.get());
|
|
658
|
+
return K(s, i);
|
|
659
|
+
}
|
|
660
|
+
function ht(e, t = e.loop, i = e.to) {
|
|
661
|
+
const s = E(t);
|
|
662
|
+
if (s) {
|
|
663
|
+
const n = s !== !0 && je(s), a = (n || e).reverse, u = !n || n.reset;
|
|
664
|
+
return ge({
|
|
665
|
+
...e,
|
|
666
|
+
loop: t,
|
|
667
|
+
// Avoid updating default props when looping.
|
|
668
|
+
default: !1,
|
|
669
|
+
// Never loop the `pause` prop.
|
|
670
|
+
pause: void 0,
|
|
671
|
+
// For the "reverse" prop to loop as expected, the "to" prop
|
|
672
|
+
// must be undefined. The "reverse" prop is ignored when the
|
|
673
|
+
// "to" prop is an array or function.
|
|
674
|
+
to: !a || Ce(i) ? i : void 0,
|
|
675
|
+
// Ignore the "from" prop except on reset.
|
|
676
|
+
from: u ? e.from : void 0,
|
|
677
|
+
reset: u,
|
|
678
|
+
// The "loop" prop can return a "useSpring" props object to
|
|
679
|
+
// override any of the original props.
|
|
680
|
+
...n
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
function ge(e) {
|
|
685
|
+
const { to: t, from: i } = e = je(e), s = /* @__PURE__ */ new Set();
|
|
686
|
+
return r.obj(t) && Je(t, s), r.obj(i) && Je(i, s), e.keys = s.size ? Array.from(s) : null, e;
|
|
687
|
+
}
|
|
688
|
+
function Ut(e) {
|
|
689
|
+
const t = ge(e);
|
|
690
|
+
return r.und(t.default) && (t.default = Pe(t)), t;
|
|
691
|
+
}
|
|
692
|
+
function Je(e, t) {
|
|
693
|
+
se(e, (i, s) => i != null && t.add(s));
|
|
694
|
+
}
|
|
695
|
+
var Qt = [
|
|
696
|
+
"onStart",
|
|
697
|
+
"onRest",
|
|
698
|
+
"onChange",
|
|
699
|
+
"onPause",
|
|
700
|
+
"onResume"
|
|
701
|
+
];
|
|
702
|
+
function Ye(e, t, i) {
|
|
703
|
+
e.animation[i] = t[i] !== at(t, i) ? nt(t[i], e.key) : void 0;
|
|
704
|
+
}
|
|
705
|
+
function oe(e, t, ...i) {
|
|
706
|
+
var s, n, a, u;
|
|
707
|
+
(n = (s = e.animation)[t]) == null || n.call(s, ...i), (u = (a = e.defaultProps)[t]) == null || u.call(a, ...i);
|
|
708
|
+
}
|
|
709
|
+
var Nt = ["onStart", "onChange", "onRest"], zt = 1, dt = class {
|
|
710
|
+
constructor(e, t) {
|
|
711
|
+
this.id = zt++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
|
|
712
|
+
paused: !1,
|
|
713
|
+
pauseQueue: /* @__PURE__ */ new Set(),
|
|
714
|
+
resumeQueue: /* @__PURE__ */ new Set(),
|
|
715
|
+
timeouts: /* @__PURE__ */ new Set()
|
|
716
|
+
}, this._events = {
|
|
717
|
+
onStart: /* @__PURE__ */ new Map(),
|
|
718
|
+
onChange: /* @__PURE__ */ new Map(),
|
|
719
|
+
onRest: /* @__PURE__ */ new Map()
|
|
720
|
+
}, this._onFrame = this._onFrame.bind(this), t && (this._flush = t), e && this.start({ default: !0, ...e });
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Equals `true` when no spring values are in the frameloop, and
|
|
724
|
+
* no async animation is currently active.
|
|
725
|
+
*/
|
|
726
|
+
get idle() {
|
|
727
|
+
return !this._state.asyncTo && Object.values(this.springs).every((e) => e.idle && !e.isDelayed && !e.isPaused);
|
|
728
|
+
}
|
|
729
|
+
get item() {
|
|
730
|
+
return this._item;
|
|
731
|
+
}
|
|
732
|
+
set item(e) {
|
|
733
|
+
this._item = e;
|
|
734
|
+
}
|
|
735
|
+
/** Get the current values of our springs */
|
|
736
|
+
get() {
|
|
737
|
+
const e = {};
|
|
738
|
+
return this.each((t, i) => e[i] = t.get()), e;
|
|
739
|
+
}
|
|
740
|
+
/** Set the current values without animating. */
|
|
741
|
+
set(e) {
|
|
742
|
+
for (const t in e) {
|
|
743
|
+
const i = e[t];
|
|
744
|
+
r.und(i) || this.springs[t].set(i);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
/** Push an update onto the queue of each value. */
|
|
748
|
+
update(e) {
|
|
749
|
+
return e && this.queue.push(ge(e)), this;
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* Start the queued animations for every spring, and resolve the returned
|
|
753
|
+
* promise once all queued animations have finished or been cancelled.
|
|
754
|
+
*
|
|
755
|
+
* When you pass a queue (instead of nothing), that queue is used instead of
|
|
756
|
+
* the queued animations added with the `update` method, which are left alone.
|
|
757
|
+
*/
|
|
758
|
+
start(e) {
|
|
759
|
+
let { queue: t } = this;
|
|
760
|
+
return e ? t = M(e).map(ge) : this.queue = [], this._flush ? this._flush(this, t) : (yt(this, t), Ee(this, t));
|
|
761
|
+
}
|
|
762
|
+
/** @internal */
|
|
763
|
+
stop(e, t) {
|
|
764
|
+
if (e !== !!e && (t = e), t) {
|
|
765
|
+
const i = this.springs;
|
|
766
|
+
I(M(t), (s) => i[s].stop(!!e));
|
|
767
|
+
} else
|
|
768
|
+
me(this._state, this._lastAsyncId), this.each((i) => i.stop(!!e));
|
|
769
|
+
return this;
|
|
770
|
+
}
|
|
771
|
+
/** Freeze the active animation in time */
|
|
772
|
+
pause(e) {
|
|
773
|
+
if (r.und(e))
|
|
774
|
+
this.start({ pause: !0 });
|
|
775
|
+
else {
|
|
776
|
+
const t = this.springs;
|
|
777
|
+
I(M(e), (i) => t[i].pause());
|
|
778
|
+
}
|
|
779
|
+
return this;
|
|
780
|
+
}
|
|
781
|
+
/** Resume the animation if paused. */
|
|
782
|
+
resume(e) {
|
|
783
|
+
if (r.und(e))
|
|
784
|
+
this.start({ pause: !1 });
|
|
785
|
+
else {
|
|
786
|
+
const t = this.springs;
|
|
787
|
+
I(M(e), (i) => t[i].resume());
|
|
788
|
+
}
|
|
789
|
+
return this;
|
|
790
|
+
}
|
|
791
|
+
/** Call a function once per spring value */
|
|
792
|
+
each(e) {
|
|
793
|
+
se(this.springs, e);
|
|
794
|
+
}
|
|
795
|
+
/** @internal Called at the end of every animation frame */
|
|
796
|
+
_onFrame() {
|
|
797
|
+
const { onStart: e, onChange: t, onRest: i } = this._events, s = this._active.size > 0, n = this._changed.size > 0;
|
|
798
|
+
(s && !this._started || n && !this._started) && (this._started = !0, _e(e, ([o, p]) => {
|
|
799
|
+
p.value = this.get(), o(p, this, this._item);
|
|
800
|
+
}));
|
|
801
|
+
const a = !s && this._started, u = n || a && i.size ? this.get() : null;
|
|
802
|
+
n && t.size && _e(t, ([o, p]) => {
|
|
803
|
+
p.value = u, o(p, this, this._item);
|
|
804
|
+
}), a && (this._started = !1, _e(i, ([o, p]) => {
|
|
805
|
+
p.value = u, o(p, this, this._item);
|
|
806
|
+
}));
|
|
807
|
+
}
|
|
808
|
+
/** @internal */
|
|
809
|
+
eventObserved(e) {
|
|
810
|
+
if (e.type == "change")
|
|
811
|
+
this._changed.add(e.parent), e.idle || this._active.add(e.parent);
|
|
812
|
+
else if (e.type == "idle")
|
|
813
|
+
this._active.delete(e.parent);
|
|
814
|
+
else return;
|
|
815
|
+
U.onFrame(this._onFrame);
|
|
816
|
+
}
|
|
817
|
+
};
|
|
818
|
+
function Ee(e, t) {
|
|
819
|
+
return Promise.all(t.map((i) => mt(e, i))).then(
|
|
820
|
+
(i) => ke(e, i)
|
|
821
|
+
);
|
|
822
|
+
}
|
|
823
|
+
async function mt(e, t, i) {
|
|
824
|
+
const { keys: s, to: n, from: a, loop: u, onRest: o, onResolve: p } = t, f = r.obj(t.default) && t.default;
|
|
825
|
+
u && (t.loop = !1), n === !1 && (t.to = null), a === !1 && (t.from = null);
|
|
826
|
+
const S = r.arr(n) || r.fun(n) ? n : void 0;
|
|
827
|
+
S ? (t.to = void 0, t.onRest = void 0, f && (f.onRest = void 0)) : I(Nt, (d) => {
|
|
828
|
+
const m = t[d];
|
|
829
|
+
if (r.fun(m)) {
|
|
830
|
+
const c = e._events[d];
|
|
831
|
+
t[d] = ({ finished: v, cancelled: h }) => {
|
|
832
|
+
const w = c.get(m);
|
|
833
|
+
w ? (v || (w.finished = !1), h && (w.cancelled = !0)) : c.set(m, {
|
|
834
|
+
value: null,
|
|
835
|
+
finished: v || !1,
|
|
836
|
+
cancelled: h || !1
|
|
837
|
+
});
|
|
838
|
+
}, f && (f[d] = t[d]);
|
|
839
|
+
}
|
|
840
|
+
});
|
|
841
|
+
const l = e._state;
|
|
842
|
+
t.pause === !l.paused ? (l.paused = t.pause, ce(t.pause ? l.pauseQueue : l.resumeQueue)) : l.paused && (t.pause = !0);
|
|
843
|
+
const P = (s || Object.keys(e.springs)).map(
|
|
844
|
+
(d) => e.springs[d].start(t)
|
|
845
|
+
), y = t.cancel === !0 || at(t, "cancel") === !0;
|
|
846
|
+
(S || y && l.asyncId) && P.push(
|
|
847
|
+
ut(++e._lastAsyncId, {
|
|
848
|
+
props: t,
|
|
849
|
+
state: l,
|
|
850
|
+
actions: {
|
|
851
|
+
pause: Ne,
|
|
852
|
+
resume: Ne,
|
|
853
|
+
start(d, m) {
|
|
854
|
+
y ? (me(l, e._lastAsyncId), m(ie(e))) : (d.onRest = o, m(
|
|
855
|
+
ft(
|
|
856
|
+
S,
|
|
857
|
+
d,
|
|
858
|
+
l,
|
|
859
|
+
e
|
|
860
|
+
)
|
|
861
|
+
));
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
})
|
|
865
|
+
), l.paused && await new Promise((d) => {
|
|
866
|
+
l.resumeQueue.add(d);
|
|
867
|
+
});
|
|
868
|
+
const _ = ke(e, await Promise.all(P));
|
|
869
|
+
if (u && _.finished && !(i && _.noop)) {
|
|
870
|
+
const d = ht(t, u, n);
|
|
871
|
+
if (d)
|
|
872
|
+
return yt(e, [d]), mt(e, d, !0);
|
|
873
|
+
}
|
|
874
|
+
return p && U.batchedUpdates(() => p(_, e, e.item)), _;
|
|
875
|
+
}
|
|
876
|
+
function Me(e, t) {
|
|
877
|
+
const i = { ...e.springs };
|
|
878
|
+
return t && I(M(t), (s) => {
|
|
879
|
+
r.und(s.keys) && (s = ge(s)), r.obj(s.to) || (s = { ...s, to: void 0 }), _t(i, s, (n) => pt(n));
|
|
880
|
+
}), gt(e, i), i;
|
|
881
|
+
}
|
|
882
|
+
function gt(e, t) {
|
|
883
|
+
se(t, (i, s) => {
|
|
884
|
+
e.springs[s] || (e.springs[s] = i, ve(i, e));
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
function pt(e, t) {
|
|
888
|
+
const i = new Dt();
|
|
889
|
+
return i.key = e, t && ve(i, t), i;
|
|
890
|
+
}
|
|
891
|
+
function _t(e, t, i) {
|
|
892
|
+
t.keys && I(t.keys, (s) => {
|
|
893
|
+
(e[s] || (e[s] = i(s)))._prepareNode(t);
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
function yt(e, t) {
|
|
897
|
+
I(t, (i) => {
|
|
898
|
+
_t(e.springs, i, (s) => pt(s, e));
|
|
899
|
+
});
|
|
900
|
+
}
|
|
901
|
+
var vt = fe.createContext({
|
|
902
|
+
pause: !1,
|
|
903
|
+
immediate: !1
|
|
904
|
+
}), Pt = () => {
|
|
905
|
+
const e = [], t = function(s) {
|
|
906
|
+
St();
|
|
907
|
+
const n = [];
|
|
908
|
+
return I(e, (a, u) => {
|
|
909
|
+
if (r.und(s))
|
|
910
|
+
n.push(a.start());
|
|
911
|
+
else {
|
|
912
|
+
const o = i(s, a, u);
|
|
913
|
+
o && n.push(a.start(o));
|
|
914
|
+
}
|
|
915
|
+
}), n;
|
|
916
|
+
};
|
|
917
|
+
t.current = e, t.add = function(s) {
|
|
918
|
+
e.includes(s) || e.push(s);
|
|
919
|
+
}, t.delete = function(s) {
|
|
920
|
+
const n = e.indexOf(s);
|
|
921
|
+
~n && e.splice(n, 1);
|
|
922
|
+
}, t.pause = function() {
|
|
923
|
+
return I(e, (s) => s.pause(...arguments)), this;
|
|
924
|
+
}, t.resume = function() {
|
|
925
|
+
return I(e, (s) => s.resume(...arguments)), this;
|
|
926
|
+
}, t.set = function(s) {
|
|
927
|
+
I(e, (n, a) => {
|
|
928
|
+
const u = r.fun(s) ? s(a, n) : s;
|
|
929
|
+
u && n.set(u);
|
|
930
|
+
});
|
|
931
|
+
}, t.start = function(s) {
|
|
932
|
+
const n = [];
|
|
933
|
+
return I(e, (a, u) => {
|
|
934
|
+
if (r.und(s))
|
|
935
|
+
n.push(a.start());
|
|
936
|
+
else {
|
|
937
|
+
const o = this._getProps(s, a, u);
|
|
938
|
+
o && n.push(a.start(o));
|
|
939
|
+
}
|
|
940
|
+
}), n;
|
|
941
|
+
}, t.stop = function() {
|
|
942
|
+
return I(e, (s) => s.stop(...arguments)), this;
|
|
943
|
+
}, t.update = function(s) {
|
|
944
|
+
return I(e, (n, a) => n.update(this._getProps(s, n, a))), this;
|
|
945
|
+
};
|
|
946
|
+
const i = function(s, n, a) {
|
|
947
|
+
return r.fun(s) ? s(a, n) : s;
|
|
948
|
+
};
|
|
949
|
+
return t._getProps = i, t;
|
|
950
|
+
};
|
|
951
|
+
function Bt(e, t, i) {
|
|
952
|
+
const s = r.fun(t) && t;
|
|
953
|
+
s && !i && (i = []);
|
|
954
|
+
const n = le(
|
|
955
|
+
() => s || arguments.length == 3 ? Pt() : void 0,
|
|
956
|
+
[]
|
|
957
|
+
), a = te(0), u = Ze(), o = le(
|
|
958
|
+
() => ({
|
|
959
|
+
ctrls: [],
|
|
960
|
+
queue: [],
|
|
961
|
+
flush(c, v) {
|
|
962
|
+
const h = Me(c, v);
|
|
963
|
+
return a.current > 0 && !o.queue.length && !Object.keys(h).some((C) => !c.springs[C]) ? Ee(c, v) : new Promise((C) => {
|
|
964
|
+
gt(c, h), o.queue.push(() => {
|
|
965
|
+
C(Ee(c, v));
|
|
966
|
+
}), u();
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
}),
|
|
970
|
+
[]
|
|
971
|
+
), p = te([...o.ctrls]), f = te([]), S = we(e) || 0;
|
|
972
|
+
le(() => {
|
|
973
|
+
I(p.current.slice(e, S), (c) => {
|
|
974
|
+
Re(c, n), c.stop(!0);
|
|
975
|
+
}), p.current.length = e, l(S, e);
|
|
976
|
+
}, [e]), le(() => {
|
|
977
|
+
l(0, Math.min(S, e));
|
|
978
|
+
}, i);
|
|
979
|
+
function l(c, v) {
|
|
980
|
+
for (let h = c; h < v; h++) {
|
|
981
|
+
const w = p.current[h] || (p.current[h] = new dt(null, o.flush)), C = s ? s(h, w) : t[h];
|
|
982
|
+
C && (f.current[h] = Ut(C));
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
const P = p.current.map(
|
|
986
|
+
(c, v) => Me(c, f.current[v])
|
|
987
|
+
), y = it(vt), _ = we(y), d = y !== _ && rt(y);
|
|
988
|
+
ue(() => {
|
|
989
|
+
a.current++, o.ctrls = p.current;
|
|
990
|
+
const { queue: c } = o;
|
|
991
|
+
c.length && (o.queue = [], I(c, (v) => v())), I(p.current, (v, h) => {
|
|
992
|
+
n == null || n.add(v), d && v.start({ default: y });
|
|
993
|
+
const w = f.current[h];
|
|
994
|
+
w && (ot(v, w.ref), v.ref ? v.queue.push(w) : v.start(w));
|
|
995
|
+
});
|
|
996
|
+
}), Xe(() => () => {
|
|
997
|
+
I(o.ctrls, (c) => c.stop(!0));
|
|
998
|
+
});
|
|
999
|
+
const m = P.map((c) => ({ ...c }));
|
|
1000
|
+
return n ? [m, n] : m;
|
|
1001
|
+
}
|
|
1002
|
+
function Xt(e, t) {
|
|
1003
|
+
const i = r.fun(e), [[s], n] = Bt(
|
|
1004
|
+
1,
|
|
1005
|
+
i ? e : [e],
|
|
1006
|
+
i ? [] : t
|
|
1007
|
+
);
|
|
1008
|
+
return i || arguments.length == 2 ? [s, n] : s;
|
|
1009
|
+
}
|
|
1010
|
+
function Zt(e, t, i) {
|
|
1011
|
+
const s = r.fun(t) && t, {
|
|
1012
|
+
reset: n,
|
|
1013
|
+
sort: a,
|
|
1014
|
+
trail: u = 0,
|
|
1015
|
+
expires: o = !0,
|
|
1016
|
+
exitBeforeEnter: p = !1,
|
|
1017
|
+
onDestroyed: f,
|
|
1018
|
+
ref: S,
|
|
1019
|
+
config: l
|
|
1020
|
+
} = s ? s() : t, P = le(
|
|
1021
|
+
() => s || arguments.length == 3 ? Pt() : void 0,
|
|
1022
|
+
[]
|
|
1023
|
+
), y = M(e), _ = [], d = te(null), m = n ? null : d.current;
|
|
1024
|
+
ue(() => {
|
|
1025
|
+
d.current = _;
|
|
1026
|
+
}), Xe(() => (I(_, (g) => {
|
|
1027
|
+
P == null || P.add(g.ctrl), g.ctrl.ref = P;
|
|
1028
|
+
}), () => {
|
|
1029
|
+
I(d.current, (g) => {
|
|
1030
|
+
g.expired && clearTimeout(g.expirationId), Re(g.ctrl, P), g.ctrl.stop(!0);
|
|
1031
|
+
});
|
|
1032
|
+
}));
|
|
1033
|
+
const c = Gt(y, s ? s() : t, m), v = n && d.current || [];
|
|
1034
|
+
ue(
|
|
1035
|
+
() => I(v, ({ ctrl: g, item: b, key: T }) => {
|
|
1036
|
+
Re(g, P), E(f, b, T);
|
|
1037
|
+
})
|
|
1038
|
+
);
|
|
1039
|
+
const h = [];
|
|
1040
|
+
if (m && I(m, (g, b) => {
|
|
1041
|
+
g.expired ? (clearTimeout(g.expirationId), v.push(g)) : (b = h[b] = c.indexOf(g.key), ~b && (_[b] = g));
|
|
1042
|
+
}), I(y, (g, b) => {
|
|
1043
|
+
_[b] || (_[b] = {
|
|
1044
|
+
key: c[b],
|
|
1045
|
+
item: g,
|
|
1046
|
+
phase: "mount",
|
|
1047
|
+
ctrl: new dt()
|
|
1048
|
+
}, _[b].ctrl.item = g);
|
|
1049
|
+
}), h.length) {
|
|
1050
|
+
let g = -1;
|
|
1051
|
+
const { leave: b } = s ? s() : t;
|
|
1052
|
+
I(h, (T, V) => {
|
|
1053
|
+
const A = m[V];
|
|
1054
|
+
~T ? (g = _.indexOf(A), _[g] = { ...A, item: y[T] }) : b && _.splice(++g, 0, A);
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1057
|
+
r.fun(a) && _.sort((g, b) => a(g.item, b.item));
|
|
1058
|
+
let w = -u;
|
|
1059
|
+
const C = Ze(), Q = Pe(t), R = /* @__PURE__ */ new Map(), N = te(/* @__PURE__ */ new Map()), x = te(!1);
|
|
1060
|
+
I(_, (g, b) => {
|
|
1061
|
+
const T = g.key, V = g.phase, A = s ? s() : t;
|
|
1062
|
+
let F, j;
|
|
1063
|
+
const ee = E(A.delay || 0, T);
|
|
1064
|
+
if (V == "mount")
|
|
1065
|
+
F = A.enter, j = "enter";
|
|
1066
|
+
else {
|
|
1067
|
+
const k = c.indexOf(T) < 0;
|
|
1068
|
+
if (V != "leave")
|
|
1069
|
+
if (k)
|
|
1070
|
+
F = A.leave, j = "leave";
|
|
1071
|
+
else if (F = A.update)
|
|
1072
|
+
j = "update";
|
|
1073
|
+
else return;
|
|
1074
|
+
else if (!k)
|
|
1075
|
+
F = A.enter, j = "enter";
|
|
1076
|
+
else return;
|
|
1077
|
+
}
|
|
1078
|
+
if (F = E(F, g.item, b), F = r.obj(F) ? je(F) : { to: F }, !F.config) {
|
|
1079
|
+
const k = l || Q.config;
|
|
1080
|
+
F.config = E(k, g.item, b, j);
|
|
1081
|
+
}
|
|
1082
|
+
w += u;
|
|
1083
|
+
const G = {
|
|
1084
|
+
...Q,
|
|
1085
|
+
// we need to add our props.delay value you here.
|
|
1086
|
+
delay: ee + w,
|
|
1087
|
+
ref: S,
|
|
1088
|
+
immediate: A.immediate,
|
|
1089
|
+
// This prevents implied resets.
|
|
1090
|
+
reset: !1,
|
|
1091
|
+
// Merge any phase-specific props.
|
|
1092
|
+
...F
|
|
1093
|
+
};
|
|
1094
|
+
if (j == "enter" && r.und(G.from)) {
|
|
1095
|
+
const k = s ? s() : t, ne = r.und(k.initial) || m ? k.from : k.initial;
|
|
1096
|
+
G.from = E(ne, g.item, b);
|
|
1097
|
+
}
|
|
1098
|
+
const { onResolve: bt } = G;
|
|
1099
|
+
G.onResolve = (k) => {
|
|
1100
|
+
E(bt, k);
|
|
1101
|
+
const ne = d.current, J = ne.find((pe) => pe.key === T);
|
|
1102
|
+
if (J && !(k.cancelled && J.phase != "update") && J.ctrl.idle) {
|
|
1103
|
+
const pe = ne.every((X) => X.ctrl.idle);
|
|
1104
|
+
if (J.phase == "leave") {
|
|
1105
|
+
const X = E(o, J.item);
|
|
1106
|
+
if (X !== !1) {
|
|
1107
|
+
const be = X === !0 ? 0 : X;
|
|
1108
|
+
if (J.expired = !0, !pe && be > 0) {
|
|
1109
|
+
be <= 2147483647 && (J.expirationId = setTimeout(C, be));
|
|
1110
|
+
return;
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
pe && ne.some((X) => X.expired) && (N.current.delete(J), p && (x.current = !0), C());
|
|
1115
|
+
}
|
|
1116
|
+
};
|
|
1117
|
+
const Ue = Me(g.ctrl, G);
|
|
1118
|
+
j === "leave" && p ? N.current.set(g, { phase: j, springs: Ue, payload: G }) : R.set(g, { phase: j, springs: Ue, payload: G });
|
|
1119
|
+
});
|
|
1120
|
+
const q = it(vt), O = we(q), B = q !== O && rt(q);
|
|
1121
|
+
ue(() => {
|
|
1122
|
+
B && I(_, (g) => {
|
|
1123
|
+
g.ctrl.start({ default: q });
|
|
1124
|
+
});
|
|
1125
|
+
}, [q]), I(R, (g, b) => {
|
|
1126
|
+
if (N.current.size) {
|
|
1127
|
+
const T = _.findIndex((V) => V.key === b.key);
|
|
1128
|
+
_.splice(T, 1);
|
|
1129
|
+
}
|
|
1130
|
+
}), ue(
|
|
1131
|
+
() => {
|
|
1132
|
+
I(
|
|
1133
|
+
N.current.size ? N.current : R,
|
|
1134
|
+
({ phase: g, payload: b }, T) => {
|
|
1135
|
+
const { ctrl: V } = T;
|
|
1136
|
+
T.phase = g, P == null || P.add(V), B && g == "enter" && V.start({ default: q }), b && (ot(V, b.ref), (V.ref || P) && !x.current ? V.update(b) : (V.start(b), x.current && (x.current = !1)));
|
|
1137
|
+
}
|
|
1138
|
+
);
|
|
1139
|
+
},
|
|
1140
|
+
n ? void 0 : i
|
|
1141
|
+
);
|
|
1142
|
+
const L = (g) => /* @__PURE__ */ fe.createElement(fe.Fragment, null, _.map((b, T) => {
|
|
1143
|
+
const { springs: V } = R.get(b) || b.ctrl, A = g({ ...V }, b.item, b, T), F = r.str(b.key) || r.num(b.key) ? b.key : b.ctrl.id, j = fe.version < "19.0.0", ee = (A == null ? void 0 : A.props) ?? {}, G = j ? A == null ? void 0 : A.ref : ee == null ? void 0 : ee.ref;
|
|
1144
|
+
return A && A.type ? /* @__PURE__ */ fe.createElement(A.type, { ...ee, key: F, ref: G }) : A;
|
|
1145
|
+
}));
|
|
1146
|
+
return P ? [L, P] : L;
|
|
1147
|
+
}
|
|
1148
|
+
var Lt = 1;
|
|
1149
|
+
function Gt(e, { key: t, keys: i = t }, s) {
|
|
1150
|
+
if (i === null) {
|
|
1151
|
+
const n = /* @__PURE__ */ new Set();
|
|
1152
|
+
return e.map((a) => {
|
|
1153
|
+
const u = s && s.find(
|
|
1154
|
+
(o) => o.item === a && o.phase !== "leave" && !n.has(o)
|
|
1155
|
+
);
|
|
1156
|
+
return u ? (n.add(u), u.key) : Lt++;
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1159
|
+
return r.und(i) ? e : r.fun(i) ? e.map(i) : M(i);
|
|
1160
|
+
}
|
|
1161
|
+
var Kt = class extends De {
|
|
1162
|
+
constructor(e, t) {
|
|
1163
|
+
super(), this.source = e, this.idle = !0, this._active = /* @__PURE__ */ new Set(), this.calc = Rt(...t);
|
|
1164
|
+
const i = this._get(), s = Ae(i);
|
|
1165
|
+
st(this, s.create(i));
|
|
1166
|
+
}
|
|
1167
|
+
advance(e) {
|
|
1168
|
+
const t = this._get(), i = this.get();
|
|
1169
|
+
K(t, i) || ($(this).setValue(t), this._onChange(t, this.idle)), !this.idle && We(this._active) && Ie(this);
|
|
1170
|
+
}
|
|
1171
|
+
_get() {
|
|
1172
|
+
const e = r.arr(this.source) ? this.source.map(z) : M(z(this.source));
|
|
1173
|
+
return this.calc(...e);
|
|
1174
|
+
}
|
|
1175
|
+
_start() {
|
|
1176
|
+
this.idle && !We(this._active) && (this.idle = !1, I(qe(this), (e) => {
|
|
1177
|
+
e.done = !1;
|
|
1178
|
+
}), H.skipAnimation ? (U.batchedUpdates(() => this.advance()), Ie(this)) : Oe.start(this));
|
|
1179
|
+
}
|
|
1180
|
+
// Observe our sources only when we're observed.
|
|
1181
|
+
_attach() {
|
|
1182
|
+
let e = 1;
|
|
1183
|
+
I(M(this.source), (t) => {
|
|
1184
|
+
W(t) && ve(t, this), Te(t) && (t.idle || this._active.add(t), e = Math.max(e, t.priority + 1));
|
|
1185
|
+
}), this.priority = e, this._start();
|
|
1186
|
+
}
|
|
1187
|
+
// Stop observing our sources once we have no observers.
|
|
1188
|
+
_detach() {
|
|
1189
|
+
I(M(this.source), (e) => {
|
|
1190
|
+
W(e) && tt(e, this);
|
|
1191
|
+
}), this._active.clear(), Ie(this);
|
|
1192
|
+
}
|
|
1193
|
+
/** @internal */
|
|
1194
|
+
eventObserved(e) {
|
|
1195
|
+
e.type == "change" ? e.idle ? this.advance() : (this._active.add(e.parent), this._start()) : e.type == "idle" ? this._active.delete(e.parent) : e.type == "priority" && (this.priority = M(this.source).reduce(
|
|
1196
|
+
(t, i) => Math.max(t, (Te(i) ? i.priority : 0) + 1),
|
|
1197
|
+
0
|
|
1198
|
+
));
|
|
1199
|
+
}
|
|
1200
|
+
};
|
|
1201
|
+
function $t(e) {
|
|
1202
|
+
return e.idle !== !1;
|
|
1203
|
+
}
|
|
1204
|
+
function We(e) {
|
|
1205
|
+
return !e.size || Array.from(e).every($t);
|
|
1206
|
+
}
|
|
1207
|
+
function Ie(e) {
|
|
1208
|
+
e.idle || (e.idle = !0, I(qe(e), (t) => {
|
|
1209
|
+
t.done = !0;
|
|
1210
|
+
}), ye(e, {
|
|
1211
|
+
type: "idle",
|
|
1212
|
+
parent: e
|
|
1213
|
+
}));
|
|
1214
|
+
}
|
|
1215
|
+
H.assign({
|
|
1216
|
+
createStringInterpolator: Ct,
|
|
1217
|
+
to: (e, t) => new Kt(e, t)
|
|
1218
|
+
});
|
|
1219
|
+
export {
|
|
1220
|
+
Ge as BailSignal,
|
|
1221
|
+
dt as Controller,
|
|
1222
|
+
De as FrameValue,
|
|
1223
|
+
H as Globals,
|
|
1224
|
+
Kt as Interpolation,
|
|
1225
|
+
vt as SpringContext,
|
|
1226
|
+
Pt as SpringRef,
|
|
1227
|
+
Dt as SpringValue,
|
|
1228
|
+
Mt as config,
|
|
1229
|
+
Rt as createInterpolator,
|
|
1230
|
+
At as easings,
|
|
1231
|
+
je as inferTo,
|
|
1232
|
+
ue as useIsomorphicLayoutEffect,
|
|
1233
|
+
Xt as useSpring,
|
|
1234
|
+
Bt as useSprings,
|
|
1235
|
+
Zt as useTransition
|
|
1236
|
+
};
|