@mirai/core 0.3.147 → 0.3.149
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 +1 -1
- package/build/Core.js.map +1 -1
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +4 -4
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +8 -8
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Others.test.js.snap +8 -8
- package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +12 -12
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +6 -6
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +4 -4
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Session.test.js.snap +8 -8
- package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +1 -1
- package/build/components/Profile/Profile.constants.js +8 -5
- package/build/components/Profile/Profile.constants.js.map +1 -1
- package/build/components/Profile/Profile.js +10 -42
- package/build/components/Profile/Profile.js.map +1 -1
- package/build/components/Profile/Profile.module.css +1 -67
- package/build/components/Profile/components/Bookings/Bookings.js +15 -24
- 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/Profile/components/Bookings/Bookings.module.css +7 -2
- package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +11 -1
- package/build/components/Profile/{Profile.Account.js → components/Settings/Settings.Account.js} +22 -23
- package/build/components/Profile/components/Settings/Settings.Account.js.map +1 -0
- package/build/components/Profile/{Profile.Password.js → components/Settings/Settings.Password.js} +16 -15
- package/build/components/Profile/components/Settings/Settings.Password.js.map +1 -0
- package/build/components/Profile/{Profile.Signout.js → components/Settings/Settings.Signout.js} +18 -22
- package/build/components/Profile/components/Settings/Settings.Signout.js.map +1 -0
- package/build/components/Profile/components/Settings/Settings.constants.js +24 -0
- package/build/components/Profile/components/Settings/Settings.constants.js.map +1 -0
- package/build/components/Profile/components/Settings/Settings.js +61 -0
- package/build/components/Profile/components/Settings/Settings.js.map +1 -0
- package/build/components/Profile/{Profile.l10n.js → components/Settings/Settings.l10n.js} +10 -10
- package/build/components/Profile/components/Settings/Settings.l10n.js.map +1 -0
- package/build/components/Profile/components/Settings/Settings.module.css +70 -0
- package/build/components/Profile/components/Settings/index.js +17 -0
- package/build/components/Profile/components/Settings/index.js.map +1 -0
- package/build/components/Profile/components/index.js +11 -0
- package/build/components/Profile/components/index.js.map +1 -1
- package/build/components/Session/Session.Account.js +28 -25
- package/build/components/Session/Session.Account.js.map +1 -1
- package/build/components/Session/Session.Login.js +9 -9
- package/build/components/Session/Session.Login.js.map +1 -1
- package/build/components/Session/Session.l10n.js +11 -13
- package/build/components/Session/Session.l10n.js.map +1 -1
- package/build/components/Session/Session.module.css +32 -7
- package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +30 -36
- package/build/components/Session/helpers/template.js +1 -1
- package/build/components/Session/helpers/template.js.map +1 -1
- package/build/components/Signup/Signup.js +6 -2
- package/build/components/Signup/Signup.js.map +1 -1
- package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +9 -9
- package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +4 -4
- package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +15 -15
- package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +1 -1
- package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +6 -6
- package/build/components/helpers/ICON.js +2 -0
- package/build/components/helpers/ICON.js.map +1 -1
- package/package.json +1 -1
- package/public/App.Container.jsx +0 -7
- package/public/App.module.css +0 -21
- package/build/components/Profile/Profile.Account.js.map +0 -1
- package/build/components/Profile/Profile.Password.js.map +0 -1
- package/build/components/Profile/Profile.Signout.js.map +0 -1
- package/build/components/Profile/Profile.l10n.js.map +0 -1
|
@@ -17,10 +17,10 @@ exports[`component:<Session> Using ghost feature renders 1`] = `
|
|
|
17
17
|
class="view fit modal calcWidth"
|
|
18
18
|
>
|
|
19
19
|
<div
|
|
20
|
-
class="view
|
|
20
|
+
class="view row header hideBack"
|
|
21
21
|
>
|
|
22
22
|
<h3
|
|
23
|
-
class="text headline-3 title
|
|
23
|
+
class="text headline-3 title"
|
|
24
24
|
>
|
|
25
25
|
user.label.title_session
|
|
26
26
|
</h3>
|
|
@@ -258,10 +258,10 @@ exports[`component:<Session> inherit:className 1`] = `
|
|
|
258
258
|
class="view fit modal calcWidth"
|
|
259
259
|
>
|
|
260
260
|
<div
|
|
261
|
-
class="view
|
|
261
|
+
class="view row header hideBack"
|
|
262
262
|
>
|
|
263
263
|
<h3
|
|
264
|
-
class="text headline-3 title
|
|
264
|
+
class="text headline-3 title"
|
|
265
265
|
>
|
|
266
266
|
user.label.title_session
|
|
267
267
|
</h3>
|
|
@@ -468,10 +468,10 @@ exports[`component:<Session> renders 1`] = `
|
|
|
468
468
|
class="view fit modal calcWidth"
|
|
469
469
|
>
|
|
470
470
|
<div
|
|
471
|
-
class="view
|
|
471
|
+
class="view row header hideBack"
|
|
472
472
|
>
|
|
473
473
|
<h3
|
|
474
|
-
class="text headline-3 title
|
|
474
|
+
class="text headline-3 title"
|
|
475
475
|
>
|
|
476
476
|
user.label.title_session
|
|
477
477
|
</h3>
|
|
@@ -678,10 +678,10 @@ exports[`component:<Session> testID 1`] = `
|
|
|
678
678
|
class="view fit modal calcWidth"
|
|
679
679
|
>
|
|
680
680
|
<div
|
|
681
|
-
class="view
|
|
681
|
+
class="view row header hideBack"
|
|
682
682
|
>
|
|
683
683
|
<h3
|
|
684
|
-
class="text headline-3 title
|
|
684
|
+
class="text headline-3 title"
|
|
685
685
|
>
|
|
686
686
|
user.label.title_session
|
|
687
687
|
</h3>
|
|
@@ -857,35 +857,29 @@ exports[`component:<Session> with an stored session 1`] = `
|
|
|
857
857
|
<div
|
|
858
858
|
class="view row"
|
|
859
859
|
>
|
|
860
|
-
<
|
|
861
|
-
class="
|
|
860
|
+
<div
|
|
861
|
+
class="view row"
|
|
862
862
|
>
|
|
863
|
-
<
|
|
864
|
-
|
|
865
|
-
height="1em"
|
|
866
|
-
stroke="currentColor"
|
|
867
|
-
stroke-width="0"
|
|
868
|
-
viewBox="0 0 24 24"
|
|
869
|
-
width="1em"
|
|
870
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
863
|
+
<span
|
|
864
|
+
class="text bold paragraph"
|
|
871
865
|
>
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM7.35 18.5C8.66 17.56 10.26 17 12 17s3.34.56 4.65 1.5c-1.31.94-2.91 1.5-4.65 1.5s-3.34-.56-4.65-1.5zm10.79-1.38a9.947 9.947 0 0 0-12.28 0A7.957 7.957 0 0 1 4 12c0-4.42 3.58-8 8-8s8 3.58 8 8c0 1.95-.7 3.73-1.86 5.12z"
|
|
878
|
-
/>
|
|
879
|
-
<path
|
|
880
|
-
d="M12 6c-1.93 0-3.5 1.57-3.5 3.5S10.07 13 12 13s3.5-1.57 3.5-3.5S13.93 6 12 6zm0 5c-.83 0-1.5-.67-1.5-1.5S11.17 8 12 8s1.5.67 1.5 1.5S12.83 11 12 11z"
|
|
881
|
-
/>
|
|
882
|
-
</svg>
|
|
883
|
-
</span>
|
|
884
|
-
<span
|
|
885
|
-
class="text paragraph"
|
|
866
|
+
Javi
|
|
867
|
+
</span>
|
|
868
|
+
</div>
|
|
869
|
+
<div
|
|
870
|
+
class="view"
|
|
886
871
|
>
|
|
887
|
-
|
|
888
|
-
|
|
872
|
+
<span
|
|
873
|
+
class="text bold action"
|
|
874
|
+
>
|
|
875
|
+
Javi Jimenez
|
|
876
|
+
</span>
|
|
877
|
+
<span
|
|
878
|
+
class="text tiny"
|
|
879
|
+
>
|
|
880
|
+
hello@soyjavi.com
|
|
881
|
+
</span>
|
|
882
|
+
</div>
|
|
889
883
|
</div>
|
|
890
884
|
</div>
|
|
891
885
|
</span>
|
|
@@ -940,10 +934,10 @@ exports[`component:<Session> with mode finishing signup 1`] = `
|
|
|
940
934
|
class="view fit modal calcWidth"
|
|
941
935
|
>
|
|
942
936
|
<div
|
|
943
|
-
class="view
|
|
937
|
+
class="view row header hideBack"
|
|
944
938
|
>
|
|
945
939
|
<h3
|
|
946
|
-
class="text headline-3 title
|
|
940
|
+
class="text headline-3 title"
|
|
947
941
|
>
|
|
948
942
|
user.label.title_session
|
|
949
943
|
</h3>
|
|
@@ -9,7 +9,7 @@ const template = function () {
|
|
|
9
9
|
let bindings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
10
10
|
if (typeof sample !== 'string' || typeof bindings !== 'object') return;
|
|
11
11
|
let value = sample;
|
|
12
|
-
Object.keys(bindings).forEach(key => value = value.replace("[".concat(key, "]"), bindings[key]));
|
|
12
|
+
Object.keys(bindings).forEach(key => value = value.replace(new RegExp("\\[".concat(key, "\\]"), 'g'), bindings[key]));
|
|
13
13
|
return value;
|
|
14
14
|
};
|
|
15
15
|
exports.template = template;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.js","names":["template","sample","arguments","length","undefined","bindings","value","Object","keys","forEach","key","replace","concat","exports"],"sources":["../../../../src/components/Session/helpers/template.js"],"sourcesContent":["export const template = (sample = '', bindings = {}) => {\n if (typeof sample !== 'string' || typeof bindings !== 'object') return;\n\n let value = sample;\n\n Object.keys(bindings).forEach((key) => (value = value.replace(
|
|
1
|
+
{"version":3,"file":"template.js","names":["template","sample","arguments","length","undefined","bindings","value","Object","keys","forEach","key","replace","RegExp","concat","exports"],"sources":["../../../../src/components/Session/helpers/template.js"],"sourcesContent":["export const template = (sample = '', bindings = {}) => {\n if (typeof sample !== 'string' || typeof bindings !== 'object') return;\n\n let value = sample;\n\n Object.keys(bindings).forEach((key) => (value = value.replace(new RegExp(`\\\\[${key}\\\\]`, 'g'), bindings[key])));\n\n return value;\n};\n"],"mappings":";;;;;;AAAO,MAAMA,QAAQ,GAAG,SAAAA,CAAA,EAAgC;EAAA,IAA/BC,MAAM,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,IAAEG,QAAQ,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACjD,IAAI,OAAOD,MAAM,KAAK,QAAQ,IAAI,OAAOI,QAAQ,KAAK,QAAQ,EAAE;EAEhE,IAAIC,KAAK,GAAGL,MAAM;EAElBM,MAAM,CAACC,IAAI,CAACH,QAAQ,CAAC,CAACI,OAAO,CAAEC,GAAG,IAAMJ,KAAK,GAAGA,KAAK,CAACK,OAAO,CAAC,IAAIC,MAAM,OAAAC,MAAA,CAAOH,GAAG,UAAO,GAAG,CAAC,EAAEL,QAAQ,CAACK,GAAG,CAAC,CAAE,CAAC;EAE/G,OAAOJ,KAAK;AACd,CAAC;AAACQ,OAAA,CAAAd,QAAA,GAAAA,QAAA"}
|
|
@@ -157,6 +157,7 @@ const Signup = others => {
|
|
|
157
157
|
name: "subscribed",
|
|
158
158
|
checked: form.subscribed,
|
|
159
159
|
label: translate(_Signup.L10N.SUBSCRIBED_LABEL),
|
|
160
|
+
small: true,
|
|
160
161
|
value: form.subscribed
|
|
161
162
|
}), /*#__PURE__*/_react.default.createElement(_ui.InputOption, {
|
|
162
163
|
name: "privacy",
|
|
@@ -167,17 +168,20 @@ const Signup = others => {
|
|
|
167
168
|
inline: true,
|
|
168
169
|
href: (_club$url = club.url) === null || _club$url === void 0 ? void 0 : _club$url.conditions,
|
|
169
170
|
target: "_blank",
|
|
170
|
-
rel: "noreferrer"
|
|
171
|
+
rel: "noreferrer",
|
|
172
|
+
small: true
|
|
171
173
|
}, translate(_Signup.L10N.PRIVACY_CONDITIONS_LINK)),
|
|
172
174
|
privacyPolicyLink: /*#__PURE__*/_react.default.createElement(_ui.Action, {
|
|
173
175
|
inline: true,
|
|
174
176
|
href: (_club$url2 = club.url) === null || _club$url2 === void 0 ? void 0 : _club$url2.privacy,
|
|
175
177
|
target: "_blank",
|
|
176
|
-
rel: "noreferrer"
|
|
178
|
+
rel: "noreferrer",
|
|
179
|
+
small: true
|
|
177
180
|
}, translate(_Signup.L10N.PRIVACY_POLICY_LINK))
|
|
178
181
|
}),
|
|
179
182
|
required: true,
|
|
180
183
|
showRequired: true,
|
|
184
|
+
small: true,
|
|
181
185
|
value: form.privacy,
|
|
182
186
|
className: style.privacy
|
|
183
187
|
}), !busy && responseError && /*#__PURE__*/_react.default.createElement(_ui.Notification, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Signup.js","names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Signup","style","_shared__","_helpers","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Signup","others","_form$firstName","_form$lastName","_form$email","_form$email2","_form$dateOfBirth","_form$dateOfBirth2","_formError$dateOfBirt","_form$dateOfBirth3","_form$country","_form$password","_formError$password","_form$password2","_club$url","_club$url2","value","club","hotel","useStore","locale","translate","useLocale","busy","setBusy","useState","countries","setCountries","form","setForm","subscribed","formError","setFormError","response","setResponse","responseError","setResponseError","language","country","split","formatDate","getDateFormat","useEffect","signup","next","ServiceCountry","list","handleSubmit","undefined","ServiceUser","getCountryCode","dateOfBirth","dateFormat","parseDate","format","idClub","id","idHotel","catch","error","hasErrors","keys","length","createElement","Fragment","View","wide","role","className","header","Text","bold","headline","level","L10N","TITLE","clubName","name","description","DESCRIPTION","Form","validateOnMount","onChange","onError","onSubmit","testId","styles","TextRequiredFields","InputText","label","FIRSTNAME_LABEL","required","showRequired","success","firstName","LASTNAME_LABEL","lastName","email","EMAIL_LABEL","type","InputDate","hint","max","DATEOFBIRTH_ERROR","DATEOFBIRTH_LABEL","dateCalc","Date","InputSelect","COUNTRY_LABEL","placeholder","COUNTRY_PLACEHOLDER","options","values","password","test","PASSWORD_HINT","PASSWORD_LABEL","testPassword","InputOption","checked","SUBSCRIBED_LABEL","privacy","PRIVACY_LABEL","conditionsLink","Action","inline","href","url","conditions","target","rel","PRIVACY_CONDITIONS_LINK","privacyPolicyLink","PRIVACY_POLICY_LINK","Notification","notification","NOTIFICATION_ERROR","Button","disabled","large","button","CTA","SUCCESS_TITLE","SUCCESS_MESSAGE","exports","displayName","propTypes"],"sources":["../../../src/components/Signup/Signup.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { dateCalc, dateFormat, getDateFormat, parseDate, useLocale } from '@mirai/locale';\nimport { ServiceCountry, ServiceUser } from '@mirai/services';\nimport {\n Action,\n Button,\n Form,\n InputDate,\n InputOption,\n InputSelect,\n InputText,\n Notification,\n styles,\n Text,\n View,\n} from '@mirai/ui';\nimport React, { useEffect, useState } from 'react';\n\nimport { L10N } from './Signup.l10n';\nimport * as style from './Signup.module.css';\nimport { TextRequiredFields } from '../__shared__';\nimport { getCountryCode, testPassword } from '../helpers';\n\nconst Signup = (others) => {\n const {\n set,\n value: { club = {}, hotel = {} },\n } = useStore();\n const { locale, translate } = useLocale();\n\n const [busy, setBusy] = useState(false);\n const [countries, setCountries] = useState({});\n const [form, setForm] = useState({ subscribed: true });\n const [formError, setFormError] = useState({});\n const [response, setResponse] = useState();\n const [responseError, setResponseError] = useState();\n\n const [language, country] = locale.split('-');\n const formatDate = getDateFormat(locale);\n\n useEffect(() => {\n set({ signup: form });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [form]);\n\n useEffect(() => {\n (async () => {\n const next = (await ServiceCountry.list(locale)) || {};\n\n setCountries(next);\n setForm({ ...form, country: next[country] });\n })();\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [locale]);\n\n const handleSubmit = async (form) => {\n setBusy(true);\n setResponseError(undefined);\n\n const response = await ServiceUser.signup({\n ...form,\n country: getCountryCode(form.country, countries),\n dateOfBirth: dateFormat(parseDate(form.dateOfBirth, formatDate), { format: 'DD/MM/YYYY' }),\n idClub: club.id,\n idHotel: hotel.id,\n language,\n }).catch((error) => {\n setResponseError(error);\n });\n\n setResponse(response);\n setBusy(false);\n };\n\n const hasErrors = Object.keys(formError).length !== 0;\n\n return (\n <>\n <View wide role=\"signup\" className={style.header}>\n <Text bold headline level={2}>\n {translate(L10N.TITLE, { clubName: club.name })}\n </Text>\n <Text className={style.description}>{translate(L10N.DESCRIPTION, { clubName: club.name })}</Text>\n </View>\n\n {!response && (\n <Form\n validateOnMount\n onChange={setForm}\n onError={setFormError}\n onSubmit={handleSubmit}\n testId={others.testId}\n className={styles(style.form, others.className)}\n >\n <TextRequiredFields />\n <InputText\n name=\"firstName\"\n label={translate(L10N.FIRSTNAME_LABEL)}\n required\n showRequired\n success={form.firstName?.length && !formError.firstName}\n value={form.firstName}\n />\n <InputText\n name=\"lastName\"\n label={translate(L10N.LASTNAME_LABEL)}\n required\n showRequired\n success={form.lastName?.length && !formError.lastName}\n value={form.lastName}\n />\n <InputText\n name=\"email\"\n error={form.email?.length && !!formError.email}\n label={translate(L10N.EMAIL_LABEL)}\n required\n showRequired\n success={form.email?.length && !formError.email}\n type=\"email\"\n value={form.email}\n />\n <InputDate\n name=\"dateOfBirth\"\n error={form.dateOfBirth?.length && !!formError.dateOfBirth}\n hint={\n form.dateOfBirth?.length && formError.dateOfBirth?.max ? translate(L10N.DATEOFBIRTH_ERROR) : undefined\n }\n format={formatDate}\n label={translate(L10N.DATEOFBIRTH_LABEL)}\n max={dateFormat(dateCalc(new Date(), -18, 'years'), { format: formatDate })}\n required\n showRequired\n success={form.dateOfBirth?.length && !formError.dateOfBirth}\n type=\"inputDate\"\n value={form.dateOfBirth}\n />\n <InputSelect\n name=\"country\"\n label={translate(L10N.COUNTRY_LABEL)}\n placeholder={translate(L10N.COUNTRY_PLACEHOLDER)}\n options={Object.values(countries)}\n required\n showRequired\n success={form.country?.length && !formError.country}\n value={form.country}\n />\n <InputText\n name=\"password\"\n error={form.password?.length && formError.password?.test}\n hint={translate(L10N.PASSWORD_HINT)}\n label={translate(L10N.PASSWORD_LABEL)}\n required\n showRequired\n success={form.password?.length && !formError.password}\n test={testPassword}\n type=\"password\"\n value={form.password}\n />\n\n <InputOption\n name=\"subscribed\"\n checked={form.subscribed}\n label={translate(L10N.SUBSCRIBED_LABEL)}\n value={form.subscribed}\n />\n <InputOption\n name=\"privacy\"\n checked={form.privacy}\n label={translate(L10N.PRIVACY_LABEL, {\n clubName: club.name || '$club',\n conditionsLink: (\n <Action inline href={club.url?.conditions} target=\"_blank\" rel=\"noreferrer\">\n {translate(L10N.PRIVACY_CONDITIONS_LINK)}\n </Action>\n ),\n privacyPolicyLink: (\n <Action inline href={club.url?.privacy} target=\"_blank\" rel=\"noreferrer\">\n {translate(L10N.PRIVACY_POLICY_LINK)}\n </Action>\n ),\n })}\n required\n showRequired\n value={form.privacy}\n className={style.privacy}\n />\n\n {!busy && responseError && (\n <Notification error className={style.notification}>\n {translate(L10N.NOTIFICATION_ERROR)}\n </Notification>\n )}\n\n <Button\n busy={busy}\n disabled={busy || hasErrors || !form.privacy}\n large\n wide\n type=\"submit\"\n className={style.button}\n >\n {translate(L10N.CTA)}\n </Button>\n </Form>\n )}\n\n {!busy && response && (\n <Notification large success className={style.notification}>\n <Text bold>{translate(L10N.SUCCESS_TITLE)}</Text>\n <Text>{translate(L10N.SUCCESS_MESSAGE)}</Text>\n </Notification>\n )}\n </>\n );\n};\n\nSignup.displayName = 'Mirai:Core:Signup';\n\nSignup.propTypes = {};\n\nexport { Signup };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,G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,MAAA,CAAAY,OAAA,CAAA8E,aAAA,CAAC3F,GAAA,CAAAqK,MAAM;IACLlH,IAAI,EAAEA,IAAK;IACXmH,QAAQ,EAAEnH,IAAI,IAAIqC,SAAS,IAAI,CAAChC,IAAI,CAAC6F,OAAQ;IAC7CkB,KAAK;IACLzE,IAAI;IACJiC,IAAI,EAAC,QAAQ;IACb/B,SAAS,EAAE5F,KAAK,CAACoK;EAAO,GAEvBvH,SAAS,CAACqD,YAAI,CAACmE,GAAG,CACb,CACJ,CACP,EAEA,CAACtH,IAAI,IAAIU,QAAQ,iBAChB5D,MAAA,CAAAY,OAAA,CAAA8E,aAAA,CAAC3F,GAAA,CAAAkK,YAAY;IAACK,KAAK;IAAC9C,OAAO;IAACzB,SAAS,EAAE5F,KAAK,CAAC+J;EAAa,gBACxDlK,MAAA,CAAAY,OAAA,CAAA8E,aAAA,CAAC3F,GAAA,CAAAkG,IAAI;IAACC,IAAI;EAAA,GAAElD,SAAS,CAACqD,YAAI,CAACoE,aAAa,CAAQ,CAAC,eACjDzK,MAAA,CAAAY,OAAA,CAAA8E,aAAA,CAAC3F,GAAA,CAAAkG,IAAI,QAAEjD,SAAS,CAACqD,YAAI,CAACqE,eAAe,CAAQ,CACjC,CAEhB,CAAC;AAEP,CAAC;AAACC,OAAA,CAAAhJ,MAAA,GAAAA,MAAA;AAEFA,MAAM,CAACiJ,WAAW,GAAG,mBAAmB;AAExCjJ,MAAM,CAACkJ,SAAS,GAAG,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"Signup.js","names":["_dataSources","require","_locale","_services","_ui","_react","_interopRequireWildcard","_Signup","style","_shared__","_helpers","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Signup","others","_form$firstName","_form$lastName","_form$email","_form$email2","_form$dateOfBirth","_form$dateOfBirth2","_formError$dateOfBirt","_form$dateOfBirth3","_form$country","_form$password","_formError$password","_form$password2","_club$url","_club$url2","value","club","hotel","useStore","locale","translate","useLocale","busy","setBusy","useState","countries","setCountries","form","setForm","subscribed","formError","setFormError","response","setResponse","responseError","setResponseError","language","country","split","formatDate","getDateFormat","useEffect","signup","next","ServiceCountry","list","handleSubmit","undefined","ServiceUser","getCountryCode","dateOfBirth","dateFormat","parseDate","format","idClub","id","idHotel","catch","error","hasErrors","keys","length","createElement","Fragment","View","wide","role","className","header","Text","bold","headline","level","L10N","TITLE","clubName","name","description","DESCRIPTION","Form","validateOnMount","onChange","onError","onSubmit","testId","styles","TextRequiredFields","InputText","label","FIRSTNAME_LABEL","required","showRequired","success","firstName","LASTNAME_LABEL","lastName","email","EMAIL_LABEL","type","InputDate","hint","max","DATEOFBIRTH_ERROR","DATEOFBIRTH_LABEL","dateCalc","Date","InputSelect","COUNTRY_LABEL","placeholder","COUNTRY_PLACEHOLDER","options","values","password","test","PASSWORD_HINT","PASSWORD_LABEL","testPassword","InputOption","checked","SUBSCRIBED_LABEL","small","privacy","PRIVACY_LABEL","conditionsLink","Action","inline","href","url","conditions","target","rel","PRIVACY_CONDITIONS_LINK","privacyPolicyLink","PRIVACY_POLICY_LINK","Notification","notification","NOTIFICATION_ERROR","Button","disabled","large","button","CTA","SUCCESS_TITLE","SUCCESS_MESSAGE","exports","displayName","propTypes"],"sources":["../../../src/components/Signup/Signup.jsx"],"sourcesContent":["import { useStore } from '@mirai/data-sources';\nimport { dateCalc, dateFormat, getDateFormat, parseDate, useLocale } from '@mirai/locale';\nimport { ServiceCountry, ServiceUser } from '@mirai/services';\nimport {\n Action,\n Button,\n Form,\n InputDate,\n InputOption,\n InputSelect,\n InputText,\n Notification,\n styles,\n Text,\n View,\n} from '@mirai/ui';\nimport React, { useEffect, useState } from 'react';\n\nimport { L10N } from './Signup.l10n';\nimport * as style from './Signup.module.css';\nimport { TextRequiredFields } from '../__shared__';\nimport { getCountryCode, testPassword } from '../helpers';\n\nconst Signup = (others) => {\n const {\n set,\n value: { club = {}, hotel = {} },\n } = useStore();\n const { locale, translate } = useLocale();\n\n const [busy, setBusy] = useState(false);\n const [countries, setCountries] = useState({});\n const [form, setForm] = useState({ subscribed: true });\n const [formError, setFormError] = useState({});\n const [response, setResponse] = useState();\n const [responseError, setResponseError] = useState();\n\n const [language, country] = locale.split('-');\n const formatDate = getDateFormat(locale);\n\n useEffect(() => {\n set({ signup: form });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [form]);\n\n useEffect(() => {\n (async () => {\n const next = (await ServiceCountry.list(locale)) || {};\n\n setCountries(next);\n setForm({ ...form, country: next[country] });\n })();\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [locale]);\n\n const handleSubmit = async (form) => {\n setBusy(true);\n setResponseError(undefined);\n\n const response = await ServiceUser.signup({\n ...form,\n country: getCountryCode(form.country, countries),\n dateOfBirth: dateFormat(parseDate(form.dateOfBirth, formatDate), { format: 'DD/MM/YYYY' }),\n idClub: club.id,\n idHotel: hotel.id,\n language,\n }).catch((error) => {\n setResponseError(error);\n });\n\n setResponse(response);\n setBusy(false);\n };\n\n const hasErrors = Object.keys(formError).length !== 0;\n\n return (\n <>\n <View wide role=\"signup\" className={style.header}>\n <Text bold headline level={2}>\n {translate(L10N.TITLE, { clubName: club.name })}\n </Text>\n <Text className={style.description}>{translate(L10N.DESCRIPTION, { clubName: club.name })}</Text>\n </View>\n\n {!response && (\n <Form\n validateOnMount\n onChange={setForm}\n onError={setFormError}\n onSubmit={handleSubmit}\n testId={others.testId}\n className={styles(style.form, others.className)}\n >\n <TextRequiredFields />\n <InputText\n name=\"firstName\"\n label={translate(L10N.FIRSTNAME_LABEL)}\n required\n showRequired\n success={form.firstName?.length && !formError.firstName}\n value={form.firstName}\n />\n <InputText\n name=\"lastName\"\n label={translate(L10N.LASTNAME_LABEL)}\n required\n showRequired\n success={form.lastName?.length && !formError.lastName}\n value={form.lastName}\n />\n <InputText\n name=\"email\"\n error={form.email?.length && !!formError.email}\n label={translate(L10N.EMAIL_LABEL)}\n required\n showRequired\n success={form.email?.length && !formError.email}\n type=\"email\"\n value={form.email}\n />\n <InputDate\n name=\"dateOfBirth\"\n error={form.dateOfBirth?.length && !!formError.dateOfBirth}\n hint={\n form.dateOfBirth?.length && formError.dateOfBirth?.max ? translate(L10N.DATEOFBIRTH_ERROR) : undefined\n }\n format={formatDate}\n label={translate(L10N.DATEOFBIRTH_LABEL)}\n max={dateFormat(dateCalc(new Date(), -18, 'years'), { format: formatDate })}\n required\n showRequired\n success={form.dateOfBirth?.length && !formError.dateOfBirth}\n type=\"inputDate\"\n value={form.dateOfBirth}\n />\n <InputSelect\n name=\"country\"\n label={translate(L10N.COUNTRY_LABEL)}\n placeholder={translate(L10N.COUNTRY_PLACEHOLDER)}\n options={Object.values(countries)}\n required\n showRequired\n success={form.country?.length && !formError.country}\n value={form.country}\n />\n <InputText\n name=\"password\"\n error={form.password?.length && formError.password?.test}\n hint={translate(L10N.PASSWORD_HINT)}\n label={translate(L10N.PASSWORD_LABEL)}\n required\n showRequired\n success={form.password?.length && !formError.password}\n test={testPassword}\n type=\"password\"\n value={form.password}\n />\n\n <InputOption\n name=\"subscribed\"\n checked={form.subscribed}\n label={translate(L10N.SUBSCRIBED_LABEL)}\n small\n value={form.subscribed}\n />\n <InputOption\n name=\"privacy\"\n checked={form.privacy}\n label={translate(L10N.PRIVACY_LABEL, {\n clubName: club.name || '$club',\n conditionsLink: (\n <Action inline href={club.url?.conditions} target=\"_blank\" rel=\"noreferrer\" small>\n {translate(L10N.PRIVACY_CONDITIONS_LINK)}\n </Action>\n ),\n privacyPolicyLink: (\n <Action inline href={club.url?.privacy} target=\"_blank\" rel=\"noreferrer\" small>\n {translate(L10N.PRIVACY_POLICY_LINK)}\n </Action>\n ),\n })}\n required\n showRequired\n small\n value={form.privacy}\n className={style.privacy}\n />\n\n {!busy && responseError && (\n <Notification error className={style.notification}>\n {translate(L10N.NOTIFICATION_ERROR)}\n </Notification>\n )}\n\n <Button\n busy={busy}\n disabled={busy || hasErrors || !form.privacy}\n large\n wide\n type=\"submit\"\n className={style.button}\n >\n {translate(L10N.CTA)}\n </Button>\n </Form>\n )}\n\n {!busy && response && (\n <Notification large success className={style.notification}>\n <Text bold>{translate(L10N.SUCCESS_TITLE)}</Text>\n <Text>{translate(L10N.SUCCESS_MESSAGE)}</Text>\n </Notification>\n )}\n </>\n );\n};\n\nSignup.displayName = 'Mirai:Core:Signup';\n\nSignup.propTypes = {};\n\nexport { Signup };\n"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AAaA,IAAAI,MAAA,GAAAC,uBAAA,CAAAL,OAAA;AAEA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,KAAA,GAAAF,uBAAA,CAAAL,OAAA;AACA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AAA0D,SAAAU,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,I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jJ,MAAA,GAAAA,MAAA;AAEFA,MAAM,CAACkJ,WAAW,GAAG,mBAAmB;AAExClJ,MAAM,CAACmJ,SAAS,GAAG,CAAC,CAAC"}
|
|
@@ -172,7 +172,7 @@ exports[`component:<Signup> inherit:className 1`] = `
|
|
|
172
172
|
/>
|
|
173
173
|
</div>
|
|
174
174
|
<span
|
|
175
|
-
class="icon headline-3 icon expand
|
|
175
|
+
class="icon headline-3 icon expand"
|
|
176
176
|
>
|
|
177
177
|
<svg
|
|
178
178
|
fill="currentColor"
|
|
@@ -291,7 +291,7 @@ exports[`component:<Signup> inherit:className 1`] = `
|
|
|
291
291
|
</span>
|
|
292
292
|
</div>
|
|
293
293
|
<span
|
|
294
|
-
class="text
|
|
294
|
+
class="text small text label"
|
|
295
295
|
>
|
|
296
296
|
user.label.subscribe
|
|
297
297
|
</span>
|
|
@@ -310,7 +310,7 @@ exports[`component:<Signup> inherit:className 1`] = `
|
|
|
310
310
|
/>
|
|
311
311
|
</div>
|
|
312
312
|
<span
|
|
313
|
-
class="text
|
|
313
|
+
class="text small text label"
|
|
314
314
|
>
|
|
315
315
|
user.label.privacy_policy
|
|
316
316
|
<span
|
|
@@ -512,7 +512,7 @@ exports[`component:<Signup> renders 1`] = `
|
|
|
512
512
|
/>
|
|
513
513
|
</div>
|
|
514
514
|
<span
|
|
515
|
-
class="icon headline-3 icon expand
|
|
515
|
+
class="icon headline-3 icon expand"
|
|
516
516
|
>
|
|
517
517
|
<svg
|
|
518
518
|
fill="currentColor"
|
|
@@ -631,7 +631,7 @@ exports[`component:<Signup> renders 1`] = `
|
|
|
631
631
|
</span>
|
|
632
632
|
</div>
|
|
633
633
|
<span
|
|
634
|
-
class="text
|
|
634
|
+
class="text small text label"
|
|
635
635
|
>
|
|
636
636
|
user.label.subscribe
|
|
637
637
|
</span>
|
|
@@ -650,7 +650,7 @@ exports[`component:<Signup> renders 1`] = `
|
|
|
650
650
|
/>
|
|
651
651
|
</div>
|
|
652
652
|
<span
|
|
653
|
-
class="text
|
|
653
|
+
class="text small text label"
|
|
654
654
|
>
|
|
655
655
|
user.label.privacy_policy
|
|
656
656
|
<span
|
|
@@ -854,7 +854,7 @@ exports[`component:<Signup> testID 1`] = `
|
|
|
854
854
|
/>
|
|
855
855
|
</div>
|
|
856
856
|
<span
|
|
857
|
-
class="icon headline-3 icon expand
|
|
857
|
+
class="icon headline-3 icon expand"
|
|
858
858
|
>
|
|
859
859
|
<svg
|
|
860
860
|
fill="currentColor"
|
|
@@ -973,7 +973,7 @@ exports[`component:<Signup> testID 1`] = `
|
|
|
973
973
|
</span>
|
|
974
974
|
</div>
|
|
975
975
|
<span
|
|
976
|
-
class="text
|
|
976
|
+
class="text small text label"
|
|
977
977
|
>
|
|
978
978
|
user.label.subscribe
|
|
979
979
|
</span>
|
|
@@ -992,7 +992,7 @@ exports[`component:<Signup> testID 1`] = `
|
|
|
992
992
|
/>
|
|
993
993
|
</div>
|
|
994
994
|
<span
|
|
995
|
-
class="text
|
|
995
|
+
class="text small text label"
|
|
996
996
|
>
|
|
997
997
|
user.label.privacy_policy
|
|
998
998
|
<span
|
package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap
CHANGED
|
@@ -15,7 +15,7 @@ exports[`component:<ButtonPayment> inherit:className 1`] = `
|
|
|
15
15
|
class="view fit modal calcWidth"
|
|
16
16
|
>
|
|
17
17
|
<div
|
|
18
|
-
class="view
|
|
18
|
+
class="view row header hideBack"
|
|
19
19
|
>
|
|
20
20
|
<button
|
|
21
21
|
class="pressable button small squared transparent button"
|
|
@@ -63,7 +63,7 @@ exports[`component:<ButtonPayment> renders 1`] = `
|
|
|
63
63
|
class="view fit modal calcWidth"
|
|
64
64
|
>
|
|
65
65
|
<div
|
|
66
|
-
class="view
|
|
66
|
+
class="view row header hideBack"
|
|
67
67
|
>
|
|
68
68
|
<button
|
|
69
69
|
class="pressable button small squared transparent button"
|
|
@@ -112,7 +112,7 @@ exports[`component:<ButtonPayment> testID 1`] = `
|
|
|
112
112
|
class="view fit modal calcWidth"
|
|
113
113
|
>
|
|
114
114
|
<div
|
|
115
|
-
class="view
|
|
115
|
+
class="view row header hideBack"
|
|
116
116
|
>
|
|
117
117
|
<button
|
|
118
118
|
class="pressable button small squared transparent button"
|
|
@@ -161,7 +161,7 @@ exports[`component:<ButtonPayment> using some inherit <Button> properties 1`] =
|
|
|
161
161
|
class="view fit modal calcWidth"
|
|
162
162
|
>
|
|
163
163
|
<div
|
|
164
|
-
class="view
|
|
164
|
+
class="view row header hideBack"
|
|
165
165
|
>
|
|
166
166
|
<button
|
|
167
167
|
class="pressable button small squared transparent button"
|
|
@@ -21,7 +21,7 @@ exports[`component:<Field> Mobile environment prop:visible 1`] = `
|
|
|
21
21
|
class="view fit modal calcWidth visible"
|
|
22
22
|
>
|
|
23
23
|
<div
|
|
24
|
-
class="view
|
|
24
|
+
class="view row header hideBack"
|
|
25
25
|
>
|
|
26
26
|
<button
|
|
27
27
|
class="pressable button small squared transparent button"
|
|
@@ -77,7 +77,7 @@ exports[`component:<Field> inherit:className 1`] = `
|
|
|
77
77
|
class="view fit modal calcWidth"
|
|
78
78
|
>
|
|
79
79
|
<div
|
|
80
|
-
class="view
|
|
80
|
+
class="view row header hideBack"
|
|
81
81
|
>
|
|
82
82
|
<button
|
|
83
83
|
class="pressable button small squared transparent button"
|
|
@@ -135,7 +135,7 @@ exports[`component:<Field> prop:caption 1`] = `
|
|
|
135
135
|
class="view fit modal calcWidth"
|
|
136
136
|
>
|
|
137
137
|
<div
|
|
138
|
-
class="view
|
|
138
|
+
class="view row header hideBack"
|
|
139
139
|
>
|
|
140
140
|
<button
|
|
141
141
|
class="pressable button small squared transparent button"
|
|
@@ -180,7 +180,7 @@ exports[`component:<Field> prop:compacted 1`] = `
|
|
|
180
180
|
class="view fit modal calcWidth"
|
|
181
181
|
>
|
|
182
182
|
<div
|
|
183
|
-
class="view
|
|
183
|
+
class="view row header hideBack"
|
|
184
184
|
>
|
|
185
185
|
<button
|
|
186
186
|
class="pressable button small squared transparent button"
|
|
@@ -257,7 +257,7 @@ exports[`component:<Field> prop:error 1`] = `
|
|
|
257
257
|
class="view fit modal calcWidth"
|
|
258
258
|
>
|
|
259
259
|
<div
|
|
260
|
-
class="view
|
|
260
|
+
class="view row header hideBack"
|
|
261
261
|
>
|
|
262
262
|
<button
|
|
263
263
|
class="pressable button small squared transparent button"
|
|
@@ -313,7 +313,7 @@ exports[`component:<Field> prop:icon 1`] = `
|
|
|
313
313
|
class="view fit modal calcWidth"
|
|
314
314
|
>
|
|
315
315
|
<div
|
|
316
|
-
class="view
|
|
316
|
+
class="view row header hideBack"
|
|
317
317
|
>
|
|
318
318
|
<button
|
|
319
319
|
class="pressable button small squared transparent button"
|
|
@@ -388,10 +388,10 @@ exports[`component:<Field> prop:label 1`] = `
|
|
|
388
388
|
class="view fit modal calcWidth"
|
|
389
389
|
>
|
|
390
390
|
<div
|
|
391
|
-
class="view
|
|
391
|
+
class="view row header hideBack"
|
|
392
392
|
>
|
|
393
393
|
<h3
|
|
394
|
-
class="text headline-3 title
|
|
394
|
+
class="text headline-3 title"
|
|
395
395
|
>
|
|
396
396
|
Mirai-label
|
|
397
397
|
</h3>
|
|
@@ -450,7 +450,7 @@ exports[`component:<Field> prop:placeholder 1`] = `
|
|
|
450
450
|
class="view fit modal calcWidth"
|
|
451
451
|
>
|
|
452
452
|
<div
|
|
453
|
-
class="view
|
|
453
|
+
class="view row header hideBack"
|
|
454
454
|
>
|
|
455
455
|
<button
|
|
456
456
|
class="pressable button small squared transparent button"
|
|
@@ -507,7 +507,7 @@ exports[`component:<Field> prop:tabIndex 1`] = `
|
|
|
507
507
|
class="view fit modal calcWidth"
|
|
508
508
|
>
|
|
509
509
|
<div
|
|
510
|
-
class="view
|
|
510
|
+
class="view row header hideBack"
|
|
511
511
|
>
|
|
512
512
|
<button
|
|
513
513
|
class="pressable button small squared transparent button"
|
|
@@ -563,7 +563,7 @@ exports[`component:<Field> prop:visible && centered 1`] = `
|
|
|
563
563
|
class="view fit modal calcWidth visible"
|
|
564
564
|
>
|
|
565
565
|
<div
|
|
566
|
-
class="view
|
|
566
|
+
class="view row header hideBack"
|
|
567
567
|
>
|
|
568
568
|
<button
|
|
569
569
|
class="pressable button small squared transparent button"
|
|
@@ -619,7 +619,7 @@ exports[`component:<Field> prop:visible 1`] = `
|
|
|
619
619
|
class="view fit modal calcWidth visible"
|
|
620
620
|
>
|
|
621
621
|
<div
|
|
622
|
-
class="view
|
|
622
|
+
class="view row header hideBack"
|
|
623
623
|
>
|
|
624
624
|
<button
|
|
625
625
|
class="pressable button small squared transparent button"
|
|
@@ -692,7 +692,7 @@ exports[`component:<Field> prop:warning 1`] = `
|
|
|
692
692
|
class="view fit modal calcWidth"
|
|
693
693
|
>
|
|
694
694
|
<div
|
|
695
|
-
class="view
|
|
695
|
+
class="view row header hideBack"
|
|
696
696
|
>
|
|
697
697
|
<button
|
|
698
698
|
class="pressable button small squared transparent button"
|
|
@@ -748,7 +748,7 @@ exports[`component:<Field> renders 1`] = `
|
|
|
748
748
|
class="view fit modal calcWidth"
|
|
749
749
|
>
|
|
750
750
|
<div
|
|
751
|
-
class="view
|
|
751
|
+
class="view row header hideBack"
|
|
752
752
|
>
|
|
753
753
|
<button
|
|
754
754
|
class="pressable button small squared transparent button"
|
|
@@ -807,7 +807,7 @@ exports[`component:<Field> testID 1`] = `
|
|
|
807
807
|
data-testid="mirai-modal"
|
|
808
808
|
>
|
|
809
809
|
<div
|
|
810
|
-
class="view
|
|
810
|
+
class="view row header hideBack"
|
|
811
811
|
>
|
|
812
812
|
<button
|
|
813
813
|
class="pressable button small squared transparent button"
|
package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap
CHANGED
|
@@ -329,7 +329,7 @@ exports[` 1`] = `
|
|
|
329
329
|
</select>
|
|
330
330
|
</div>
|
|
331
331
|
<span
|
|
332
|
-
class="icon headline-3 icon expand
|
|
332
|
+
class="icon headline-3 icon expand"
|
|
333
333
|
>
|
|
334
334
|
<svg
|
|
335
335
|
fill="currentColor"
|
|
@@ -463,7 +463,7 @@ exports[` 1`] = `
|
|
|
463
463
|
</select>
|
|
464
464
|
</div>
|
|
465
465
|
<span
|
|
466
|
-
class="icon headline-3 icon expand
|
|
466
|
+
class="icon headline-3 icon expand"
|
|
467
467
|
>
|
|
468
468
|
<svg
|
|
469
469
|
fill="currentColor"
|
|
@@ -2370,7 +2370,7 @@ exports[`component:<Occupation> prop:value prop:error 1`] = `
|
|
|
2370
2370
|
</select>
|
|
2371
2371
|
</div>
|
|
2372
2372
|
<span
|
|
2373
|
-
class="icon headline-3 icon expand
|
|
2373
|
+
class="icon headline-3 icon expand"
|
|
2374
2374
|
>
|
|
2375
2375
|
<svg
|
|
2376
2376
|
fill="currentColor"
|
|
@@ -2504,7 +2504,7 @@ exports[`component:<Occupation> prop:value prop:error 1`] = `
|
|
|
2504
2504
|
</select>
|
|
2505
2505
|
</div>
|
|
2506
2506
|
<span
|
|
2507
|
-
class="icon headline-3 icon expand
|
|
2507
|
+
class="icon headline-3 icon expand"
|
|
2508
2508
|
>
|
|
2509
2509
|
<svg
|
|
2510
2510
|
fill="currentColor"
|
|
@@ -3032,7 +3032,7 @@ exports[`component:<Occupation> removing a room 1`] = `
|
|
|
3032
3032
|
</select>
|
|
3033
3033
|
</div>
|
|
3034
3034
|
<span
|
|
3035
|
-
class="icon headline-3 icon expand
|
|
3035
|
+
class="icon headline-3 icon expand"
|
|
3036
3036
|
>
|
|
3037
3037
|
<svg
|
|
3038
3038
|
fill="currentColor"
|
|
@@ -3166,7 +3166,7 @@ exports[`component:<Occupation> removing a room 1`] = `
|
|
|
3166
3166
|
</select>
|
|
3167
3167
|
</div>
|
|
3168
3168
|
<span
|
|
3169
|
-
class="icon headline-3 icon expand
|
|
3169
|
+
class="icon headline-3 icon expand"
|
|
3170
3170
|
>
|
|
3171
3171
|
<svg
|
|
3172
3172
|
fill="currentColor"
|
|
@@ -25,6 +25,7 @@ var _MdOutlineLink = require("@react-icons/all-files/md/MdOutlineLink");
|
|
|
25
25
|
var _MdOutlineListAlt = require("@react-icons/all-files/md/MdOutlineListAlt");
|
|
26
26
|
var _MdOutlineLocationOn = require("@react-icons/all-files/md/MdOutlineLocationOn");
|
|
27
27
|
var _MdOutlineLock = require("@react-icons/all-files/md/MdOutlineLock");
|
|
28
|
+
var _MdOutlineLogout = require("@react-icons/all-files/md/MdOutlineLogout");
|
|
28
29
|
var _MdOutlinePageview = require("@react-icons/all-files/md/MdOutlinePageview");
|
|
29
30
|
var _MdOutlinePeopleAlt = require("@react-icons/all-files/md/MdOutlinePeopleAlt");
|
|
30
31
|
var _MdOutlinePersonOff = require("@react-icons/all-files/md/MdOutlinePersonOff");
|
|
@@ -57,6 +58,7 @@ const ICON = exports.ICON = {
|
|
|
57
58
|
LIST: _MdOutlineListAlt.MdOutlineListAlt,
|
|
58
59
|
LOCATION: _MdOutlineLocationOn.MdOutlineLocationOn,
|
|
59
60
|
LOCK: _MdOutlineLock.MdOutlineLock,
|
|
61
|
+
LOGOUT: _MdOutlineLogout.MdOutlineLogout,
|
|
60
62
|
MAIL: _MdMailOutline.MdMailOutline,
|
|
61
63
|
MORE: _MdMoreVert.MdMoreVert,
|
|
62
64
|
OFFER: _TbDiscountCheck.TbDiscountCheck,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICON.js","names":["_ui","require","_GrThreeD","_MdAccessAlarm","_MdMailOutline","_MdMoreVert","_MdOutlineAccountCircle","_MdOutlineAddToPhotos","_MdOutlineAutorenew","_MdOutlineBed","_MdOutlineCalendarToday","_MdOutlineCurrencyExchange","_MdOutlineEditCalendar","_MdOutlineEventBusy","_MdOutlineFreeCancellation","_MdOutlineGroup","_MdOutlineGroups","_MdOutlineLanguage","_MdOutlineLink","_MdOutlineListAlt","_MdOutlineLocationOn","_MdOutlineLock","_MdOutlinePageview","_MdOutlinePeopleAlt","_MdOutlinePersonOff","_MdOutlinePlayCircle","_MdOutlinePrint","_MdPersonOutline","_MdPhotoSizeSelectSmall","_MdSingleBed","_MdUnfoldMore","_TbDiscountCheck","_ICON","ICON","exports","ICON_BASE","THREE_D","ACCOUNT","ADD_EXTRAS","ALARM","BED_DOUBLE","BED_SINGLE","CALENDAR","CALENDAR_BUSY","CALENDAR_CANCEL","CALENDAR_EDIT","CLEAR","CURRENCY","GROUP","GROUPS","LANGUAGE","LINK","LIST","LOCATION","LOCK","MAIL","MORE","OFFER","PEOPLE","PERSON","PERSON_OFF","PLAY","PRINT","SITE","SIZE","UNFOLD","ICON_AMENITIES"],"sources":["../../../src/components/helpers/ICON.js"],"sourcesContent":["import { ICON as ICON_BASE } from '@mirai/ui';\nimport { GrThreeD as THREE_D } from '@react-icons/all-files/gr/GrThreeD';\nimport { MdAccessAlarm as ALARM } from '@react-icons/all-files/md/MdAccessAlarm';\nimport { MdMailOutline as MAIL } from '@react-icons/all-files/md/MdMailOutline';\nimport { MdMoreVert as MORE } from '@react-icons/all-files/md/MdMoreVert';\nimport { MdOutlineAccountCircle as ACCOUNT } from '@react-icons/all-files/md/MdOutlineAccountCircle';\nimport { MdOutlineAddToPhotos as ADD_EXTRAS } from '@react-icons/all-files/md/MdOutlineAddToPhotos';\nimport { MdOutlineAutorenew as CLEAR } from '@react-icons/all-files/md/MdOutlineAutorenew';\nimport { MdOutlineBed as BED_DOUBLE } from '@react-icons/all-files/md/MdOutlineBed';\nimport { MdOutlineCalendarToday as CALENDAR } from '@react-icons/all-files/md/MdOutlineCalendarToday';\nimport { MdOutlineCurrencyExchange as CURRENCY } from '@react-icons/all-files/md/MdOutlineCurrencyExchange';\nimport { MdOutlineEditCalendar as CALENDAR_EDIT } from '@react-icons/all-files/md/MdOutlineEditCalendar';\nimport { MdOutlineEventBusy as CALENDAR_BUSY } from '@react-icons/all-files/md/MdOutlineEventBusy';\nimport { MdOutlineFreeCancellation as CALENDAR_CANCEL } from '@react-icons/all-files/md/MdOutlineFreeCancellation';\nimport { MdOutlineGroup as GROUP } from '@react-icons/all-files/md/MdOutlineGroup';\nimport { MdOutlineGroups as GROUPS } from '@react-icons/all-files/md/MdOutlineGroups';\nimport { MdOutlineLanguage as LANGUAGE } from '@react-icons/all-files/md/MdOutlineLanguage';\nimport { MdOutlineLink as LINK } from '@react-icons/all-files/md/MdOutlineLink';\nimport { MdOutlineListAlt as LIST } from '@react-icons/all-files/md/MdOutlineListAlt';\nimport { MdOutlineLocationOn as LOCATION } from '@react-icons/all-files/md/MdOutlineLocationOn';\nimport { MdOutlineLock as LOCK } from '@react-icons/all-files/md/MdOutlineLock';\nimport { MdOutlinePageview as SITE } from '@react-icons/all-files/md/MdOutlinePageview';\nimport { MdOutlinePeopleAlt as PEOPLE } from '@react-icons/all-files/md/MdOutlinePeopleAlt';\nimport { MdOutlinePersonOff as PERSON_OFF } from '@react-icons/all-files/md/MdOutlinePersonOff';\nimport { MdOutlinePlayCircle as PLAY } from '@react-icons/all-files/md/MdOutlinePlayCircle';\nimport { MdOutlinePrint as PRINT } from '@react-icons/all-files/md/MdOutlinePrint';\nimport { MdPersonOutline as PERSON } from '@react-icons/all-files/md/MdPersonOutline';\nimport { MdPhotoSizeSelectSmall as SIZE } from '@react-icons/all-files/md/MdPhotoSizeSelectSmall';\nimport { MdSingleBed as BED_SINGLE } from '@react-icons/all-files/md/MdSingleBed';\nimport { MdUnfoldMore as UNFOLD } from '@react-icons/all-files/md/MdUnfoldMore';\nimport { TbDiscountCheck as OFFER } from '@react-icons/all-files/tb/TbDiscountCheck';\n\nimport { ICON_AMENITIES } from './ICON.AMENITIES';\n\nexport const ICON = {\n ...ICON_BASE,\n THREE_D,\n ACCOUNT,\n ADD_EXTRAS,\n ALARM,\n BED_DOUBLE,\n BED_SINGLE,\n CALENDAR,\n CALENDAR_BUSY,\n CALENDAR_CANCEL,\n CALENDAR_EDIT,\n CLEAR,\n CURRENCY,\n GROUP,\n GROUPS,\n LANGUAGE,\n LINK,\n LIST,\n LOCATION,\n LOCK,\n MAIL,\n MORE,\n OFFER,\n PEOPLE,\n PERSON,\n PERSON_OFF,\n PLAY,\n PRINT,\n SITE,\n SIZE,\n UNFOLD,\n // Amenities & Features,\n ...ICON_AMENITIES,\n};\n"],"mappings":";;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,uBAAA,GAAAL,OAAA;AACA,IAAAM,qBAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,aAAA,GAAAR,OAAA;AACA,IAAAS,uBAAA,GAAAT,OAAA;AACA,IAAAU,0BAAA,GAAAV,OAAA;AACA,IAAAW,sBAAA,GAAAX,OAAA;AACA,IAAAY,mBAAA,GAAAZ,OAAA;AACA,IAAAa,0BAAA,GAAAb,OAAA;AACA,IAAAc,eAAA,GAAAd,OAAA;AACA,IAAAe,gBAAA,GAAAf,OAAA;AACA,IAAAgB,kBAAA,GAAAhB,OAAA;AACA,IAAAiB,cAAA,GAAAjB,OAAA;AACA,IAAAkB,iBAAA,GAAAlB,OAAA;AACA,IAAAmB,oBAAA,GAAAnB,OAAA;AACA,IAAAoB,cAAA,GAAApB,OAAA;AACA,IAAAqB,
|
|
1
|
+
{"version":3,"file":"ICON.js","names":["_ui","require","_GrThreeD","_MdAccessAlarm","_MdMailOutline","_MdMoreVert","_MdOutlineAccountCircle","_MdOutlineAddToPhotos","_MdOutlineAutorenew","_MdOutlineBed","_MdOutlineCalendarToday","_MdOutlineCurrencyExchange","_MdOutlineEditCalendar","_MdOutlineEventBusy","_MdOutlineFreeCancellation","_MdOutlineGroup","_MdOutlineGroups","_MdOutlineLanguage","_MdOutlineLink","_MdOutlineListAlt","_MdOutlineLocationOn","_MdOutlineLock","_MdOutlineLogout","_MdOutlinePageview","_MdOutlinePeopleAlt","_MdOutlinePersonOff","_MdOutlinePlayCircle","_MdOutlinePrint","_MdPersonOutline","_MdPhotoSizeSelectSmall","_MdSingleBed","_MdUnfoldMore","_TbDiscountCheck","_ICON","ICON","exports","ICON_BASE","THREE_D","ACCOUNT","ADD_EXTRAS","ALARM","BED_DOUBLE","BED_SINGLE","CALENDAR","CALENDAR_BUSY","CALENDAR_CANCEL","CALENDAR_EDIT","CLEAR","CURRENCY","GROUP","GROUPS","LANGUAGE","LINK","LIST","LOCATION","LOCK","LOGOUT","MAIL","MORE","OFFER","PEOPLE","PERSON","PERSON_OFF","PLAY","PRINT","SITE","SIZE","UNFOLD","ICON_AMENITIES"],"sources":["../../../src/components/helpers/ICON.js"],"sourcesContent":["import { ICON as ICON_BASE } from '@mirai/ui';\nimport { GrThreeD as THREE_D } from '@react-icons/all-files/gr/GrThreeD';\nimport { MdAccessAlarm as ALARM } from '@react-icons/all-files/md/MdAccessAlarm';\nimport { MdMailOutline as MAIL } from '@react-icons/all-files/md/MdMailOutline';\nimport { MdMoreVert as MORE } from '@react-icons/all-files/md/MdMoreVert';\nimport { MdOutlineAccountCircle as ACCOUNT } from '@react-icons/all-files/md/MdOutlineAccountCircle';\nimport { MdOutlineAddToPhotos as ADD_EXTRAS } from '@react-icons/all-files/md/MdOutlineAddToPhotos';\nimport { MdOutlineAutorenew as CLEAR } from '@react-icons/all-files/md/MdOutlineAutorenew';\nimport { MdOutlineBed as BED_DOUBLE } from '@react-icons/all-files/md/MdOutlineBed';\nimport { MdOutlineCalendarToday as CALENDAR } from '@react-icons/all-files/md/MdOutlineCalendarToday';\nimport { MdOutlineCurrencyExchange as CURRENCY } from '@react-icons/all-files/md/MdOutlineCurrencyExchange';\nimport { MdOutlineEditCalendar as CALENDAR_EDIT } from '@react-icons/all-files/md/MdOutlineEditCalendar';\nimport { MdOutlineEventBusy as CALENDAR_BUSY } from '@react-icons/all-files/md/MdOutlineEventBusy';\nimport { MdOutlineFreeCancellation as CALENDAR_CANCEL } from '@react-icons/all-files/md/MdOutlineFreeCancellation';\nimport { MdOutlineGroup as GROUP } from '@react-icons/all-files/md/MdOutlineGroup';\nimport { MdOutlineGroups as GROUPS } from '@react-icons/all-files/md/MdOutlineGroups';\nimport { MdOutlineLanguage as LANGUAGE } from '@react-icons/all-files/md/MdOutlineLanguage';\nimport { MdOutlineLink as LINK } from '@react-icons/all-files/md/MdOutlineLink';\nimport { MdOutlineListAlt as LIST } from '@react-icons/all-files/md/MdOutlineListAlt';\nimport { MdOutlineLocationOn as LOCATION } from '@react-icons/all-files/md/MdOutlineLocationOn';\nimport { MdOutlineLock as LOCK } from '@react-icons/all-files/md/MdOutlineLock';\nimport { MdOutlineLogout as LOGOUT } from '@react-icons/all-files/md/MdOutlineLogout';\nimport { MdOutlinePageview as SITE } from '@react-icons/all-files/md/MdOutlinePageview';\nimport { MdOutlinePeopleAlt as PEOPLE } from '@react-icons/all-files/md/MdOutlinePeopleAlt';\nimport { MdOutlinePersonOff as PERSON_OFF } from '@react-icons/all-files/md/MdOutlinePersonOff';\nimport { MdOutlinePlayCircle as PLAY } from '@react-icons/all-files/md/MdOutlinePlayCircle';\nimport { MdOutlinePrint as PRINT } from '@react-icons/all-files/md/MdOutlinePrint';\nimport { MdPersonOutline as PERSON } from '@react-icons/all-files/md/MdPersonOutline';\nimport { MdPhotoSizeSelectSmall as SIZE } from '@react-icons/all-files/md/MdPhotoSizeSelectSmall';\nimport { MdSingleBed as BED_SINGLE } from '@react-icons/all-files/md/MdSingleBed';\nimport { MdUnfoldMore as UNFOLD } from '@react-icons/all-files/md/MdUnfoldMore';\nimport { TbDiscountCheck as OFFER } from '@react-icons/all-files/tb/TbDiscountCheck';\n\nimport { ICON_AMENITIES } from './ICON.AMENITIES';\n\nexport const ICON = {\n ...ICON_BASE,\n THREE_D,\n ACCOUNT,\n ADD_EXTRAS,\n ALARM,\n BED_DOUBLE,\n BED_SINGLE,\n CALENDAR,\n CALENDAR_BUSY,\n CALENDAR_CANCEL,\n CALENDAR_EDIT,\n CLEAR,\n CURRENCY,\n G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