@mirai/core 0.3.427 → 0.3.429
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/build/Core.js +3 -23
- package/build/Core.js.map +1 -1
- package/build/components/Finder/Finder.js +2 -2
- package/build/components/Finder/Finder.js.map +1 -1
- package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +314 -264
- package/build/components/Profile/components/Bookings/Bookings.js +8 -1
- package/build/components/Profile/components/Bookings/Bookings.js.map +1 -1
- package/build/components/Profile/components/Bookings/Bookings.l10n.js +3 -0
- package/build/components/Profile/components/Bookings/Bookings.l10n.js.map +1 -1
- package/build/components/Rates/Rates.js +2 -5
- package/build/components/Rates/Rates.js.map +1 -1
- package/build/components/Rates/components/CardHotel/CardHotel.js +10 -2
- package/build/components/Rates/components/CardHotel/CardHotel.js.map +1 -1
- package/build/components/Session/Session.Account.js +5 -3
- package/build/components/Session/Session.Account.js.map +1 -1
- package/build/components/Session/Session.js +2 -4
- package/build/components/Session/Session.js.map +1 -1
- package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +117 -1072
- package/build/components/__shared__/BookingSummary/BookingSummary.js +14 -3
- package/build/components/__shared__/BookingSummary/BookingSummary.js.map +1 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js +4 -1
- package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js.map +1 -1
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js +7 -24
- package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js.map +1 -1
- package/build/components/helpers/constants.js +0 -1
- package/build/components/helpers/constants.js.map +1 -1
- package/build/helpers/consolidateStore.js +9 -4
- package/build/helpers/consolidateStore.js.map +1 -1
- package/package.json +1 -1
- package/public/routes/Home.jsx +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Session.js","names":["_dataSources","require","_propTypes","_interopRequireDefault","_react","_Session","_Session2","obj","__esModule","default","Session","_ref","ghost","others","value","session","club","
|
|
1
|
+
{"version":3,"file":"Session.js","names":["_dataSources","require","_propTypes","_interopRequireDefault","_react","_Session","_Session2","obj","__esModule","default","Session","_ref","ghost","others","value","session","club","useStore","ghostLogin","ghostAccount","children","React","createElement","Account","Login","exports","displayName","propTypes","PropTypes","any"],"sources":["../../../src/components/Session/Session.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Account } from './Session.Account';\nimport { Login } from './Session.Login';\n\nconst Session = ({ ghost, ...others }) => {\n const {\n value: { session, club },\n } = useStore();\n\n const [ghostLogin, ghostAccount] = ghost?.children || [];\n\n return club\n ? React.createElement(session ? Account : Login, { ...others, ghost: session ? ghostAccount : ghostLogin })\n : null;\n};\n\nSession.displayName = 'Mirai:Core:Session';\n\nSession.propTypes = {\n ghost: PropTypes.any,\n};\n\nexport { Session };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AAAwC,SAAAE,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAExC,MAAMG,OAAO,GAAGC,IAAA,IAA0B;EAAA,IAAzB;IAAEC,KAAK;IAAE,GAAGC;EAAO,CAAC,GAAAF,IAAA;EACnC,MAAM;IACJG,KAAK,EAAE;MAAEC,OAAO;MAAEC;IAAK;EACzB,CAAC,GAAG,IAAAC,qBAAQ,EAAC,CAAC;EAEd,MAAM,CAACC,UAAU,EAAEC,YAAY,CAAC,GAAG,CAAAP,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEQ,QAAQ,KAAI,EAAE;EAExD,OAAOJ,IAAI,gBACPK,cAAK,CAACC,aAAa,CAACP,OAAO,GAAGQ,gBAAO,GAAGC,eAAK,EAAE;IAAE,GAAGX,MAAM;IAAED,KAAK,EAAEG,OAAO,GAAGI,YAAY,GAAGD;EAAW,CAAC,CAAC,GACzG,IAAI;AACV,CAAC;AAACO,OAAA,CAAAf,OAAA,GAAAA,OAAA;AAEFA,OAAO,CAACgB,WAAW,GAAG,oBAAoB;AAE1ChB,OAAO,CAACiB,SAAS,GAAG;EAClBf,KAAK,EAAEgB,kBAAS,CAACC;AACnB,CAAC"}
|