@cuemath/leap 3.1.12 → 3.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/country.js.map +1 -1
- package/dist/features/auth/account-selector/account-selector.js +1 -1
- package/dist/features/auth/account-selector/account-selector.js.map +1 -1
- package/dist/features/auth/auth-constants.js +13 -0
- package/dist/features/auth/auth-constants.js.map +1 -0
- package/dist/features/auth/{user-list → comps/user-list}/user-item/user-item-styled.js +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item-styled.js.map +1 -0
- package/dist/features/auth/{user-list → comps/user-list}/user-item/user-item.js +4 -4
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -0
- package/dist/features/auth/comps/user-list/user-list-constants.js.map +1 -0
- package/dist/features/auth/comps/user-list/user-list-styled.js.map +1 -0
- package/dist/features/auth/{user-list → comps/user-list}/user-list.js +3 -3
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -0
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js +1 -1
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +1 -1
- package/dist/features/auth/signup/signup-constants.js +1 -10
- package/dist/features/auth/signup/signup-constants.js.map +1 -1
- package/dist/features/ui/inputs/text-input/text-input-styled.js +18 -13
- package/dist/features/ui/inputs/text-input/text-input-styled.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +84 -82
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/features/auth/user-list/user-item/user-item-styled.js.map +0 -1
- package/dist/features/auth/user-list/user-item/user-item.js.map +0 -1
- package/dist/features/auth/user-list/user-list-constants.js.map +0 -1
- package/dist/features/auth/user-list/user-list-styled.js.map +0 -1
- package/dist/features/auth/user-list/user-list.js.map +0 -1
- /package/dist/features/auth/{user-list → comps/user-list}/user-list-constants.js +0 -0
- /package/dist/features/auth/{user-list → comps/user-list}/user-list-styled.js +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"country.js","sources":["../../src/constants/country.ts"],"sourcesContent":["const COUNTRY_MAP = [\n { country_code: '91', name: 'India', region_code: 'IN' },\n { country_code: '1', name: 'United States', region_code: 'US' },\n { country_code: '44', name: 'United Kingdom', region_code: 'GB' },\n { country_code: '65', name: 'Singapore', region_code: 'SG' },\n { country_code: '61', name: 'Australia', region_code: 'AU' },\n { country_code: '64', name: 'New Zealand', region_code: 'NZ' },\n {\n country_code: '971',\n name: 'United Ar',\n region_code: 'AE',\n },\n];\n\nconst baseImgUrl = `https://d138zd1ktt9iqe.cloudfront.net/static/website_2_0/images/country-flags`;\n\nexport const COUNTRY_CODE_MAP = [\n {\n id: 'india',\n code: '91',\n label: '+91',\n value: 'India',\n icon: `${baseImgUrl}/india.png`,\n url: `${baseImgUrl}/india.png`,\n geoIPCountryCode: 'IN',\n },\n {\n id: 'united-states-of-america',\n code: '1',\n label: '+1',\n value: 'USA',\n icon: `${baseImgUrl}/united-states-of-america.png`,\n url: `${baseImgUrl}/united-states-of-america.png`,\n geoIPCountryCode: 'US',\n },\n {\n id: 'afghanistan',\n code: '93',\n label: '+93',\n value: 'Afghanistan',\n icon: `${baseImgUrl}/afghanistan.png`,\n url: `${baseImgUrl}/afghanistan.png`,\n geoIPCountryCode: 'AF',\n },\n {\n id: 'albania',\n code: '355',\n label: '+355',\n value: 'Albania',\n icon: `${baseImgUrl}/Albania.png`,\n url: `${baseImgUrl}/Albania.png`,\n geoIPCountryCode: 'AL',\n },\n {\n id: 'algeria',\n code: '213',\n label: '+213',\n value: 'Algeria',\n icon: `${baseImgUrl}/Algeria.png`,\n url: `${baseImgUrl}/Algeria.png`,\n geoIPCountryCode: 'DZ',\n },\n {\n id: 'american-samoa',\n code: '685',\n label: '+685',\n value: 'Samoa',\n icon: `${baseImgUrl}/american-samoa.png`,\n url: `${baseImgUrl}/american-samoa.png`,\n geoIPCountryCode: 'AS',\n },\n {\n id: 'anguilla',\n code: '1264',\n label: '+1264',\n value: 'Anguilla',\n icon: `${baseImgUrl}/Anguilla.png`,\n url: `${baseImgUrl}/Anguilla.png`,\n geoIPCountryCode: 'AI',\n },\n {\n id: 'antigua-and-barbuda',\n code: '1268',\n label: '+1268',\n value: 'Antigua and Barbuda',\n icon: `${baseImgUrl}/Antigua-and-Barbuda.png`,\n url: `${baseImgUrl}/Antigua-and-Barbuda.png`,\n geoIPCountryCode: 'AG',\n },\n {\n id: 'argentina',\n code: '54',\n label: '+54',\n value: 'Argentina',\n icon: `${baseImgUrl}/argentina.png`,\n url: `${baseImgUrl}/argentina.png`,\n geoIPCountryCode: 'AR',\n },\n {\n id: 'armenia',\n code: '374',\n label: '+374',\n value: 'Armenia',\n icon: `${baseImgUrl}/Armenia.png`,\n url: `${baseImgUrl}/Armenia.png`,\n geoIPCountryCode: 'AM',\n },\n {\n id: 'australia',\n code: '61',\n label: '+61',\n value: 'Australia',\n icon: `${baseImgUrl}/australia.png`,\n url: `${baseImgUrl}/australia.png`,\n geoIPCountryCode: 'AU',\n },\n {\n id: 'austria',\n code: '43',\n label: '+43',\n value: 'Austria',\n icon: `${baseImgUrl}/austria.png`,\n url: `${baseImgUrl}/austria.png`,\n geoIPCountryCode: 'AT',\n },\n {\n id: 'azerbaijan',\n code: '994',\n label: '+994',\n value: 'Azerbaijan',\n icon: `${baseImgUrl}/Azerbaijan.png`,\n url: `${baseImgUrl}/Azerbaijan.png`,\n geoIPCountryCode: 'AZ',\n },\n {\n id: 'bahrain',\n code: '973',\n label: '+973',\n value: 'Bahrain',\n icon: `${baseImgUrl}/bahrain.png`,\n url: `${baseImgUrl}/bahrain.png`,\n geoIPCountryCode: 'BH',\n },\n {\n id: 'bangladesh',\n code: '880',\n label: '+880',\n value: 'Bangladesh',\n icon: `${baseImgUrl}/bangladesh.png`,\n url: `${baseImgUrl}/bangladesh.png`,\n geoIPCountryCode: 'BD',\n },\n {\n id: 'belarus',\n code: '375',\n label: '+375',\n value: 'Belarus',\n icon: `${baseImgUrl}/Belarus.png`,\n url: `${baseImgUrl}/Belarus.png`,\n geoIPCountryCode: 'BY',\n },\n {\n id: 'belgium',\n code: '32',\n label: '+32',\n value: 'Belgium',\n icon: `${baseImgUrl}/belgium.png`,\n url: `${baseImgUrl}/belgium.png`,\n geoIPCountryCode: 'BE',\n },\n {\n id: 'bermuda',\n code: '1441',\n label: '+1441',\n value: 'Bermuda',\n icon: `${baseImgUrl}/bermuda.png`,\n url: `${baseImgUrl}/bermuda.png`,\n geoIPCountryCode: 'BM',\n },\n {\n id: 'bhutan',\n code: '975',\n label: '+975',\n value: 'Bhutan',\n icon: `${baseImgUrl}/bhutan.png`,\n url: `${baseImgUrl}/bhutan.png`,\n geoIPCountryCode: 'BT',\n },\n {\n id: 'bosnia-and-herzegovina',\n code: '387',\n label: '+387',\n value: 'Bosnia And Herzegovina',\n icon: `${baseImgUrl}/Bosnia-And-Herzegovina.png`,\n url: `${baseImgUrl}/Bosnia-And-Herzegovina.png`,\n geoIPCountryCode: 'BA',\n },\n {\n id: 'brazil',\n code: '55',\n label: '+55',\n value: 'Brazil',\n icon: `${baseImgUrl}/brazil.png`,\n url: `${baseImgUrl}/brazil.png`,\n geoIPCountryCode: 'BR',\n },\n {\n id: 'bulgaria',\n code: '359',\n label: '+359',\n value: 'Bulgaria',\n icon: `${baseImgUrl}/bulgaria.png`,\n url: `${baseImgUrl}/bulgaria.png`,\n geoIPCountryCode: 'BG',\n },\n {\n id: 'cambodia',\n code: '855',\n label: '+855',\n value: 'Cambodia',\n icon: `${baseImgUrl}/cambodia.png`,\n url: `${baseImgUrl}/cambodia.png`,\n geoIPCountryCode: 'KH',\n },\n {\n id: 'cameroon',\n code: '237',\n label: '+237',\n value: 'Cameroon',\n icon: `${baseImgUrl}/Cameroon.png`,\n url: `${baseImgUrl}/Cameroon.png`,\n geoIPCountryCode: 'CM',\n },\n {\n id: 'canada',\n code: '1',\n label: '+1',\n value: 'Canada',\n icon: `${baseImgUrl}/canada.png`,\n url: `${baseImgUrl}/canada.png`,\n geoIPCountryCode: 'CA',\n },\n {\n id: 'chile',\n code: '56',\n label: '+56',\n value: 'Chile',\n icon: `${baseImgUrl}/chile.png`,\n url: `${baseImgUrl}/chile.png`,\n geoIPCountryCode: 'CL',\n },\n {\n id: 'china',\n code: '86',\n label: '+86',\n value: 'China',\n icon: `${baseImgUrl}/china.png`,\n url: `${baseImgUrl}/china.png`,\n geoIPCountryCode: 'CN',\n },\n {\n id: 'colombia',\n code: '57',\n label: '+57',\n value: 'Colombia',\n icon: `${baseImgUrl}/colombia.png`,\n url: `${baseImgUrl}/colombia.png`,\n geoIPCountryCode: 'CO',\n },\n {\n id: 'congo',\n code: '243',\n label: '+243',\n value: 'Congo',\n icon: `${baseImgUrl}/Congo.png`,\n url: `${baseImgUrl}/Congo.png`,\n geoIPCountryCode: 'CD',\n },\n {\n id: 'cuba',\n code: '53',\n label: '+53',\n value: 'Cuba',\n icon: `${baseImgUrl}/cuba.png`,\n url: `${baseImgUrl}/cuba.png`,\n geoIPCountryCode: 'CU',\n },\n {\n id: 'czech-republic',\n code: '420',\n label: '+420',\n value: 'Czech Republic',\n icon: `${baseImgUrl}/czech-republic.png`,\n url: `${baseImgUrl}/czech-republic.png`,\n geoIPCountryCode: 'CZ',\n },\n {\n id: 'denmark',\n code: '45',\n label: '+45',\n value: 'Denmark',\n icon: `${baseImgUrl}/denmark.png`,\n url: `${baseImgUrl}/denmark.png`,\n geoIPCountryCode: 'DK',\n },\n {\n id: 'ecuador',\n code: '593',\n label: '+593',\n value: 'Ecuador',\n icon: `${baseImgUrl}/Ecuador.png`,\n url: `${baseImgUrl}/Ecuador.png`,\n geoIPCountryCode: 'EC',\n },\n {\n id: 'egypt',\n code: '20',\n label: '+20',\n value: 'Egypt',\n icon: `${baseImgUrl}/egypt.png`,\n url: `${baseImgUrl}/egypt.png`,\n geoIPCountryCode: 'EG',\n },\n {\n id: 'ethiopia',\n code: '251',\n label: '+251',\n value: 'Ethiopia',\n icon: `${baseImgUrl}/ethiopia.png`,\n url: `${baseImgUrl}/ethiopia.png`,\n geoIPCountryCode: 'ET',\n },\n {\n id: 'finland',\n code: '358',\n label: '+358',\n value: 'Finland',\n icon: `${baseImgUrl}/finland.png`,\n url: `${baseImgUrl}/finland.png`,\n geoIPCountryCode: 'FI',\n },\n {\n id: 'france',\n code: '33',\n label: '+33',\n value: 'France',\n icon: `${baseImgUrl}/france.png`,\n url: `${baseImgUrl}/france.png`,\n geoIPCountryCode: 'FR',\n },\n {\n id: 'gambia',\n code: '220',\n label: '+220',\n value: 'Gambia',\n icon: `${baseImgUrl}/Gambia.png`,\n url: `${baseImgUrl}/Gambia.png`,\n geoIPCountryCode: 'GM',\n },\n {\n id: 'germany',\n code: '49',\n label: '+49',\n value: 'Germany',\n icon: `${baseImgUrl}/germany.png`,\n url: `${baseImgUrl}/germany.png`,\n geoIPCountryCode: 'DE',\n },\n {\n id: 'ghana',\n code: '233',\n label: '+233',\n value: 'Ghana',\n icon: `${baseImgUrl}/ghana.png`,\n url: `${baseImgUrl}/ghana.png`,\n geoIPCountryCode: 'GH',\n },\n {\n id: 'hong-kong',\n code: '852',\n label: '+852',\n value: 'Hong Kong',\n icon: `${baseImgUrl}/hong-kong.png`,\n url: `${baseImgUrl}/hong-kong.png`,\n geoIPCountryCode: 'HK',\n },\n {\n id: 'hungary',\n code: '36',\n label: '+36',\n value: 'Hungary',\n icon: `${baseImgUrl}/hungary.png`,\n url: `${baseImgUrl}/hungary.png`,\n geoIPCountryCode: 'HU',\n },\n {\n id: 'iceland',\n code: '354',\n label: '+354',\n value: 'Iceland',\n icon: `${baseImgUrl}/iceland.png`,\n url: `${baseImgUrl}/iceland.png`,\n geoIPCountryCode: 'IS',\n },\n\n {\n id: 'indonesia',\n code: '62',\n label: '+62',\n value: 'Indonesia',\n icon: `${baseImgUrl}/indonesia.png`,\n url: `${baseImgUrl}/indonesia.png`,\n geoIPCountryCode: 'ID',\n },\n {\n id: 'iran',\n code: '98',\n label: '+98',\n value: 'Iran',\n icon: `${baseImgUrl}/Iran.png`,\n url: `${baseImgUrl}/Iran.png`,\n geoIPCountryCode: 'IR',\n },\n {\n id: 'iraq',\n code: '964',\n label: '+964',\n value: 'Iraq',\n icon: `${baseImgUrl}/iraq.png`,\n url: `${baseImgUrl}/iraq.png`,\n geoIPCountryCode: 'IQ',\n },\n {\n id: 'ireland',\n code: '353',\n label: '+353',\n value: 'Ireland',\n icon: `${baseImgUrl}/ireland.png`,\n url: `${baseImgUrl}/ireland.png`,\n geoIPCountryCode: 'IE',\n },\n {\n id: 'israel',\n code: '972',\n label: '+972',\n value: 'Israel',\n icon: `${baseImgUrl}/israel.png`,\n url: `${baseImgUrl}/israel.png`,\n geoIPCountryCode: 'IL',\n },\n {\n id: 'italy',\n code: '39',\n label: '+39',\n value: 'Italy',\n icon: `${baseImgUrl}/italy.png`,\n url: `${baseImgUrl}/italy.png`,\n geoIPCountryCode: 'IT',\n },\n {\n id: 'jamaica',\n code: '876',\n label: '+876',\n value: 'Jamaica',\n icon: `${baseImgUrl}/jamaica.png`,\n url: `${baseImgUrl}/jamaica.png`,\n geoIPCountryCode: 'JM',\n },\n {\n id: 'japan',\n code: '81',\n label: '+81',\n value: 'Japan',\n icon: `${baseImgUrl}/japan.png`,\n url: `${baseImgUrl}/japan.png`,\n geoIPCountryCode: 'JP',\n },\n {\n id: 'jordan',\n code: '962',\n label: '+962',\n value: 'Jordan',\n icon: `${baseImgUrl}/jordan.png`,\n url: `${baseImgUrl}/jordan.png`,\n geoIPCountryCode: 'JO',\n },\n {\n id: 'kazakhstan',\n code: '7',\n label: '+7',\n value: 'Kazakhstan',\n icon: `${baseImgUrl}/Kazakhstan.png`,\n url: `${baseImgUrl}/Kazakhstan.png`,\n geoIPCountryCode: 'KZ',\n },\n {\n id: 'kenya',\n code: '254',\n label: '+254',\n value: 'Kenya',\n icon: `${baseImgUrl}/kenya.png`,\n url: `${baseImgUrl}/kenya.png`,\n geoIPCountryCode: 'KE',\n },\n {\n id: 'kuwait',\n code: '965',\n label: '+965',\n value: 'Kuwait',\n icon: `${baseImgUrl}/kuwait.png`,\n url: `${baseImgUrl}/kuwait.png`,\n geoIPCountryCode: 'KW',\n },\n {\n id: 'kyrgyzstan',\n code: '996',\n label: '+996',\n value: 'Kyrgyzstan',\n icon: `${baseImgUrl}/Kyrgyzstan.png`,\n url: `${baseImgUrl}/Kyrgyzstan.png`,\n geoIPCountryCode: 'KG',\n },\n {\n id: 'lebanon',\n code: '961',\n label: '+961',\n value: 'Lebanon',\n icon: `${baseImgUrl}/lebanon.png`,\n url: `${baseImgUrl}/lebanon.png`,\n geoIPCountryCode: 'LB',\n },\n {\n id: 'lesotho',\n code: '266',\n label: '+266',\n value: 'Lesotho',\n icon: `${baseImgUrl}/Lesotho.png`,\n url: `${baseImgUrl}/Lesotho.png`,\n geoIPCountryCode: 'LS',\n },\n {\n id: 'liberia',\n code: '231',\n label: '+231',\n value: 'Liberia',\n icon: `${baseImgUrl}/Liberia.png`,\n url: `${baseImgUrl}/Liberia.png`,\n geoIPCountryCode: 'LR',\n },\n {\n id: 'libya',\n code: '218',\n label: '+218',\n value: 'Libya',\n icon: `${baseImgUrl}/Libya.png`,\n url: `${baseImgUrl}/Libya.png`,\n geoIPCountryCode: 'LY',\n },\n {\n id: 'lithuania',\n code: '370',\n label: '+370',\n value: 'Lithuania',\n icon: `${baseImgUrl}/lithuania.png`,\n url: `${baseImgUrl}/lithuania.png`,\n geoIPCountryCode: 'LT',\n },\n {\n id: 'malawi',\n code: '265',\n label: '+265',\n value: 'Malawi',\n icon: `${baseImgUrl}/Malawi.png`,\n url: `${baseImgUrl}/Malawi.png`,\n geoIPCountryCode: 'MW',\n },\n {\n id: 'malaysia',\n code: '60',\n label: '+60',\n value: 'Malaysia',\n icon: `${baseImgUrl}/malaysia.png`,\n url: `${baseImgUrl}/malaysia.png`,\n geoIPCountryCode: 'MY',\n },\n {\n id: 'mali',\n code: '223',\n label: '+223',\n value: 'Mali',\n icon: `${baseImgUrl}/Mali.png`,\n url: `${baseImgUrl}/Mali.png`,\n geoIPCountryCode: 'ML',\n },\n {\n id: 'mauritius',\n code: '230',\n label: '+230',\n value: 'Mauritius',\n icon: `${baseImgUrl}/Mauritius.png`,\n url: `${baseImgUrl}/Mauritius.png`,\n geoIPCountryCode: 'MU',\n },\n {\n id: 'mexico',\n code: '52',\n label: '+52',\n value: 'Mexico',\n icon: `${baseImgUrl}/mexico.png`,\n url: `${baseImgUrl}/mexico.png`,\n geoIPCountryCode: 'MX',\n },\n {\n id: 'mongolia',\n code: '976',\n label: '+976',\n value: 'Mongolia',\n icon: `${baseImgUrl}/Mongolia.png`,\n url: `${baseImgUrl}/Mongolia.png`,\n geoIPCountryCode: 'MN',\n },\n {\n id: 'morocco',\n code: '212',\n label: '+212',\n value: 'Morocco',\n icon: `${baseImgUrl}/morocco.png`,\n url: `${baseImgUrl}/morocco.png`,\n geoIPCountryCode: 'MA',\n },\n {\n id: 'myanmar',\n code: '95',\n label: '+95',\n value: 'Myanmar',\n icon: `${baseImgUrl}/myanmar.png`,\n url: `${baseImgUrl}/myanmar.png`,\n geoIPCountryCode: 'MM',\n },\n {\n id: 'namibia',\n code: '264',\n label: '+264',\n value: 'Namibia',\n icon: `${baseImgUrl}/Namibia.png`,\n url: `${baseImgUrl}/Namibia.png`,\n geoIPCountryCode: 'NA',\n },\n {\n id: 'nepal',\n code: '977',\n label: '+977',\n value: 'Nepal',\n icon: `${baseImgUrl}/nepal.png`,\n url: `${baseImgUrl}/nepal.png`,\n geoIPCountryCode: 'NP',\n },\n {\n id: 'netherlands',\n code: '31',\n label: '+31',\n value: 'Netherlands',\n icon: `${baseImgUrl}/netherlands.png`,\n url: `${baseImgUrl}/netherlands.png`,\n geoIPCountryCode: 'NL',\n },\n {\n id: 'new-zealand',\n code: '64',\n label: '+64',\n value: 'New Zealand',\n icon: `${baseImgUrl}/new-zealand.png`,\n url: `${baseImgUrl}/new-zealand.png`,\n geoIPCountryCode: 'NZ',\n },\n {\n id: 'niger',\n code: '227',\n label: '+227',\n value: 'Niger',\n icon: `${baseImgUrl}/Niger.png`,\n url: `${baseImgUrl}/Niger.png`,\n geoIPCountryCode: 'NE',\n },\n {\n id: 'nigeria',\n code: '234',\n label: '+234',\n value: 'Nigeria',\n icon: `${baseImgUrl}/nigeria.png`,\n url: `${baseImgUrl}/nigeria.png`,\n geoIPCountryCode: 'NG',\n },\n {\n id: 'northern-marianas-islands',\n code: '1670',\n label: '+1670',\n value: 'Northern Marianas Islands',\n icon: `${baseImgUrl}/northern-marianas-islands.png`,\n url: `${baseImgUrl}/northern-marianas-islands.png`,\n geoIPCountryCode: 'MP',\n },\n {\n id: 'norway',\n code: '47',\n label: '+47',\n value: 'Norway',\n icon: `${baseImgUrl}/norway.png`,\n url: `${baseImgUrl}/norway.png`,\n geoIPCountryCode: 'NO',\n },\n {\n id: 'oman',\n code: '968',\n label: '+968',\n value: 'Oman',\n icon: `${baseImgUrl}/oman.png`,\n url: `${baseImgUrl}/oman.png`,\n geoIPCountryCode: 'OM',\n },\n {\n id: 'papua-new-guinea',\n code: '675',\n label: '+675',\n value: 'Papua New Guinea',\n icon: `${baseImgUrl}/Papua-New-Guinea.png`,\n url: `${baseImgUrl}/Papua-New-Guinea.png`,\n geoIPCountryCode: 'PG',\n },\n {\n id: 'philippines',\n code: '63',\n label: '+63',\n value: 'Philippines',\n icon: `${baseImgUrl}/philippines.png`,\n url: `${baseImgUrl}/philippines.png`,\n geoIPCountryCode: 'PH',\n },\n {\n id: 'poland',\n code: '48',\n label: '+48',\n value: 'Poland',\n icon: `${baseImgUrl}/poland.png`,\n url: `${baseImgUrl}/poland.png`,\n geoIPCountryCode: 'PL',\n },\n {\n id: 'portugal',\n code: '351',\n label: '+351',\n value: 'Portugal',\n icon: `${baseImgUrl}/portugal.png`,\n url: `${baseImgUrl}/portugal.png`,\n geoIPCountryCode: 'PT',\n },\n {\n id: 'puerto-rico',\n code: '1939',\n label: '+1939',\n value: 'Puerto Rico',\n icon: `${baseImgUrl}/puerto-rico.png`,\n url: `${baseImgUrl}/puerto-rico.png`,\n geoIPCountryCode: 'PR',\n },\n {\n id: 'qatar',\n code: '974',\n label: '+974',\n value: 'Qatar',\n icon: `${baseImgUrl}/qatar.png`,\n url: `${baseImgUrl}/qatar.png`,\n geoIPCountryCode: 'QA',\n },\n {\n id: 'romania',\n code: '40',\n label: '+40',\n value: 'Romania',\n icon: `${baseImgUrl}/romania.png`,\n url: `${baseImgUrl}/romania.png`,\n geoIPCountryCode: 'RO',\n },\n {\n id: 'rwanda',\n code: '250',\n label: '+250',\n value: 'Rwanda',\n icon: `${baseImgUrl}/Rwanda.png`,\n url: `${baseImgUrl}/Rwanda.png`,\n geoIPCountryCode: 'RW',\n },\n {\n id: 'saudi-arabia',\n code: '966',\n label: '+966',\n value: 'Saudi Arabia',\n icon: `${baseImgUrl}/saudi-arabia.png`,\n url: `${baseImgUrl}/saudi-arabia.png`,\n geoIPCountryCode: 'SA',\n },\n {\n id: 'senegal',\n code: '221',\n label: '+221',\n value: 'Senegal',\n icon: `${baseImgUrl}/Senegal.png`,\n url: `${baseImgUrl}/Senegal.png`,\n geoIPCountryCode: 'SN',\n },\n {\n id: 'sierra-leone',\n code: '232',\n label: '+232',\n value: 'Sierra Leone',\n icon: `${baseImgUrl}/Sierra-leone.png`,\n url: `${baseImgUrl}/Sierra-leone.png`,\n geoIPCountryCode: 'SL',\n },\n {\n id: 'singapore',\n code: '65',\n label: '+65',\n value: 'Singapore',\n icon: `${baseImgUrl}/singapore.png`,\n url: `${baseImgUrl}/singapore.png`,\n geoIPCountryCode: 'SG',\n },\n {\n id: 'somalia',\n code: '252',\n label: '+252',\n value: 'Somalia',\n icon: `${baseImgUrl}/Somalia.png`,\n url: `${baseImgUrl}/Somalia.png`,\n geoIPCountryCode: 'SO',\n },\n {\n id: 'south Korea',\n code: '82',\n label: '+82',\n value: 'South Korea',\n icon: `${baseImgUrl}/south-korea.png`,\n url: `${baseImgUrl}/south-korea.png`,\n geoIPCountryCode: 'KR',\n },\n {\n id: 'south-africa',\n code: '27',\n label: '+27',\n value: 'South Africa',\n icon: `${baseImgUrl}/south-africa.png`,\n url: `${baseImgUrl}/south-africa.png`,\n geoIPCountryCode: 'ZA',\n },\n {\n id: 'spain',\n code: '34',\n label: '+34',\n value: 'Spain',\n icon: `${baseImgUrl}/spain.png`,\n url: `${baseImgUrl}/spain.png`,\n geoIPCountryCode: 'ES',\n },\n {\n id: 'sri-lanka',\n code: '94',\n label: '+94',\n value: 'Sri Lanka',\n icon: `${baseImgUrl}/sri-lanka.png`,\n url: `${baseImgUrl}/sri-lanka.png`,\n geoIPCountryCode: 'LK',\n },\n {\n id: 'sweden',\n code: '46',\n label: '+46',\n value: 'Sweden',\n icon: `${baseImgUrl}/sweden.png`,\n url: `${baseImgUrl}/sweden.png`,\n geoIPCountryCode: 'SE',\n },\n {\n id: 'switzerland',\n code: '41',\n label: '+41',\n value: 'Switzerland',\n icon: `${baseImgUrl}/Switzerland.png`,\n url: `${baseImgUrl}/Switzerland.png`,\n geoIPCountryCode: 'CH',\n },\n {\n id: 'syria',\n code: '963',\n label: '+963',\n value: 'Syria',\n icon: `${baseImgUrl}/Syria.png`,\n url: `${baseImgUrl}/Syria.png`,\n geoIPCountryCode: 'SY',\n },\n {\n id: 'tanzania',\n code: '255',\n label: '+255',\n value: 'Tanzania',\n icon: `${baseImgUrl}/tanzania.png`,\n url: `${baseImgUrl}/tanzania.png`,\n geoIPCountryCode: 'TZ',\n },\n {\n id: 'thailand',\n code: '66',\n label: '+66',\n value: 'Thailand',\n icon: `${baseImgUrl}/thailand.png`,\n url: `${baseImgUrl}/thailand.png`,\n geoIPCountryCode: 'TH',\n },\n {\n id: 'tunisia',\n code: '216',\n label: '+216',\n value: 'Tunisia',\n icon: `${baseImgUrl}/Tunisia.png`,\n url: `${baseImgUrl}/Tunisia.png`,\n geoIPCountryCode: 'TN',\n },\n {\n id: 'turkey',\n code: '90',\n label: '+90',\n value: 'Turkey',\n icon: `${baseImgUrl}/turkey.png`,\n url: `${baseImgUrl}/turkey.png`,\n geoIPCountryCode: 'TR',\n },\n {\n id: 'uganda',\n code: '256',\n label: '+256',\n value: 'Uganda',\n icon: `${baseImgUrl}/Uganda.png`,\n url: `${baseImgUrl}/Uganda.png`,\n geoIPCountryCode: 'UG',\n },\n {\n id: 'ukraine',\n code: '380',\n label: '+380',\n value: 'Ukraine',\n icon: `${baseImgUrl}/ukraine.png`,\n url: `${baseImgUrl}/ukraine.png`,\n geoIPCountryCode: 'UA',\n },\n {\n id: 'united-arab-emirates',\n code: '971',\n label: '+971',\n value: 'United Arab Emirates',\n icon: `${baseImgUrl}/united-arab-emirates.png`,\n url: `${baseImgUrl}/united-arab-emirates.png`,\n geoIPCountryCode: 'AE',\n },\n {\n id: 'united-kingdom',\n code: '44',\n label: '+44',\n value: 'United Kingdom',\n icon: `${baseImgUrl}/united-kingdom.png`,\n url: `${baseImgUrl}/united-kingdom.png`,\n geoIPCountryCode: 'GB',\n },\n {\n id: 'uzbekistan',\n code: '998',\n label: '+998',\n value: 'Uzbekistan',\n icon: `${baseImgUrl}/uzbekistan.png`,\n url: `${baseImgUrl}/uzbekistan.png`,\n geoIPCountryCode: 'UZ',\n },\n {\n id: 'vietnam',\n code: '84',\n label: '+84',\n value: 'Vietnam',\n icon: `${baseImgUrl}/vietnam.png`,\n url: `${baseImgUrl}/vietnam.png`,\n geoIPCountryCode: 'VN',\n },\n {\n id: 'yemen',\n code: '967',\n label: '+967',\n value: 'Yemen',\n icon: `${baseImgUrl}/Yemen.png`,\n url: `${baseImgUrl}/Yemen.png`,\n geoIPCountryCode: 'YE',\n },\n {\n id: 'zambia',\n code: '260',\n label: '+260',\n value: 'Zambia',\n icon: `${baseImgUrl}/zambia.png`,\n url: `${baseImgUrl}/zambia.png`,\n geoIPCountryCode: 'ZM',\n },\n];\n\nexport { COUNTRY_MAP };\n"],"names":["COUNTRY_MAP","baseImgUrl","COUNTRY_CODE_MAP"],"mappings":"AAAA,MAAMA,IAAc;AAAA,EAClB,EAAE,cAA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MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AACF;"}
|
1
|
+
{"version":3,"file":"country.js","sources":["../../src/constants/country.ts"],"sourcesContent":["const COUNTRY_MAP = [\n { country_code: '91', name: 'India', region_code: 'IN' },\n { country_code: '1', name: 'United States', region_code: 'US' },\n { country_code: '44', name: 'United Kingdom', region_code: 'GB' },\n { country_code: '65', name: 'Singapore', region_code: 'SG' },\n { country_code: '61', name: 'Australia', region_code: 'AU' },\n { country_code: '64', name: 'New Zealand', region_code: 'NZ' },\n {\n country_code: '971',\n name: 'United Ar',\n region_code: 'AE',\n },\n];\n\nconst baseImgUrl = `https://d138zd1ktt9iqe.cloudfront.net/static/website_2_0/images/country-flags`;\n\nconst COUNTRY_CODE_MAP = [\n {\n id: 'india',\n code: '91',\n label: '+91',\n value: 'India',\n icon: `${baseImgUrl}/india.png`,\n url: `${baseImgUrl}/india.png`,\n geoIPCountryCode: 'IN',\n },\n {\n id: 'united-states-of-america',\n code: '1',\n label: '+1',\n value: 'USA',\n icon: `${baseImgUrl}/united-states-of-america.png`,\n url: `${baseImgUrl}/united-states-of-america.png`,\n geoIPCountryCode: 'US',\n },\n {\n id: 'afghanistan',\n code: '93',\n label: '+93',\n value: 'Afghanistan',\n icon: `${baseImgUrl}/afghanistan.png`,\n url: `${baseImgUrl}/afghanistan.png`,\n geoIPCountryCode: 'AF',\n },\n {\n id: 'albania',\n code: '355',\n label: '+355',\n value: 'Albania',\n icon: `${baseImgUrl}/Albania.png`,\n url: `${baseImgUrl}/Albania.png`,\n geoIPCountryCode: 'AL',\n },\n {\n id: 'algeria',\n code: '213',\n label: '+213',\n value: 'Algeria',\n icon: `${baseImgUrl}/Algeria.png`,\n url: `${baseImgUrl}/Algeria.png`,\n geoIPCountryCode: 'DZ',\n },\n {\n id: 'american-samoa',\n code: '685',\n label: '+685',\n value: 'Samoa',\n icon: `${baseImgUrl}/american-samoa.png`,\n url: `${baseImgUrl}/american-samoa.png`,\n geoIPCountryCode: 'AS',\n },\n {\n id: 'anguilla',\n code: '1264',\n label: '+1264',\n value: 'Anguilla',\n icon: `${baseImgUrl}/Anguilla.png`,\n url: `${baseImgUrl}/Anguilla.png`,\n geoIPCountryCode: 'AI',\n },\n {\n id: 'antigua-and-barbuda',\n code: '1268',\n label: '+1268',\n value: 'Antigua and Barbuda',\n icon: `${baseImgUrl}/Antigua-and-Barbuda.png`,\n url: `${baseImgUrl}/Antigua-and-Barbuda.png`,\n geoIPCountryCode: 'AG',\n },\n {\n id: 'argentina',\n code: '54',\n label: '+54',\n value: 'Argentina',\n icon: `${baseImgUrl}/argentina.png`,\n url: `${baseImgUrl}/argentina.png`,\n geoIPCountryCode: 'AR',\n },\n {\n id: 'armenia',\n code: '374',\n label: '+374',\n value: 'Armenia',\n icon: `${baseImgUrl}/Armenia.png`,\n url: `${baseImgUrl}/Armenia.png`,\n geoIPCountryCode: 'AM',\n },\n {\n id: 'australia',\n code: '61',\n label: '+61',\n value: 'Australia',\n icon: `${baseImgUrl}/australia.png`,\n url: `${baseImgUrl}/australia.png`,\n geoIPCountryCode: 'AU',\n },\n {\n id: 'austria',\n code: '43',\n label: '+43',\n value: 'Austria',\n icon: `${baseImgUrl}/austria.png`,\n url: `${baseImgUrl}/austria.png`,\n geoIPCountryCode: 'AT',\n },\n {\n id: 'azerbaijan',\n code: '994',\n label: '+994',\n value: 'Azerbaijan',\n icon: `${baseImgUrl}/Azerbaijan.png`,\n url: `${baseImgUrl}/Azerbaijan.png`,\n geoIPCountryCode: 'AZ',\n },\n {\n id: 'bahrain',\n code: '973',\n label: '+973',\n value: 'Bahrain',\n icon: `${baseImgUrl}/bahrain.png`,\n url: `${baseImgUrl}/bahrain.png`,\n geoIPCountryCode: 'BH',\n },\n {\n id: 'bangladesh',\n code: '880',\n label: '+880',\n value: 'Bangladesh',\n icon: `${baseImgUrl}/bangladesh.png`,\n url: `${baseImgUrl}/bangladesh.png`,\n geoIPCountryCode: 'BD',\n },\n {\n id: 'belarus',\n code: '375',\n label: '+375',\n value: 'Belarus',\n icon: `${baseImgUrl}/Belarus.png`,\n url: `${baseImgUrl}/Belarus.png`,\n geoIPCountryCode: 'BY',\n },\n {\n id: 'belgium',\n code: '32',\n label: '+32',\n value: 'Belgium',\n icon: `${baseImgUrl}/belgium.png`,\n url: `${baseImgUrl}/belgium.png`,\n geoIPCountryCode: 'BE',\n },\n {\n id: 'bermuda',\n code: '1441',\n label: '+1441',\n value: 'Bermuda',\n icon: `${baseImgUrl}/bermuda.png`,\n url: `${baseImgUrl}/bermuda.png`,\n geoIPCountryCode: 'BM',\n },\n {\n id: 'bhutan',\n code: '975',\n label: '+975',\n value: 'Bhutan',\n icon: `${baseImgUrl}/bhutan.png`,\n url: `${baseImgUrl}/bhutan.png`,\n geoIPCountryCode: 'BT',\n },\n {\n id: 'bosnia-and-herzegovina',\n code: '387',\n label: '+387',\n value: 'Bosnia And Herzegovina',\n icon: `${baseImgUrl}/Bosnia-And-Herzegovina.png`,\n url: `${baseImgUrl}/Bosnia-And-Herzegovina.png`,\n geoIPCountryCode: 'BA',\n },\n {\n id: 'brazil',\n code: '55',\n label: '+55',\n value: 'Brazil',\n icon: `${baseImgUrl}/brazil.png`,\n url: `${baseImgUrl}/brazil.png`,\n geoIPCountryCode: 'BR',\n },\n {\n id: 'bulgaria',\n code: '359',\n label: '+359',\n value: 'Bulgaria',\n icon: `${baseImgUrl}/bulgaria.png`,\n url: `${baseImgUrl}/bulgaria.png`,\n geoIPCountryCode: 'BG',\n },\n {\n id: 'cambodia',\n code: '855',\n label: '+855',\n value: 'Cambodia',\n icon: `${baseImgUrl}/cambodia.png`,\n url: `${baseImgUrl}/cambodia.png`,\n geoIPCountryCode: 'KH',\n },\n {\n id: 'cameroon',\n code: '237',\n label: '+237',\n value: 'Cameroon',\n icon: `${baseImgUrl}/Cameroon.png`,\n url: `${baseImgUrl}/Cameroon.png`,\n geoIPCountryCode: 'CM',\n },\n {\n id: 'canada',\n code: '1',\n label: '+1',\n value: 'Canada',\n icon: `${baseImgUrl}/canada.png`,\n url: `${baseImgUrl}/canada.png`,\n geoIPCountryCode: 'CA',\n },\n {\n id: 'chile',\n code: '56',\n label: '+56',\n value: 'Chile',\n icon: `${baseImgUrl}/chile.png`,\n url: `${baseImgUrl}/chile.png`,\n geoIPCountryCode: 'CL',\n },\n {\n id: 'china',\n code: '86',\n label: '+86',\n value: 'China',\n icon: `${baseImgUrl}/china.png`,\n url: `${baseImgUrl}/china.png`,\n geoIPCountryCode: 'CN',\n },\n {\n id: 'colombia',\n code: '57',\n label: '+57',\n value: 'Colombia',\n icon: `${baseImgUrl}/colombia.png`,\n url: `${baseImgUrl}/colombia.png`,\n geoIPCountryCode: 'CO',\n },\n {\n id: 'congo',\n code: '243',\n label: '+243',\n value: 'Congo',\n icon: `${baseImgUrl}/Congo.png`,\n url: `${baseImgUrl}/Congo.png`,\n geoIPCountryCode: 'CD',\n },\n {\n id: 'cuba',\n code: '53',\n label: '+53',\n value: 'Cuba',\n icon: `${baseImgUrl}/cuba.png`,\n url: `${baseImgUrl}/cuba.png`,\n geoIPCountryCode: 'CU',\n },\n {\n id: 'czech-republic',\n code: '420',\n label: '+420',\n value: 'Czech Republic',\n icon: `${baseImgUrl}/czech-republic.png`,\n url: `${baseImgUrl}/czech-republic.png`,\n geoIPCountryCode: 'CZ',\n },\n {\n id: 'denmark',\n code: '45',\n label: '+45',\n value: 'Denmark',\n icon: `${baseImgUrl}/denmark.png`,\n url: `${baseImgUrl}/denmark.png`,\n geoIPCountryCode: 'DK',\n },\n {\n id: 'ecuador',\n code: '593',\n label: '+593',\n value: 'Ecuador',\n icon: `${baseImgUrl}/Ecuador.png`,\n url: `${baseImgUrl}/Ecuador.png`,\n geoIPCountryCode: 'EC',\n },\n {\n id: 'egypt',\n code: '20',\n label: '+20',\n value: 'Egypt',\n icon: `${baseImgUrl}/egypt.png`,\n url: `${baseImgUrl}/egypt.png`,\n geoIPCountryCode: 'EG',\n },\n {\n id: 'ethiopia',\n code: '251',\n label: '+251',\n value: 'Ethiopia',\n icon: `${baseImgUrl}/ethiopia.png`,\n url: `${baseImgUrl}/ethiopia.png`,\n geoIPCountryCode: 'ET',\n },\n {\n id: 'finland',\n code: '358',\n label: '+358',\n value: 'Finland',\n icon: `${baseImgUrl}/finland.png`,\n url: `${baseImgUrl}/finland.png`,\n geoIPCountryCode: 'FI',\n },\n {\n id: 'france',\n code: '33',\n label: '+33',\n value: 'France',\n icon: `${baseImgUrl}/france.png`,\n url: `${baseImgUrl}/france.png`,\n geoIPCountryCode: 'FR',\n },\n {\n id: 'gambia',\n code: '220',\n label: '+220',\n value: 'Gambia',\n icon: `${baseImgUrl}/Gambia.png`,\n url: `${baseImgUrl}/Gambia.png`,\n geoIPCountryCode: 'GM',\n },\n {\n id: 'germany',\n code: '49',\n label: '+49',\n value: 'Germany',\n icon: `${baseImgUrl}/germany.png`,\n url: `${baseImgUrl}/germany.png`,\n geoIPCountryCode: 'DE',\n },\n {\n id: 'ghana',\n code: '233',\n label: '+233',\n value: 'Ghana',\n icon: `${baseImgUrl}/ghana.png`,\n url: `${baseImgUrl}/ghana.png`,\n geoIPCountryCode: 'GH',\n },\n {\n id: 'hong-kong',\n code: '852',\n label: '+852',\n value: 'Hong Kong',\n icon: `${baseImgUrl}/hong-kong.png`,\n url: `${baseImgUrl}/hong-kong.png`,\n geoIPCountryCode: 'HK',\n },\n {\n id: 'hungary',\n code: '36',\n label: '+36',\n value: 'Hungary',\n icon: `${baseImgUrl}/hungary.png`,\n url: `${baseImgUrl}/hungary.png`,\n geoIPCountryCode: 'HU',\n },\n {\n id: 'iceland',\n code: '354',\n label: '+354',\n value: 'Iceland',\n icon: `${baseImgUrl}/iceland.png`,\n url: `${baseImgUrl}/iceland.png`,\n geoIPCountryCode: 'IS',\n },\n\n {\n id: 'indonesia',\n code: '62',\n label: '+62',\n value: 'Indonesia',\n icon: `${baseImgUrl}/indonesia.png`,\n url: `${baseImgUrl}/indonesia.png`,\n geoIPCountryCode: 'ID',\n },\n {\n id: 'iran',\n code: '98',\n label: '+98',\n value: 'Iran',\n icon: `${baseImgUrl}/Iran.png`,\n url: `${baseImgUrl}/Iran.png`,\n geoIPCountryCode: 'IR',\n },\n {\n id: 'iraq',\n code: '964',\n label: '+964',\n value: 'Iraq',\n icon: `${baseImgUrl}/iraq.png`,\n url: `${baseImgUrl}/iraq.png`,\n geoIPCountryCode: 'IQ',\n },\n {\n id: 'ireland',\n code: '353',\n label: '+353',\n value: 'Ireland',\n icon: `${baseImgUrl}/ireland.png`,\n url: `${baseImgUrl}/ireland.png`,\n geoIPCountryCode: 'IE',\n },\n {\n id: 'israel',\n code: '972',\n label: '+972',\n value: 'Israel',\n icon: `${baseImgUrl}/israel.png`,\n url: `${baseImgUrl}/israel.png`,\n geoIPCountryCode: 'IL',\n },\n {\n id: 'italy',\n code: '39',\n label: '+39',\n value: 'Italy',\n icon: `${baseImgUrl}/italy.png`,\n url: `${baseImgUrl}/italy.png`,\n geoIPCountryCode: 'IT',\n },\n {\n id: 'jamaica',\n code: '876',\n label: '+876',\n value: 'Jamaica',\n icon: `${baseImgUrl}/jamaica.png`,\n url: `${baseImgUrl}/jamaica.png`,\n geoIPCountryCode: 'JM',\n },\n {\n id: 'japan',\n code: '81',\n label: '+81',\n value: 'Japan',\n icon: `${baseImgUrl}/japan.png`,\n url: `${baseImgUrl}/japan.png`,\n geoIPCountryCode: 'JP',\n },\n {\n id: 'jordan',\n code: '962',\n label: '+962',\n value: 'Jordan',\n icon: `${baseImgUrl}/jordan.png`,\n url: `${baseImgUrl}/jordan.png`,\n geoIPCountryCode: 'JO',\n },\n {\n id: 'kazakhstan',\n code: '7',\n label: '+7',\n value: 'Kazakhstan',\n icon: `${baseImgUrl}/Kazakhstan.png`,\n url: `${baseImgUrl}/Kazakhstan.png`,\n geoIPCountryCode: 'KZ',\n },\n {\n id: 'kenya',\n code: '254',\n label: '+254',\n value: 'Kenya',\n icon: `${baseImgUrl}/kenya.png`,\n url: `${baseImgUrl}/kenya.png`,\n geoIPCountryCode: 'KE',\n },\n {\n id: 'kuwait',\n code: '965',\n label: '+965',\n value: 'Kuwait',\n icon: `${baseImgUrl}/kuwait.png`,\n url: `${baseImgUrl}/kuwait.png`,\n geoIPCountryCode: 'KW',\n },\n {\n id: 'kyrgyzstan',\n code: '996',\n label: '+996',\n value: 'Kyrgyzstan',\n icon: `${baseImgUrl}/Kyrgyzstan.png`,\n url: `${baseImgUrl}/Kyrgyzstan.png`,\n geoIPCountryCode: 'KG',\n },\n {\n id: 'lebanon',\n code: '961',\n label: '+961',\n value: 'Lebanon',\n icon: `${baseImgUrl}/lebanon.png`,\n url: `${baseImgUrl}/lebanon.png`,\n geoIPCountryCode: 'LB',\n },\n {\n id: 'lesotho',\n code: '266',\n label: '+266',\n value: 'Lesotho',\n icon: `${baseImgUrl}/Lesotho.png`,\n url: `${baseImgUrl}/Lesotho.png`,\n geoIPCountryCode: 'LS',\n },\n {\n id: 'liberia',\n code: '231',\n label: '+231',\n value: 'Liberia',\n icon: `${baseImgUrl}/Liberia.png`,\n url: `${baseImgUrl}/Liberia.png`,\n geoIPCountryCode: 'LR',\n },\n {\n id: 'libya',\n code: '218',\n label: '+218',\n value: 'Libya',\n icon: `${baseImgUrl}/Libya.png`,\n url: `${baseImgUrl}/Libya.png`,\n geoIPCountryCode: 'LY',\n },\n {\n id: 'lithuania',\n code: '370',\n label: '+370',\n value: 'Lithuania',\n icon: `${baseImgUrl}/lithuania.png`,\n url: `${baseImgUrl}/lithuania.png`,\n geoIPCountryCode: 'LT',\n },\n {\n id: 'malawi',\n code: '265',\n label: '+265',\n value: 'Malawi',\n icon: `${baseImgUrl}/Malawi.png`,\n url: `${baseImgUrl}/Malawi.png`,\n geoIPCountryCode: 'MW',\n },\n {\n id: 'malaysia',\n code: '60',\n label: '+60',\n value: 'Malaysia',\n icon: `${baseImgUrl}/malaysia.png`,\n url: `${baseImgUrl}/malaysia.png`,\n geoIPCountryCode: 'MY',\n },\n {\n id: 'mali',\n code: '223',\n label: '+223',\n value: 'Mali',\n icon: `${baseImgUrl}/Mali.png`,\n url: `${baseImgUrl}/Mali.png`,\n geoIPCountryCode: 'ML',\n },\n {\n id: 'mauritius',\n code: '230',\n label: '+230',\n value: 'Mauritius',\n icon: `${baseImgUrl}/Mauritius.png`,\n url: `${baseImgUrl}/Mauritius.png`,\n geoIPCountryCode: 'MU',\n },\n {\n id: 'mexico',\n code: '52',\n label: '+52',\n value: 'Mexico',\n icon: `${baseImgUrl}/mexico.png`,\n url: `${baseImgUrl}/mexico.png`,\n geoIPCountryCode: 'MX',\n },\n {\n id: 'mongolia',\n code: '976',\n label: '+976',\n value: 'Mongolia',\n icon: `${baseImgUrl}/Mongolia.png`,\n url: `${baseImgUrl}/Mongolia.png`,\n geoIPCountryCode: 'MN',\n },\n {\n id: 'morocco',\n code: '212',\n label: '+212',\n value: 'Morocco',\n icon: `${baseImgUrl}/morocco.png`,\n url: `${baseImgUrl}/morocco.png`,\n geoIPCountryCode: 'MA',\n },\n {\n id: 'myanmar',\n code: '95',\n label: '+95',\n value: 'Myanmar',\n icon: `${baseImgUrl}/myanmar.png`,\n url: `${baseImgUrl}/myanmar.png`,\n geoIPCountryCode: 'MM',\n },\n {\n id: 'namibia',\n code: '264',\n label: '+264',\n value: 'Namibia',\n icon: `${baseImgUrl}/Namibia.png`,\n url: `${baseImgUrl}/Namibia.png`,\n geoIPCountryCode: 'NA',\n },\n {\n id: 'nepal',\n code: '977',\n label: '+977',\n value: 'Nepal',\n icon: `${baseImgUrl}/nepal.png`,\n url: `${baseImgUrl}/nepal.png`,\n geoIPCountryCode: 'NP',\n },\n {\n id: 'netherlands',\n code: '31',\n label: '+31',\n value: 'Netherlands',\n icon: `${baseImgUrl}/netherlands.png`,\n url: `${baseImgUrl}/netherlands.png`,\n geoIPCountryCode: 'NL',\n },\n {\n id: 'new-zealand',\n code: '64',\n label: '+64',\n value: 'New Zealand',\n icon: `${baseImgUrl}/new-zealand.png`,\n url: `${baseImgUrl}/new-zealand.png`,\n geoIPCountryCode: 'NZ',\n },\n {\n id: 'niger',\n code: '227',\n label: '+227',\n value: 'Niger',\n icon: `${baseImgUrl}/Niger.png`,\n url: `${baseImgUrl}/Niger.png`,\n geoIPCountryCode: 'NE',\n },\n {\n id: 'nigeria',\n code: '234',\n label: '+234',\n value: 'Nigeria',\n icon: `${baseImgUrl}/nigeria.png`,\n url: `${baseImgUrl}/nigeria.png`,\n geoIPCountryCode: 'NG',\n },\n {\n id: 'northern-marianas-islands',\n code: '1670',\n label: '+1670',\n value: 'Northern Marianas Islands',\n icon: `${baseImgUrl}/northern-marianas-islands.png`,\n url: `${baseImgUrl}/northern-marianas-islands.png`,\n geoIPCountryCode: 'MP',\n },\n {\n id: 'norway',\n code: '47',\n label: '+47',\n value: 'Norway',\n icon: `${baseImgUrl}/norway.png`,\n url: `${baseImgUrl}/norway.png`,\n geoIPCountryCode: 'NO',\n },\n {\n id: 'oman',\n code: '968',\n label: '+968',\n value: 'Oman',\n icon: `${baseImgUrl}/oman.png`,\n url: `${baseImgUrl}/oman.png`,\n geoIPCountryCode: 'OM',\n },\n {\n id: 'papua-new-guinea',\n code: '675',\n label: '+675',\n value: 'Papua New Guinea',\n icon: `${baseImgUrl}/Papua-New-Guinea.png`,\n url: `${baseImgUrl}/Papua-New-Guinea.png`,\n geoIPCountryCode: 'PG',\n },\n {\n id: 'philippines',\n code: '63',\n label: '+63',\n value: 'Philippines',\n icon: `${baseImgUrl}/philippines.png`,\n url: `${baseImgUrl}/philippines.png`,\n geoIPCountryCode: 'PH',\n },\n {\n id: 'poland',\n code: '48',\n label: '+48',\n value: 'Poland',\n icon: `${baseImgUrl}/poland.png`,\n url: `${baseImgUrl}/poland.png`,\n geoIPCountryCode: 'PL',\n },\n {\n id: 'portugal',\n code: '351',\n label: '+351',\n value: 'Portugal',\n icon: `${baseImgUrl}/portugal.png`,\n url: `${baseImgUrl}/portugal.png`,\n geoIPCountryCode: 'PT',\n },\n {\n id: 'puerto-rico',\n code: '1939',\n label: '+1939',\n value: 'Puerto Rico',\n icon: `${baseImgUrl}/puerto-rico.png`,\n url: `${baseImgUrl}/puerto-rico.png`,\n geoIPCountryCode: 'PR',\n },\n {\n id: 'qatar',\n code: '974',\n label: '+974',\n value: 'Qatar',\n icon: `${baseImgUrl}/qatar.png`,\n url: `${baseImgUrl}/qatar.png`,\n geoIPCountryCode: 'QA',\n },\n {\n id: 'romania',\n code: '40',\n label: '+40',\n value: 'Romania',\n icon: `${baseImgUrl}/romania.png`,\n url: `${baseImgUrl}/romania.png`,\n geoIPCountryCode: 'RO',\n },\n {\n id: 'rwanda',\n code: '250',\n label: '+250',\n value: 'Rwanda',\n icon: `${baseImgUrl}/Rwanda.png`,\n url: `${baseImgUrl}/Rwanda.png`,\n geoIPCountryCode: 'RW',\n },\n {\n id: 'saudi-arabia',\n code: '966',\n label: '+966',\n value: 'Saudi Arabia',\n icon: `${baseImgUrl}/saudi-arabia.png`,\n url: `${baseImgUrl}/saudi-arabia.png`,\n geoIPCountryCode: 'SA',\n },\n {\n id: 'senegal',\n code: '221',\n label: '+221',\n value: 'Senegal',\n icon: `${baseImgUrl}/Senegal.png`,\n url: `${baseImgUrl}/Senegal.png`,\n geoIPCountryCode: 'SN',\n },\n {\n id: 'sierra-leone',\n code: '232',\n label: '+232',\n value: 'Sierra Leone',\n icon: `${baseImgUrl}/Sierra-leone.png`,\n url: `${baseImgUrl}/Sierra-leone.png`,\n geoIPCountryCode: 'SL',\n },\n {\n id: 'singapore',\n code: '65',\n label: '+65',\n value: 'Singapore',\n icon: `${baseImgUrl}/singapore.png`,\n url: `${baseImgUrl}/singapore.png`,\n geoIPCountryCode: 'SG',\n },\n {\n id: 'somalia',\n code: '252',\n label: '+252',\n value: 'Somalia',\n icon: `${baseImgUrl}/Somalia.png`,\n url: `${baseImgUrl}/Somalia.png`,\n geoIPCountryCode: 'SO',\n },\n {\n id: 'south Korea',\n code: '82',\n label: '+82',\n value: 'South Korea',\n icon: `${baseImgUrl}/south-korea.png`,\n url: `${baseImgUrl}/south-korea.png`,\n geoIPCountryCode: 'KR',\n },\n {\n id: 'south-africa',\n code: '27',\n label: '+27',\n value: 'South Africa',\n icon: `${baseImgUrl}/south-africa.png`,\n url: `${baseImgUrl}/south-africa.png`,\n geoIPCountryCode: 'ZA',\n },\n {\n id: 'spain',\n code: '34',\n label: '+34',\n value: 'Spain',\n icon: `${baseImgUrl}/spain.png`,\n url: `${baseImgUrl}/spain.png`,\n geoIPCountryCode: 'ES',\n },\n {\n id: 'sri-lanka',\n code: '94',\n label: '+94',\n value: 'Sri Lanka',\n icon: `${baseImgUrl}/sri-lanka.png`,\n url: `${baseImgUrl}/sri-lanka.png`,\n geoIPCountryCode: 'LK',\n },\n {\n id: 'sweden',\n code: '46',\n label: '+46',\n value: 'Sweden',\n icon: `${baseImgUrl}/sweden.png`,\n url: `${baseImgUrl}/sweden.png`,\n geoIPCountryCode: 'SE',\n },\n {\n id: 'switzerland',\n code: '41',\n label: '+41',\n value: 'Switzerland',\n icon: `${baseImgUrl}/Switzerland.png`,\n url: `${baseImgUrl}/Switzerland.png`,\n geoIPCountryCode: 'CH',\n },\n {\n id: 'syria',\n code: '963',\n label: '+963',\n value: 'Syria',\n icon: `${baseImgUrl}/Syria.png`,\n url: `${baseImgUrl}/Syria.png`,\n geoIPCountryCode: 'SY',\n },\n {\n id: 'tanzania',\n code: '255',\n label: '+255',\n value: 'Tanzania',\n icon: `${baseImgUrl}/tanzania.png`,\n url: `${baseImgUrl}/tanzania.png`,\n geoIPCountryCode: 'TZ',\n },\n {\n id: 'thailand',\n code: '66',\n label: '+66',\n value: 'Thailand',\n icon: `${baseImgUrl}/thailand.png`,\n url: `${baseImgUrl}/thailand.png`,\n geoIPCountryCode: 'TH',\n },\n {\n id: 'tunisia',\n code: '216',\n label: '+216',\n value: 'Tunisia',\n icon: `${baseImgUrl}/Tunisia.png`,\n url: `${baseImgUrl}/Tunisia.png`,\n geoIPCountryCode: 'TN',\n },\n {\n id: 'turkey',\n code: '90',\n label: '+90',\n value: 'Turkey',\n icon: `${baseImgUrl}/turkey.png`,\n url: `${baseImgUrl}/turkey.png`,\n geoIPCountryCode: 'TR',\n },\n {\n id: 'uganda',\n code: '256',\n label: '+256',\n value: 'Uganda',\n icon: `${baseImgUrl}/Uganda.png`,\n url: `${baseImgUrl}/Uganda.png`,\n geoIPCountryCode: 'UG',\n },\n {\n id: 'ukraine',\n code: '380',\n label: '+380',\n value: 'Ukraine',\n icon: `${baseImgUrl}/ukraine.png`,\n url: `${baseImgUrl}/ukraine.png`,\n geoIPCountryCode: 'UA',\n },\n {\n id: 'united-arab-emirates',\n code: '971',\n label: '+971',\n value: 'United Arab Emirates',\n icon: `${baseImgUrl}/united-arab-emirates.png`,\n url: `${baseImgUrl}/united-arab-emirates.png`,\n geoIPCountryCode: 'AE',\n },\n {\n id: 'united-kingdom',\n code: '44',\n label: '+44',\n value: 'United Kingdom',\n icon: `${baseImgUrl}/united-kingdom.png`,\n url: `${baseImgUrl}/united-kingdom.png`,\n geoIPCountryCode: 'GB',\n },\n {\n id: 'uzbekistan',\n code: '998',\n label: '+998',\n value: 'Uzbekistan',\n icon: `${baseImgUrl}/uzbekistan.png`,\n url: `${baseImgUrl}/uzbekistan.png`,\n geoIPCountryCode: 'UZ',\n },\n {\n id: 'vietnam',\n code: '84',\n label: '+84',\n value: 'Vietnam',\n icon: `${baseImgUrl}/vietnam.png`,\n url: `${baseImgUrl}/vietnam.png`,\n geoIPCountryCode: 'VN',\n },\n {\n id: 'yemen',\n code: '967',\n label: '+967',\n value: 'Yemen',\n icon: `${baseImgUrl}/Yemen.png`,\n url: `${baseImgUrl}/Yemen.png`,\n geoIPCountryCode: 'YE',\n },\n {\n id: 'zambia',\n code: '260',\n label: '+260',\n value: 'Zambia',\n icon: `${baseImgUrl}/zambia.png`,\n url: `${baseImgUrl}/zambia.png`,\n geoIPCountryCode: 'ZM',\n },\n];\n\nexport { COUNTRY_MAP, COUNTRY_CODE_MAP };\n"],"names":["COUNTRY_MAP","baseImgUrl","COUNTRY_CODE_MAP"],"mappings":"AAAA,MAAMA,IAAc;AAAA,EAClB,EAAE,cAAc,MAAM,MAAM,SAAS,aAAa,KAAK;AAAA,EACvD,EAAE,cAAc,KAAK,MAAM,iBAAiB,aAAa,KAAK;AAAA,EAC9D,EAAE,cAAc,MAAM,MAAM,kBAAkB,aAAa,KAAK;AAAA,EAChE,EAAE,cAAc,MAAM,MAAM,aAAa,aAAa,K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AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OAAO;AAAA,IACP,OAAO;AAAA,IACP,MAAM,GAAGA,CAAU;AAAA,IACnB,KAAK,GAAGA,CAAU;AAAA,IAClB,kBAAkB;AAAA,EACpB;AACF;"}
|
@@ -7,7 +7,7 @@ import t from "../../ui/layout/flex-view.js";
|
|
7
7
|
import o from "../../ui/separator/separator.js";
|
8
8
|
import c from "../../ui/text/text.js";
|
9
9
|
import f from "../comps/overlay-loader/overlay-loader.js";
|
10
|
-
import d from "../user-list/user-list.js";
|
10
|
+
import d from "../comps/user-list/user-list.js";
|
11
11
|
import { ImageWrapper as g } from "./account-selector-styled.js";
|
12
12
|
const u = ({
|
13
13
|
userAccounts: m,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account-selector.js","sources":["../../../../src/features/auth/account-selector/account-selector.tsx"],"sourcesContent":["import type { IAccountSelectorViewProps } from './account-selector-types';\n\nimport { memo } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport useViewport from '../../hooks/use-viewport/use-viewport';\nimport Image from '../../ui/image/image';\nimport FlexView from '../../ui/layout/flex-view';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport OverlayLoader from '../comps/overlay-loader/overlay-loader';\nimport UserList from '../user-list/user-list';\nimport * as Styled from './account-selector-styled';\n\nconst AccountSelector = ({\n userAccounts,\n onSelect,\n onAddNew,\n isLoading,\n}: IAccountSelectorViewProps) => {\n const { isCompact } = useViewport();\n\n return (\n <FlexView\n $flex={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n $gapX={2}\n >\n <OverlayLoader isLoading={isLoading} />\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Parent Signup\" withLoader={false} />\n <Separator heightX={1} />\n <Text $renderAs=\"ab1\" $color=\"WHITE_T_60\" $align=\"center\">\n Switch between accounts\n </Text>\n <Separator heightX={isCompact ? 1.5 : 5} />\n <UserList users={userAccounts} onSelect={onSelect} onAddNew={onAddNew} />\n <Separator heightX={isCompact ? 1.5 : 5} />\n <FlexView\n $gutterX={0.5}\n $gapX={1}\n $flexGapX={0.5}\n $width={280}\n $borderColor=\"BLACK_5\"\n $background=\"BLACK_3\"\n $flexDirection=\"row\"\n >\n <Styled.ImageWrapper\n src={ILLUSTRATIONS.CUEMATH_APP_QR_CODE}\n width={80}\n height={80}\n withLoader={false}\n />\n <FlexView $gapX={0.5} $flex={1}>\n <Text $color=\"WHITE\" $renderAs={isCompact ? 'ab3' : 'ab2'}>\n Download the cuemath app to view your children’s report\n </Text>\n </FlexView>\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(AccountSelector);\n"],"names":["AccountSelector","userAccounts","onSelect","onAddNew","isLoading","isCompact","useViewport","jsxs","FlexView","jsx","OverlayLoader","Image","ILLUSTRATIONS","Separator","Text","UserList","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K,OAAO,GAC3B,UAAA,gBAAAC,EAACK,GAAK,EAAA,QAAO,SAAQ,WAAWT,IAAY,QAAQ,OAAO,oEAE3D,CAAA,GACF;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeY,IAAAC,EAAKlB,CAAe;"}
|
1
|
+
{"version":3,"file":"account-selector.js","sources":["../../../../src/features/auth/account-selector/account-selector.tsx"],"sourcesContent":["import type { IAccountSelectorViewProps } from './account-selector-types';\n\nimport { memo } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../assets/illustrations/illustrations';\nimport useViewport from '../../hooks/use-viewport/use-viewport';\nimport Image from '../../ui/image/image';\nimport FlexView from '../../ui/layout/flex-view';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport OverlayLoader from '../comps/overlay-loader/overlay-loader';\nimport UserList from '../comps/user-list/user-list';\nimport * as Styled from './account-selector-styled';\n\nconst AccountSelector = ({\n userAccounts,\n onSelect,\n onAddNew,\n isLoading,\n}: IAccountSelectorViewProps) => {\n const { isCompact } = useViewport();\n\n return (\n <FlexView\n $flex={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n $gapX={2}\n >\n <OverlayLoader isLoading={isLoading} />\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Parent Signup\" withLoader={false} />\n <Separator heightX={1} />\n <Text $renderAs=\"ab1\" $color=\"WHITE_T_60\" $align=\"center\">\n Switch between accounts\n </Text>\n <Separator heightX={isCompact ? 1.5 : 5} />\n <UserList users={userAccounts} onSelect={onSelect} onAddNew={onAddNew} />\n <Separator heightX={isCompact ? 1.5 : 5} />\n <FlexView\n $gutterX={0.5}\n $gapX={1}\n $flexGapX={0.5}\n $width={280}\n $borderColor=\"BLACK_5\"\n $background=\"BLACK_3\"\n $flexDirection=\"row\"\n >\n <Styled.ImageWrapper\n src={ILLUSTRATIONS.CUEMATH_APP_QR_CODE}\n width={80}\n height={80}\n withLoader={false}\n />\n <FlexView $gapX={0.5} $flex={1}>\n <Text $color=\"WHITE\" $renderAs={isCompact ? 'ab3' : 'ab2'}>\n Download the cuemath app to view your children’s report\n </Text>\n </FlexView>\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(AccountSelector);\n"],"names":["AccountSelector","userAccounts","onSelect","onAddNew","isLoading","isCompact","useViewport","jsxs","FlexView","jsx","OverlayLoader","Image","ILLUSTRATIONS","Separator","Text","UserList","Styled.ImageWrapper","accountSelector","memo"],"mappings":";;;;;;;;;;;AAcA,MAAMA,IAAkB,CAAC;AAAA,EACvB,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AACF,MAAiC;AACzB,QAAA,EAAE,WAAAC,MAAcC;AAGpB,SAAA,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,OAAO;AAAA,MAEP,UAAA;AAAA,QAAA,gBAAAC,EAACC,KAAc,WAAAN,GAAsB;AAAA,QACrC,gBAAAK,EAACE,KAAM,KAAKC,EAAc,2BAA2B,KAAI,iBAAgB,YAAY,IAAO;AAAA,QAC5F,gBAAAH,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,QACvB,gBAAAJ,EAACK,KAAK,WAAU,OAAM,QAAO,cAAa,QAAO,UAAS,UAE1D,0BAAA,CAAA;AAAA,QACC,gBAAAL,EAAAI,GAAA,EAAU,SAASR,IAAY,MAAM,GAAG;AAAA,QACxC,gBAAAI,EAAAM,GAAA,EAAS,OAAOd,GAAc,UAAAC,GAAoB,UAAAC,GAAoB;AAAA,QACtE,gBAAAM,EAAAI,GAAA,EAAU,SAASR,IAAY,MAAM,GAAG;AAAA,QACzC,gBAAAE;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAU;AAAA,YACV,OAAO;AAAA,YACP,WAAW;AAAA,YACX,QAAQ;AAAA,YACR,cAAa;AAAA,YACb,aAAY;AAAA,YACZ,gBAAe;AAAA,YAEf,UAAA;AAAA,cAAA,gBAAAC;AAAA,gBAACO;AAAAA,gBAAA;AAAA,kBACC,KAAKJ,EAAc;AAAA,kBACnB,OAAO;AAAA,kBACP,QAAQ;AAAA,kBACR,YAAY;AAAA,gBAAA;AAAA,cACd;AAAA,cACC,gBAAAH,EAAAD,GAAA,EAAS,OAAO,KAAK,OAAO,GAC3B,UAAA,gBAAAC,EAACK,GAAK,EAAA,QAAO,SAAQ,WAAWT,IAAY,QAAQ,OAAO,oEAE3D,CAAA,GACF;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEeY,IAAAC,EAAKlB,CAAe;"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
const _ = {
|
2
|
+
USER_NOT_FOUND: 8e3,
|
3
|
+
INVALID_PASSWORD: 8001,
|
4
|
+
MULTIPLE_USERS_FOUND: 8002,
|
5
|
+
ACCESS_TOKEN_FAILURE: 8003,
|
6
|
+
INVALID_ACCESS_TOKEN: 8004,
|
7
|
+
INVALID_USERNAME_OR_USER_ALREADY_EXIST: 8005,
|
8
|
+
SOCIAL_SIGNUP_EMAIL_MISSING: 8006
|
9
|
+
};
|
10
|
+
export {
|
11
|
+
_ as AuthApiErrorCode
|
12
|
+
};
|
13
|
+
//# sourceMappingURL=auth-constants.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"auth-constants.js","sources":["../../../src/features/auth/auth-constants.ts"],"sourcesContent":["export const AuthApiErrorCode = {\n USER_NOT_FOUND: 8000,\n INVALID_PASSWORD: 8001,\n MULTIPLE_USERS_FOUND: 8002,\n ACCESS_TOKEN_FAILURE: 8003,\n INVALID_ACCESS_TOKEN: 8004,\n INVALID_USERNAME_OR_USER_ALREADY_EXIST: 8005,\n SOCIAL_SIGNUP_EMAIL_MISSING: 8006,\n} as const;\n"],"names":["AuthApiErrorCode"],"mappings":"AAAO,MAAMA,IAAmB;AAAA,EAC9B,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,sBAAsB;AAAA,EACtB,sBAAsB;AAAA,EACtB,sBAAsB;AAAA,EACtB,wCAAwC;AAAA,EACxC,6BAA6B;AAC/B;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user-item-styled.js","sources":["../../../../../../src/features/auth/comps/user-list/user-item/user-item-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nexport const UserItemCard = styled(FlexView)<{\n index: number;\n isLastItem?: boolean;\n maxColumns: number;\n}>`\n cursor: pointer;\n transition: background-color 0.3s ease;\n position: relative;\n border-left: 1px solid ${({ theme }) => theme.colors.BLACK_5};\n border-bottom: 1px solid ${({ theme }) => theme.colors.BLACK_5};\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_2};\n }\n\n ${({ index, theme, maxColumns }) =>\n index < maxColumns && `border-top: 1px solid ${theme.colors.BLACK_5};`}\n\n ${({ index, isLastItem, theme, maxColumns }) =>\n ((index + 1) % maxColumns === 0 || isLastItem) &&\n `border-right: 1px solid ${theme.colors.BLACK_5};`}\n`;\n"],"names":["UserItemCard","styled","FlexView","theme","index","maxColumns","isLastItem"],"mappings":";;AAIa,MAAAA,IAAeC,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,2BAQhB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA,6BACjC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,wBAGxC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,IAGvD,CAAC,EAAE,OAAAC,GAAO,OAAAD,GAAO,YAAAE,EAAW,MAC5BD,IAAQC,KAAc,yBAAyBF,EAAM,OAAO,OAAO,GAAG;AAAA;AAAA,IAEtE,CAAC,EAAE,OAAAC,GAAO,YAAAE,GAAY,OAAAH,GAAO,YAAAE,EAC3B,QAAAD,IAAQ,KAAKC,MAAe,KAAKC,MACnC,2BAA2BH,EAAM,OAAO,OAAO,GAAG;AAAA;"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsxs as g, jsx as t } from "react/jsx-runtime";
|
2
2
|
import { memo as u, useCallback as C } from "react";
|
3
|
-
import A from "
|
4
|
-
import I from "
|
5
|
-
import b from "
|
6
|
-
import d from "
|
3
|
+
import A from "../../../../hooks/use-viewport/use-viewport.js";
|
4
|
+
import I from "../../../../ui/avatar/avatar.js";
|
5
|
+
import b from "../../../../ui/separator/separator.js";
|
6
|
+
import d from "../../../../ui/text/text.js";
|
7
7
|
import { AVATAR_CONFIGURATIONS as a } from "../user-list-constants.js";
|
8
8
|
import { UserItemCard as k } from "./user-item-styled.js";
|
9
9
|
const T = ({
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user-item.js","sources":["../../../../../../src/features/auth/comps/user-list/user-item/user-item.tsx"],"sourcesContent":["import type { IUserItemProps } from './user-item-types';\n\nimport { useCallback, type FC, memo } from 'react';\n\nimport useViewport from '../../../../hooks/use-viewport/use-viewport';\nimport Avatar from '../../../../ui/avatar/avatar';\nimport Separator from '../../../../ui/separator/separator';\nimport Text from '../../../../ui/text/text';\nimport { AVATAR_CONFIGURATIONS } from '../user-list-constants';\nimport * as Styled from './user-item-styled';\n\nconst UserItem: FC<IUserItemProps> = ({\n id,\n phone,\n username,\n avatar,\n index,\n isLastItem,\n onSelect,\n avatarSize,\n maxColumns,\n cardSize,\n}) => {\n const { isCompact } = useViewport();\n const handleClick = useCallback(() => {\n onSelect(id);\n }, [id, onSelect]);\n\n const avatarSource = avatar ?? AVATAR_CONFIGURATIONS[index % AVATAR_CONFIGURATIONS.length];\n\n return (\n <Styled.UserItemCard\n key={id}\n onClick={handleClick}\n maxColumns={maxColumns}\n $gutterX={1.5}\n $gapX={1.5}\n $width={cardSize}\n $height={cardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n index={index}\n isLastItem={isLastItem}\n $background=\"BLACK_1\"\n >\n <Avatar size={avatarSize} avatar={avatarSource} />\n <Separator heightX={0.5} />\n <Text $color=\"WHITE\" $renderAs={isCompact ? 'ab3' : 'ab2'} $align=\"center\">\n {username || phone}\n </Text>\n </Styled.UserItemCard>\n );\n};\n\nexport default memo(UserItem);\n"],"names":["UserItem","id","phone","username","avatar","index","isLastItem","onSelect","avatarSize","maxColumns","cardSize","isCompact","useViewport","handleClick","useCallback","avatarSource","AVATAR_CONFIGURATIONS","jsxs","Styled.UserItemCard","jsx","Avatar","Separator","Text","UserItem$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAA+B,CAAC;AAAA,EACpC,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AACF,MAAM;AACE,QAAA,EAAE,WAAAC,MAAcC,KAChBC,IAAcC,EAAY,MAAM;AACpC,IAAAP,EAASN,CAAE;AAAA,EAAA,GACV,CAACA,GAAIM,CAAQ,CAAC,GAEXQ,IAAeX,KAAUY,EAAsBX,IAAQW,EAAsB,MAAM;AAGvF,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,SAASL;AAAA,MACT,YAAAJ;AAAA,MACA,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQC;AAAA,MACR,SAASA;AAAA,MACT,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,OAAAL;AAAA,MACA,YAAAC;AAAA,MACA,aAAY;AAAA,MAEZ,UAAA;AAAA,QAAA,gBAAAa,EAACC,GAAO,EAAA,MAAMZ,GAAY,QAAQO,GAAc;AAAA,QAChD,gBAAAI,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAF,EAACG,GAAK,EAAA,QAAO,SAAQ,WAAWX,IAAY,QAAQ,OAAO,QAAO,UAC/D,UAAAR,KAAYD,EACf,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAjBKD;AAAA,EAAA;AAoBX,GAEesB,IAAAC,EAAKxB,CAAQ;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user-list-constants.js","sources":["../../../../../src/features/auth/comps/user-list/user-list-constants.ts"],"sourcesContent":["import type { IAvatarLayer } from '../../../ui/avatar/avatar-types';\n\nexport const AVATAR_CONFIGURATIONS: IAvatarLayer[][] = [\n [\n { key: 'layer-1', variant: 1, color: '#FF9999' },\n { key: 'layer-3', variant: 5 },\n { key: 'layer-4', variant: 18 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#E58600' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 9 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#00FF80' },\n { key: 'layer-3', variant: 17 },\n { key: 'layer-4', variant: 16 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#4CC3FF' },\n { key: 'layer-3', variant: 2 },\n { key: 'layer-4', variant: 9 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#00B259' },\n { key: 'layer-3', variant: 9 },\n { key: 'layer-4', variant: 2 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#0086E5' },\n { key: 'layer-3', variant: 8 },\n { key: 'layer-4', variant: 3 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#99E5FF' },\n { key: 'layer-3', variant: 14 },\n { key: 'layer-4', variant: 11 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#FF33DD' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 11 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#B366FF' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 6 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#CCCCCC' },\n { key: 'layer-3', variant: 11 },\n { key: 'layer-4', variant: 7 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#CCCCCC' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 16 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#E58600' },\n { key: 'layer-3', variant: 18 },\n { key: 'layer-4', variant: 8 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#0086E5' },\n { key: 'layer-3', variant: 8 },\n { key: 'layer-4', variant: 5 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#89F5BF' },\n { key: 'layer-3', variant: 16 },\n { key: 'layer-4', variant: 1 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#FF6A00' },\n { key: 'layer-3', variant: 4 },\n { key: 'layer-4', variant: 3 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#89F5BF' },\n { key: 'layer-3', variant: 3 },\n { key: 'layer-4', variant: 17 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#CCCCCC' },\n { key: 'layer-3', variant: 10 },\n { key: 'layer-4', variant: 3 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#99E5FF' },\n { key: 'layer-3', variant: 14 },\n { key: 'layer-4', variant: 1 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#F37070' },\n { key: 'layer-3', variant: 2 },\n { key: 'layer-4', variant: 16 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#FF470A' },\n { key: 'layer-3', variant: 18 },\n { key: 'layer-4', variant: 3 },\n ],\n];\n"],"names":["AVATAR_CONFIGURATIONS"],"mappings":"AAEO,MAAMA,IAA0C;AAAA,EACrD;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,IAC7B,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,EAChC;AAAA,EACA;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,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,IAC9B,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,IAC9B,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,IAC7B,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,EAChC;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,IAC9B,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,EAC/B;AACF;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user-list-styled.js","sources":["../../../../../src/features/auth/comps/user-list/user-list-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { UserItemCard } from './user-item/user-item-styled';\n\nexport const UserListWrapper = styled.div<{\n itemCount: number;\n maxColumns: number;\n cardWidth: number;\n}>`\n display: inline-grid;\n grid-template-columns: repeat(\n ${({ itemCount, maxColumns }) => (itemCount < maxColumns ? itemCount : maxColumns)},\n ${({ cardWidth }) => cardWidth}px\n );\n grid-auto-rows: ${({ cardWidth }) => cardWidth}px;\n`;\n\nexport const AddAccountButton = styled(UserItemCard)`\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_4};\n }\n`;\n"],"names":["UserListWrapper","styled","itemCount","maxColumns","cardWidth","AddAccountButton","UserItemCard","theme"],"mappings":";;AAIO,MAAMA,IAAkBC,EAAO;AAAA;AAAA;AAAA,MAOhC,CAAC,EAAE,WAAAC,GAAW,YAAAC,EAAA,MAAkBD,IAAYC,IAAaD,IAAYC,CAAW;AAAA,MAChF,CAAC,EAAE,WAAAC,EAAU,MAAMA,CAAS;AAAA;AAAA,oBAEd,CAAC,EAAE,WAAAA,EAAU,MAAMA,CAAS;AAAA,GAGnCC,IAAmBJ,EAAOK,CAAY;AAAA;AAAA,wBAE3B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsxs as $, jsx as r } from "react/jsx-runtime";
|
2
2
|
import { memo as g } from "react";
|
3
|
-
import x from "
|
4
|
-
import I from "
|
5
|
-
import L from "
|
3
|
+
import x from "../../../../assets/line-icons/icons/plus.js";
|
4
|
+
import I from "../../../hooks/use-viewport/use-viewport.js";
|
5
|
+
import L from "../../../ui/layout/flex-view.js";
|
6
6
|
import w from "./user-item/user-item.js";
|
7
7
|
import { UserListWrapper as U, AddAccountButton as j } from "./user-list-styled.js";
|
8
8
|
const v = ({
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user-list.js","sources":["../../../../../src/features/auth/comps/user-list/user-list.tsx"],"sourcesContent":["import type { IUserListProps } from './user-list-types';\n\nimport { type FC, memo } from 'react';\n\nimport PlusIcon from '../../../../assets/line-icons/icons/plus';\nimport useViewport from '../../../hooks/use-viewport/use-viewport';\nimport FlexView from '../../../ui/layout/flex-view';\nimport UserItem from './user-item/user-item';\nimport * as Styled from './user-list-styled';\n\nconst UserList: FC<IUserListProps> = ({\n users,\n onSelect,\n showAddButton = false,\n onAddNew,\n maxColumns = 5,\n cardSize = 200,\n avatarSize = 80,\n}) => {\n const totalCards = users.length + (showAddButton ? 1 : 0);\n const { isCompact } = useViewport();\n\n const responsiveColumnNos = isCompact ? 2 : maxColumns;\n const responsiveCardSize = isCompact ? 180 : cardSize;\n\n return (\n <Styled.UserListWrapper\n itemCount={totalCards}\n maxColumns={responsiveColumnNos}\n cardWidth={responsiveCardSize}\n >\n {users.map(({ id, username, user_avatar: avatar, phone }, index) => (\n <UserItem\n key={id}\n id={id}\n onSelect={onSelect}\n cardSize={responsiveCardSize}\n index={index}\n maxColumns={responsiveColumnNos}\n avatarSize={avatarSize}\n avatar={avatar}\n phone={phone}\n username={username}\n isLastItem={index === totalCards - 1}\n />\n ))}\n\n {showAddButton && (\n <Styled.AddAccountButton\n isLastItem\n index={totalCards}\n maxColumns={responsiveColumnNos}\n $gutterX={5}\n $gapX={5}\n $background=\"BLACK_3\"\n $width={responsiveCardSize}\n $height={responsiveCardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n onClick={onAddNew}\n >\n <FlexView $width={40} $height={40}>\n <PlusIcon color=\"WHITE\" width={40} height={40} />\n </FlexView>\n </Styled.AddAccountButton>\n )}\n </Styled.UserListWrapper>\n );\n};\n\nexport default memo(UserList);\n"],"names":["UserList","users","onSelect","showAddButton","onAddNew","maxColumns","cardSize","avatarSize","totalCards","isCompact","useViewport","responsiveColumnNos","responsiveCardSize","jsxs","Styled.UserListWrapper","id","username","avatar","phone","index","jsx","UserItem","Styled.AddAccountButton","FlexView","PlusIcon","UserList$1","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA+B,CAAC;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AACf,MAAM;AACJ,QAAMC,IAAaP,EAAM,UAAUE,IAAgB,IAAI,IACjD,EAAE,WAAAM,MAAcC,KAEhBC,IAAsBF,IAAY,IAAIJ,GACtCO,IAAqBH,IAAY,MAAMH;AAG3C,SAAA,gBAAAO;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAWN;AAAA,MACX,YAAYG;AAAA,MACZ,WAAWC;AAAA,MAEV,UAAA;AAAA,QAAMX,EAAA,IAAI,CAAC,EAAE,IAAAc,GAAI,UAAAC,GAAU,aAAaC,GAAQ,OAAAC,KAASC,MACxD,gBAAAC;AAAA,UAACC;AAAA,UAAA;AAAA,YAEC,IAAAN;AAAA,YACA,UAAAb;AAAA,YACA,UAAUU;AAAA,YACV,OAAAO;AAAA,YACA,YAAYR;AAAA,YACZ,YAAAJ;AAAA,YACA,QAAAU;AAAA,YACA,OAAAC;AAAA,YACA,UAAAF;AAAA,YACA,YAAYG,MAAUX,IAAa;AAAA,UAAA;AAAA,UAV9BO;AAAA,QAAA,CAYR;AAAA,QAEAZ,KACC,gBAAAiB;AAAA,UAACE;AAAAA,UAAA;AAAA,YACC,YAAU;AAAA,YACV,OAAOd;AAAA,YACP,YAAYG;AAAA,YACZ,UAAU;AAAA,YACV,OAAO;AAAA,YACP,aAAY;AAAA,YACZ,QAAQC;AAAA,YACR,SAASA;AAAA,YACT,aAAY;AAAA,YACZ,iBAAgB;AAAA,YAChB,SAASR;AAAA,YAET,UAAC,gBAAAgB,EAAAG,GAAA,EAAS,QAAQ,IAAI,SAAS,IAC7B,UAAA,gBAAAH,EAACI,GAAS,EAAA,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,GACjD;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,GAEeC,IAAAC,EAAK1B,CAAQ;"}
|
@@ -7,7 +7,7 @@ import i from "../../../ui/layout/flex-view.js";
|
|
7
7
|
import o from "../../../ui/separator/separator.js";
|
8
8
|
import t from "../../../ui/text/text.js";
|
9
9
|
import u from "../../comps/overlay-loader/overlay-loader.js";
|
10
|
-
import p from "../../user-list/user-list.js";
|
10
|
+
import p from "../../comps/user-list/user-list.js";
|
11
11
|
const g = ({
|
12
12
|
email: l,
|
13
13
|
onSelectAccount: c,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"claim-user-account.js","sources":["../../../../../src/features/auth/signup/claim-user-account/claim-user-account.tsx"],"sourcesContent":["import type { IClaimUserAccountProps } from './claim-user-account-types';\n\nimport { memo } from 'react';\nimport { type FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Button from '../../../ui/buttons/button/button';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport OverlayLoader from '../../comps/overlay-loader/overlay-loader';\nimport UserList from '../../user-list/user-list';\n\nconst ClaimUserAccount: FC<IClaimUserAccountProps> = ({\n email,\n onSelectAccount,\n userAccounts,\n onCreateNewAccount,\n isCreatingAccount,\n isLoading,\n}) => {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\" $width=\"100%\" $height=\"100%\">\n <OverlayLoader isLoading={isLoading} />\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Parent Signup\" withLoader={false} />\n <Separator heightX={1} />\n <FlexView>\n <Text $renderAs=\"ab1\" $color=\"WHITE\" $align=\"center\">\n We found multiple profiles linked to{' '}\n <Text $color=\"WHITE\" $inline $renderAs=\"ab1-bold\">\n {email}\n </Text>\n </Text>\n <Text $renderAs=\"ab1\" $color=\"WHITE\" $align=\"center\">\n Which one would you like to proceed with?\n </Text>\n </FlexView>\n <Separator heightX={5} />\n <UserList users={userAccounts} onSelect={onSelectAccount} />\n <Separator heightX={5} />\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <Text $renderAs=\"ub2\" $color=\"WHITE\">\n Don't recognize these accounts?\n </Text>\n <Separator heightX={1} />\n <Button\n width={232}\n size=\"small\"\n label=\"Create new account\"\n renderAs=\"secondary-dark\"\n onClick={onCreateNewAccount}\n busy={isCreatingAccount}\n disabled={isCreatingAccount}\n />\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(ClaimUserAccount);\n"],"names":["ClaimUserAccount","email","onSelectAccount","userAccounts","onCreateNewAccount","isCreatingAccount","isLoading","jsxs","FlexView","jsx","OverlayLoader","Image","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ACvB,gBAAAJ;AAAA,MAACO;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,MAAK;AAAA,QACL,OAAM;AAAA,QACN,UAAS;AAAA,QACT,SAASZ;AAAA,QACT,MAAMC;AAAA,QACN,UAAUA;AAAA,MAAA;AAAA,IACZ;AAAA,EAAA,GACF;AACF,EAAA,CAAA,GAIWY,IAAAC,EAAKlB,CAAgB;"}
|
1
|
+
{"version":3,"file":"claim-user-account.js","sources":["../../../../../src/features/auth/signup/claim-user-account/claim-user-account.tsx"],"sourcesContent":["import type { IClaimUserAccountProps } from './claim-user-account-types';\n\nimport { memo } from 'react';\nimport { type FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Button from '../../../ui/buttons/button/button';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport OverlayLoader from '../../comps/overlay-loader/overlay-loader';\nimport UserList from '../../comps/user-list/user-list';\n\nconst ClaimUserAccount: FC<IClaimUserAccountProps> = ({\n email,\n onSelectAccount,\n userAccounts,\n onCreateNewAccount,\n isCreatingAccount,\n isLoading,\n}) => {\n return (\n <FlexView $flex={1} $alignItems=\"center\" $justifyContent=\"center\" $width=\"100%\" $height=\"100%\">\n <OverlayLoader isLoading={isLoading} />\n <Image src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO_WHITE} alt=\"Parent Signup\" withLoader={false} />\n <Separator heightX={1} />\n <FlexView>\n <Text $renderAs=\"ab1\" $color=\"WHITE\" $align=\"center\">\n We found multiple profiles linked to{' '}\n <Text $color=\"WHITE\" $inline $renderAs=\"ab1-bold\">\n {email}\n </Text>\n </Text>\n <Text $renderAs=\"ab1\" $color=\"WHITE\" $align=\"center\">\n Which one would you like to proceed with?\n </Text>\n </FlexView>\n <Separator heightX={5} />\n <UserList users={userAccounts} onSelect={onSelectAccount} />\n <Separator heightX={5} />\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <Text $renderAs=\"ub2\" $color=\"WHITE\">\n Don't recognize these accounts?\n </Text>\n <Separator heightX={1} />\n <Button\n width={232}\n size=\"small\"\n label=\"Create new account\"\n renderAs=\"secondary-dark\"\n onClick={onCreateNewAccount}\n busy={isCreatingAccount}\n disabled={isCreatingAccount}\n />\n </FlexView>\n </FlexView>\n );\n};\n\nexport default memo(ClaimUserAccount);\n"],"names":["ClaimUserAccount","email","onSelectAccount","userAccounts","onCreateNewAccount","isCreatingAccount","isLoading","jsxs","FlexView","jsx","OverlayLoader","Image","ILLUSTRATIONS","Separator","Text","UserList","Button","claimUserAccount","memo"],"mappings":";;;;;;;;;;AAcA,MAAMA,IAA+C,CAAC;AAAA,EACpD,OAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,WAAAC;AACF,MAEI,gBAAAC,EAACC,GAAS,EAAA,OAAO,GAAG,aAAY,UAAS,iBAAgB,UAAS,QAAO,QAAO,SAAQ,QACtF,UAAA;AAAA,EAAA,gBAAAC,EAACC,KAAc,WAAAJ,GAAsB;AAAA,EACrC,gBAAAG,EAACE,KAAM,KAAKC,EAAc,2BAA2B,KAAI,iBAAgB,YAAY,IAAO;AAAA,EAC5F,gBAAAH,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,oBACtBL,GACC,EAAA,UAAA;AAAA,IAAA,gBAAAD,EAACO,KAAK,WAAU,OAAM,QAAO,SAAQ,QAAO,UAAS,UAAA;AAAA,MAAA;AAAA,MACd;AAAA,MACrC,gBAAAL,EAACK,KAAK,QAAO,SAAQ,SAAO,IAAC,WAAU,YACpC,UACHb,EAAA,CAAA;AAAA,IAAA,GACF;AAAA,IACA,gBAAAQ,EAACK,KAAK,WAAU,OAAM,QAAO,SAAQ,QAAO,UAAS,UAErD,4CAAA,CAAA;AAAA,EAAA,GACF;AAAA,EACA,gBAAAL,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACtB,gBAAAJ,EAAAM,GAAA,EAAS,OAAOZ,GAAc,UAAUD,GAAiB;AAAA,EAC1D,gBAAAO,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACtB,gBAAAN,EAAAC,GAAA,EAAS,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,IAAA,gBAAAC,EAACK,GAAK,EAAA,WAAU,OAAM,QAAO,SAAQ,UAErC,mCAAA;AAAA,IACA,gBAAAL,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,IACvB,gBAAAJ;AAAA,MAACO;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,MAAK;AAAA,QACL,OAAM;AAAA,QACN,UAAS;AAAA,QACT,SAASZ;AAAA,QACT,MAAMC;AAAA,QACN,UAAUA;AAAA,MAAA;AAAA,IACZ;AAAA,EAAA,GACF;AACF,EAAA,CAAA,GAIWY,IAAAC,EAAKlB,CAAgB;"}
|
@@ -22,17 +22,8 @@ const l = [
|
|
22
22
|
id: "student",
|
23
23
|
label: "Student"
|
24
24
|
}
|
25
|
-
]
|
26
|
-
USER_NOT_FOUND: 8e3,
|
27
|
-
INVALID_PASSWORD: 8001,
|
28
|
-
MULTIPLE_USERS_FOUND: 8002,
|
29
|
-
ACCESS_TOKEN_FAILURE: 8003,
|
30
|
-
INVALID_ACCESS_TOKEN: 8004,
|
31
|
-
INVALID_USERNAME_OR_USER_ALREADY_EXIST: 8005,
|
32
|
-
SOCIAL_SIGNUP_EMAIL_MISSING: 8006
|
33
|
-
};
|
25
|
+
];
|
34
26
|
export {
|
35
|
-
a as AuthApiErrorCode,
|
36
27
|
l as STUDENT_GRADE_OPTIONS,
|
37
28
|
e as USER_TYPES
|
38
29
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"signup-constants.js","sources":["../../../../src/features/auth/signup/signup-constants.ts"],"sourcesContent":["import type { TAuthUserType } from './signup-types';\n\nexport const STUDENT_GRADE_OPTIONS = [\n { label: 'Pre K', value: '-1' },\n { label: 'K', value: '0' },\n { label: '1', value: '1' },\n { label: '2', value: '2' },\n { label: '3', value: '3' },\n { label: '4', value: '4' },\n { label: '5', value: '5' },\n { label: '6', value: '6' },\n { label: '7', value: '7' },\n { label: '8', value: '8' },\n { label: '9', value: '9' },\n { label: '10', value: '10' },\n { label: '11', value: '11' },\n { label: '12', value: '12' },\n];\n\nexport const USER_TYPES: { id: TAuthUserType; label: string }[] = [\n {\n id: 'parent',\n label: 'Parent',\n },\n {\n id: 'student',\n label: 'Student',\n },\n];\n
|
1
|
+
{"version":3,"file":"signup-constants.js","sources":["../../../../src/features/auth/signup/signup-constants.ts"],"sourcesContent":["import type { TAuthUserType } from './signup-types';\n\nexport const STUDENT_GRADE_OPTIONS = [\n { label: 'Pre K', value: '-1' },\n { label: 'K', value: '0' },\n { label: '1', value: '1' },\n { label: '2', value: '2' },\n { label: '3', value: '3' },\n { label: '4', value: '4' },\n { label: '5', value: '5' },\n { label: '6', value: '6' },\n { label: '7', value: '7' },\n { label: '8', value: '8' },\n { label: '9', value: '9' },\n { label: '10', value: '10' },\n { label: '11', value: '11' },\n { label: '12', value: '12' },\n];\n\nexport const USER_TYPES: { id: TAuthUserType; label: string }[] = [\n {\n id: 'parent',\n label: 'Parent',\n },\n {\n id: 'student',\n label: 'Student',\n },\n];\n"],"names":["STUDENT_GRADE_OPTIONS","USER_TYPES"],"mappings":"AAEO,MAAMA,IAAwB;AAAA,EACnC,EAAE,OAAO,SAAS,OAAO,KAAK;AAAA,EAC9B,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,KAAK,OAAO,IAAI;AAAA,EACzB,EAAE,OAAO,MAAM,OAAO,KAAK;AAAA,EAC3B,EAAE,OAAO,MAAM,OAAO,KAAK;AAAA,EAC3B,EAAE,OAAO,MAAM,OAAO,KAAK;AAC7B,GAEaC,IAAqD;AAAA,EAChE;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AACF;"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import
|
2
|
-
const m =
|
3
|
-
const { colors: e, input: r, text: u } = c, { valueColorName:
|
1
|
+
import h from "styled-components";
|
2
|
+
const m = h.input(({ theme: c, $size: p, $renderAs: s, $isTransparent: d }) => {
|
3
|
+
const { colors: e, input: r, text: u } = c, { valueColorName: o, labelColorName: n, backgroundColorName: b } = r.variants[s], { inputTextVariant: $ } = r.sizes[p], { fontFamily: i, fontSize: l, lineHeight: a, letterSpacing: t } = u[$], f = d ? "transparent" : e[b ?? "WHITE"];
|
4
4
|
return `
|
5
5
|
position: relative;
|
6
6
|
width: 100%;
|
@@ -10,24 +10,24 @@ const m = f.input(({ theme: c, $size: p, $renderAs: s, $isTransparent: d }) => {
|
|
10
10
|
outline: none;
|
11
11
|
|
12
12
|
font-family: ${i};
|
13
|
-
font-size: ${
|
14
|
-
line-height: ${
|
15
|
-
${typeof
|
13
|
+
font-size: ${l}px;
|
14
|
+
line-height: ${a}px;
|
15
|
+
${typeof t == "number" ? `letter-spacing: ${t}px;` : ""}
|
16
16
|
|
17
17
|
|
18
|
-
background-color: ${
|
19
|
-
color: ${e[
|
18
|
+
background-color: ${f};
|
19
|
+
color: ${e[o.inactive]};
|
20
20
|
|
21
21
|
&::placeholder {
|
22
22
|
color: ${e[n.inactive]};
|
23
23
|
font-family: ${i};
|
24
|
-
font-size: ${
|
25
|
-
line-height: ${
|
26
|
-
${typeof
|
24
|
+
font-size: ${l}px;
|
25
|
+
line-height: ${a}px;
|
26
|
+
${typeof t == "number" ? `letter-spacing: ${t}px;` : ""}
|
27
27
|
}
|
28
28
|
|
29
29
|
&:hover, &:focus {
|
30
|
-
color: ${e[
|
30
|
+
color: ${e[o.active]};
|
31
31
|
}
|
32
32
|
|
33
33
|
&:read-only {
|
@@ -35,7 +35,7 @@ const m = f.input(({ theme: c, $size: p, $renderAs: s, $isTransparent: d }) => {
|
|
35
35
|
}
|
36
36
|
|
37
37
|
&:disabled {
|
38
|
-
color: ${e[
|
38
|
+
color: ${e[o.disabled]};
|
39
39
|
cursor: not-allowed;
|
40
40
|
|
41
41
|
&::placeholder {
|
@@ -60,6 +60,11 @@ const m = f.input(({ theme: c, $size: p, $renderAs: s, $isTransparent: d }) => {
|
|
60
60
|
color: ${e.BLACK_T_60};
|
61
61
|
text-transform: uppercase;
|
62
62
|
}
|
63
|
+
|
64
|
+
&:-webkit-autofill {
|
65
|
+
-webkit-text-fill-color: ${e[o.inactive]} !important;
|
66
|
+
-webkit-background-clip: text;
|
67
|
+
}
|
63
68
|
`;
|
64
69
|
});
|
65
70
|
export {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"text-input-styled.js","sources":["../../../../../src/features/ui/inputs/text-input/text-input-styled.ts"],"sourcesContent":["import type { IBaseInputProps } from '../base-input/base-input-types';\nimport type { ITextInputProps } from './text-input-types';\n\nimport styled from 'styled-components';\n\ninterface IInputProps {\n $renderAs: ITextInputProps['renderAs'];\n $size: IBaseInputProps['size'];\n $isTransparent?: IBaseInputProps['isTransparent'];\n}\n\nconst Input = styled.input<IInputProps>(({ theme, $size, $renderAs, $isTransparent }) => {\n const { colors, input, text } = theme;\n const { valueColorName, labelColorName, backgroundColorName } = input.variants[$renderAs];\n const { inputTextVariant } = input.sizes[$size];\n const { fontFamily, fontSize, lineHeight, letterSpacing } = text[inputTextVariant];\n const background = $isTransparent ? 'transparent' : colors[backgroundColorName ?? 'WHITE'];\n\n return `\n position: relative;\n width: 100%;\n height: 100%;\n border: 0;\n padding: 0;\n outline: none;\n\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n line-height: ${lineHeight}px;\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n\n \n background-color: ${background};\n color: ${colors[valueColorName.inactive]};\n \n &::placeholder {\n color: ${colors[labelColorName.inactive]};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n line-height: ${lineHeight}px;\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n }\n\n &:hover, &:focus {\n color: ${colors[valueColorName.active]};\n }\n\n &:read-only {\n cursor: pointer;\n }\n \n &:disabled {\n color: ${colors[valueColorName.disabled]};\n cursor: not-allowed;\n\n &::placeholder {\n color: ${colors[labelColorName.disabled]};\n }\n }\n \n &:hover:not([disabled, focused])::placeholder {\n color: ${colors[labelColorName.active]};\n }\n\n &:focus::placeholder {\n color: transparent;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n &[type=\"date\"]:not(:placeholder-shown){\n color: ${colors.BLACK_T_60};\n text-transform: uppercase;\n }\n `;\n});\n\nexport { Input };\n"],"names":["Input","styled","theme","$size","$renderAs","$isTransparent","colors","input","text","valueColorName","labelColorName","backgroundColorName","inputTextVariant","fontFamily","fontSize","lineHeight","letterSpacing","background"],"mappings":";AAWM,MAAAA,IAAQC,EAAO,MAAmB,CAAC,EAAE,OAAAC,GAAO,OAAAC,GAAO,WAAAC,GAAW,gBAAAC,QAAqB;AACvF,QAAM,EAAE,QAAAC,GAAQ,OAAAC,GAAO,MAAAC,EAAA,IAASN,GAC1B,EAAE,gBAAAO,GAAgB,gBAAAC,GAAgB,qBAAAC,EAAwB,IAAAJ,EAAM,SAASH,CAAS,GAClF,EAAE,kBAAAQ,EAAqB,IAAAL,EAAM,MAAMJ,CAAK,GACxC,EAAE,YAAAU,GAAY,UAAAC,GAAU,YAAAC,GAAY,eAAAC,MAAkBR,EAAKI,CAAgB,GAC3EK,IAAaZ,IAAiB,gBAAgBC,EAAOK,KAAuB,OAAO;AAElF,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAQUE,CAAU;AAAA,iBACZC,CAAQ;AAAA,mBACNC,CAAU;AAAA,MACvB,OAAOC,KAAkB,WAAW,mBAAmBA,CAAa,QAAQ,EAAE;AAAA;AAAA;AAAA,wBAG5DC,CAAU;AAAA,aACrBX,EAAOG,EAAe,QAAQ,CAAC;AAAA;AAAA;AAAA,eAG7BH,EAAOI,EAAe,QAAQ,CAAC;AAAA,qBACzBG,CAAU;AAAA,mBACZC,CAAQ;AAAA,qBACNC,CAAU;AAAA,QACvB,OAAOC,KAAkB,WAAW,mBAAmBA,CAAa,QAAQ,EAAE;AAAA;AAAA;AAAA;AAAA,eAIvEV,EAAOG,EAAe,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAQ7BH,EAAOG,EAAe,QAAQ,CAAC;AAAA;AAAA;AAAA;AAAA,iBAI7BH,EAAOI,EAAe,QAAQ,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,eAKjCJ,EAAOI,EAAe,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAa7BJ,EAAO,UAAU;AAAA;AAAA;AAAA;
|
1
|
+
{"version":3,"file":"text-input-styled.js","sources":["../../../../../src/features/ui/inputs/text-input/text-input-styled.ts"],"sourcesContent":["import type { IBaseInputProps } from '../base-input/base-input-types';\nimport type { ITextInputProps } from './text-input-types';\n\nimport styled from 'styled-components';\n\ninterface IInputProps {\n $renderAs: ITextInputProps['renderAs'];\n $size: IBaseInputProps['size'];\n $isTransparent?: IBaseInputProps['isTransparent'];\n}\n\nconst Input = styled.input<IInputProps>(({ theme, $size, $renderAs, $isTransparent }) => {\n const { colors, input, text } = theme;\n const { valueColorName, labelColorName, backgroundColorName } = input.variants[$renderAs];\n const { inputTextVariant } = input.sizes[$size];\n const { fontFamily, fontSize, lineHeight, letterSpacing } = text[inputTextVariant];\n const background = $isTransparent ? 'transparent' : colors[backgroundColorName ?? 'WHITE'];\n\n return `\n position: relative;\n width: 100%;\n height: 100%;\n border: 0;\n padding: 0;\n outline: none;\n\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n line-height: ${lineHeight}px;\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n\n \n background-color: ${background};\n color: ${colors[valueColorName.inactive]};\n \n &::placeholder {\n color: ${colors[labelColorName.inactive]};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n line-height: ${lineHeight}px;\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n }\n\n &:hover, &:focus {\n color: ${colors[valueColorName.active]};\n }\n\n &:read-only {\n cursor: pointer;\n }\n \n &:disabled {\n color: ${colors[valueColorName.disabled]};\n cursor: not-allowed;\n\n &::placeholder {\n color: ${colors[labelColorName.disabled]};\n }\n }\n \n &:hover:not([disabled, focused])::placeholder {\n color: ${colors[labelColorName.active]};\n }\n\n &:focus::placeholder {\n color: transparent;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n &[type=\"date\"]:not(:placeholder-shown){\n color: ${colors.BLACK_T_60};\n text-transform: uppercase;\n }\n \n &:-webkit-autofill { \n -webkit-text-fill-color: ${colors[valueColorName.inactive]} !important;\n -webkit-background-clip: text;\n }\n `;\n});\n\nexport { Input };\n"],"names":["Input","styled","theme","$size","$renderAs","$isTransparent","colors","input","text","valueColorName","labelColorName","backgroundColorName","inputTextVariant","fontFamily","fontSize","lineHeight","letterSpacing","background"],"mappings":";AAWM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AAA;AAAA;AAAA;AAAA;AAAA,iCAKCA,EAAOG,EAAe,QAAQ,CAAC;AAAA;AAAA;AAAA;AAIhE,CAAC;"}
|
package/dist/index.d.ts
CHANGED
@@ -277,6 +277,16 @@ export declare const CopyIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
277
277
|
|
278
278
|
export declare const CountdownTimer: FC<ICountdownTimer>;
|
279
279
|
|
280
|
+
export declare const COUNTRY_CODE_MAP: {
|
281
|
+
id: string;
|
282
|
+
code: string;
|
283
|
+
label: string;
|
284
|
+
value: string;
|
285
|
+
icon: string;
|
286
|
+
url: string;
|
287
|
+
geoIPCountryCode: string;
|
288
|
+
}[];
|
289
|
+
|
280
290
|
declare const COURSE_STREAMS: {
|
281
291
|
readonly SAT_DEMO: "SAT-DEMO";
|
282
292
|
readonly SAT_MATH: "SAT-MATH";
|
package/dist/index.js
CHANGED
@@ -2,7 +2,7 @@ import { default as r } from "./features/ui/grade-selector/grade-selector.js";
|
|
2
2
|
import { default as a } from "./features/ui/stepper/stepper.js";
|
3
3
|
import { ILLUSTRATIONS as s } from "./assets/illustrations/illustrations.js";
|
4
4
|
import { IMAGES as p } from "./assets/images/images.js";
|
5
|
-
import { LOTTIE as
|
5
|
+
import { LOTTIE as u } from "./assets/lottie/lottie.js";
|
6
6
|
import { default as x } from "./assets/line-icons/icons/alert.js";
|
7
7
|
import { default as c } from "./assets/line-icons/icons/back.js";
|
8
8
|
import { default as I } from "./assets/line-icons/icons/bin.js";
|
@@ -10,7 +10,7 @@ import { default as S } from "./assets/line-icons/icons/bin2.js";
|
|
10
10
|
import { default as C } from "./assets/line-icons/icons/book-closed.js";
|
11
11
|
import { default as P } from "./assets/line-icons/icons/book.js";
|
12
12
|
import { default as h } from "./assets/line-icons/icons/book2.js";
|
13
|
-
import { default as
|
13
|
+
import { default as L } from "./assets/line-icons/icons/bookmark.js";
|
14
14
|
import { default as k } from "./assets/line-icons/icons/bulb.js";
|
15
15
|
import { default as O } from "./assets/line-icons/icons/bulb2.js";
|
16
16
|
import { default as D } from "./assets/line-icons/icons/calendar.js";
|
@@ -29,7 +29,7 @@ import { default as re } from "./assets/line-icons/icons/draft.js";
|
|
29
29
|
import { default as ae } from "./assets/line-icons/icons/drag.js";
|
30
30
|
import { default as se } from "./assets/line-icons/icons/edit.js";
|
31
31
|
import { default as pe } from "./assets/line-icons/icons/edit2.js";
|
32
|
-
import { default as
|
32
|
+
import { default as ue } from "./assets/line-icons/icons/edit-star.js";
|
33
33
|
import { default as xe } from "./assets/line-icons/icons/eraser.js";
|
34
34
|
import { default as ce } from "./assets/line-icons/icons/eye.js";
|
35
35
|
import { default as Ie } from "./assets/line-icons/icons/eye2.js";
|
@@ -37,7 +37,7 @@ import { default as Se } from "./assets/line-icons/icons/exclamation.js";
|
|
37
37
|
import { default as Ce } from "./assets/line-icons/icons/hand.js";
|
38
38
|
import { default as Pe } from "./assets/line-icons/icons/help.js";
|
39
39
|
import { default as he } from "./assets/line-icons/icons/highlighter.js";
|
40
|
-
import { default as
|
40
|
+
import { default as Le } from "./assets/line-icons/icons/home.js";
|
41
41
|
import { default as ke } from "./assets/line-icons/icons/image.js";
|
42
42
|
import { default as Oe } from "./assets/line-icons/icons/info.js";
|
43
43
|
import { default as De } from "./assets/line-icons/icons/info2.js";
|
@@ -56,14 +56,14 @@ import { default as ro } from "./assets/line-icons/icons/pointer.js";
|
|
56
56
|
import { default as ao } from "./assets/line-icons/icons/play.js";
|
57
57
|
import { default as so } from "./assets/line-icons/icons/play2.js";
|
58
58
|
import { default as po } from "./assets/line-icons/icons/plus.js";
|
59
|
-
import { default as
|
59
|
+
import { default as uo } from "./assets/line-icons/icons/plus2.js";
|
60
60
|
import { default as no } from "./assets/line-icons/icons/practice.js";
|
61
61
|
import { default as io } from "./assets/line-icons/icons/progress.js";
|
62
62
|
import { default as To } from "./assets/line-icons/icons/question.js";
|
63
63
|
import { default as Eo } from "./assets/line-icons/icons/question-letter.js";
|
64
64
|
import { default as Ao } from "./assets/line-icons/icons/redo.js";
|
65
65
|
import { default as _o } from "./assets/line-icons/icons/right.js";
|
66
|
-
import { default as
|
66
|
+
import { default as Ro } from "./assets/line-icons/icons/ruler.js";
|
67
67
|
import { default as Mo } from "./assets/line-icons/icons/search.js";
|
68
68
|
import { default as No } from "./assets/line-icons/icons/sheet.js";
|
69
69
|
import { default as Ho } from "./assets/line-icons/icons/star.js";
|
@@ -82,7 +82,7 @@ import { default as or } from "./assets/line-icons/icons/unlock2.js";
|
|
82
82
|
import { default as tr } from "./assets/line-icons/icons/up.js";
|
83
83
|
import { default as fr } from "./assets/line-icons/icons/user.js";
|
84
84
|
import { default as lr } from "./assets/line-icons/icons/user2.js";
|
85
|
-
import { default as
|
85
|
+
import { default as mr, default as ur } from "./assets/line-icons/icons/sketch.js";
|
86
86
|
import { default as xr } from "./assets/line-icons/icons/back2.js";
|
87
87
|
import { default as cr } from "./assets/line-icons/icons/chevron-right.js";
|
88
88
|
import { default as Ir } from "./assets/line-icons/icons/chevron-left.js";
|
@@ -90,7 +90,7 @@ import { default as Sr } from "./assets/line-icons/icons/chevron-down.js";
|
|
90
90
|
import { default as Cr } from "./assets/line-icons/icons/game.js";
|
91
91
|
import { default as Pr } from "./assets/line-icons/icons/tutoring.js";
|
92
92
|
import { default as hr } from "./assets/line-icons/icons/chat.js";
|
93
|
-
import { default as
|
93
|
+
import { default as Lr } from "./assets/line-icons/icons/cuemath-logo.js";
|
94
94
|
import { default as kr } from "./assets/line-icons/icons/next2.js";
|
95
95
|
import { AutoPlayPermissionProvider as Or } from "./features/hooks/use-auto-play-permission/use-auto-play-permission-context-provider.js";
|
96
96
|
import { default as Dr } from "./features/hooks/use-zoom-disable.js";
|
@@ -109,7 +109,7 @@ import { default as rt } from "./features/ui/error/error.js";
|
|
109
109
|
import { default as at } from "./features/ui/inputs/checkbox-input/checkbox-input.js";
|
110
110
|
import { default as st } from "./features/ui/inputs/checkbox-input-list/checkbox-input-list.js";
|
111
111
|
import { default as pt } from "./features/ui/inputs/radio-input/radio-input.js";
|
112
|
-
import { default as
|
112
|
+
import { default as ut } from "./features/ui/inputs/select-input/select-input.js";
|
113
113
|
import { default as xt } from "./features/ui/inputs/searchable-select-input/searchable-select-input.js";
|
114
114
|
import { default as ct } from "./features/ui/inputs/google-places-search-input/google-places-search-input.js";
|
115
115
|
import { default as It } from "./features/ui/inputs/text-input/text-input.js";
|
@@ -117,7 +117,7 @@ import { default as St } from "./features/ui/inputs/cascading-select-input/casca
|
|
117
117
|
import { default as Ct } from "./features/ui/inputs/num-range-input/num-range-input.js";
|
118
118
|
import { default as Pt } from "./features/ui/inputs/percentile-input/percentile-input.js";
|
119
119
|
import { default as ht } from "./features/ui/selection-cards/selection-cards.js";
|
120
|
-
import { default as
|
120
|
+
import { default as Lt } from "./features/ui/layout/flex-view.js";
|
121
121
|
import { default as kt } from "./features/ui/loader/app-loader/app-loader.js";
|
122
122
|
import { CircularLoader as Ot } from "./features/ui/loader/circular-loader/circular-loader.js";
|
123
123
|
import { default as Dt } from "./features/ui/modals/modal-provider.js";
|
@@ -135,7 +135,7 @@ import { getTheme as oa } from "./features/ui/theme/get-theme.js";
|
|
135
135
|
import { default as ta } from "./features/ui/avatar/avatar.js";
|
136
136
|
import { default as fa } from "./features/ui/time-left-timeline/time-left-timeline.js";
|
137
137
|
import { default as la } from "./features/ui/tab/tab.js";
|
138
|
-
import { default as
|
138
|
+
import { default as ma } from "./features/ui/streak-icon/streak-icon.js";
|
139
139
|
import { default as da } from "./features/ui/separator/separator.js";
|
140
140
|
import { default as na } from "./features/ui/video/index.js";
|
141
141
|
import { default as ia } from "./features/ui/perfect-hits/perfect-hits.js";
|
@@ -143,7 +143,7 @@ import { default as Ta } from "./features/ui/image/image.js";
|
|
143
143
|
import { default as Ea } from "./features/ui/animated-arc/animated-arc.js";
|
144
144
|
import { default as Aa } from "./features/auth/comps/auth-static-panel/auth-static-panel.js";
|
145
145
|
import { default as _a } from "./features/auth/comps/auth-page-layout/auth-page-layout.js";
|
146
|
-
import { default as
|
146
|
+
import { default as Ra } from "./features/auth/comps/overlay-loader/overlay-loader.js";
|
147
147
|
import { default as Ma } from "./features/auth/comps/tabs/tabs.js";
|
148
148
|
import { default as Na } from "./features/auth/comps/input-status-icon/input-status-icon.js";
|
149
149
|
import { default as Ha } from "./features/auth/comps/resend-otp/resend-otp.js";
|
@@ -162,15 +162,15 @@ import { default as of } from "./features/auth/login/identifier-otp-form/identif
|
|
162
162
|
import { default as tf } from "./features/auth/forgot-password/otp-form/otp-form.js";
|
163
163
|
import { default as ff } from "./features/auth/forgot-password/reset-password-form/reset-password-form.js";
|
164
164
|
import { default as lf } from "./features/auth/forgot-password/user-identifier-form/user-identifier-form.js";
|
165
|
-
import { AUTH_TABS as
|
166
|
-
import { AuthApiErrorCode as df } from "./features/auth/
|
165
|
+
import { AUTH_TABS as mf } from "./features/auth/login/login-constants.js";
|
166
|
+
import { AuthApiErrorCode as df } from "./features/auth/auth-constants.js";
|
167
167
|
import { PLATFORM_EVENTS_STUDENT as nf } from "./features/analytics-events/platform-events-student.js";
|
168
168
|
import { PLATFORM_EVENTS_TEACHER as If } from "./features/analytics-events/platform-events-teacher.js";
|
169
169
|
import { WHITELIST_EVENTS as Sf } from "./features/analytics-events/whitelist-events.js";
|
170
170
|
import { default as Cf } from "./features/blockers/multi-tab-blocker/use-is-tab-blocked.js";
|
171
171
|
import { default as Pf } from "./features/blockers/multi-tab-blocker/multi-tab-blocker.js";
|
172
172
|
import { default as hf } from "./features/chapters/chapter/chapter.js";
|
173
|
-
import { default as
|
173
|
+
import { default as Lf } from "./features/chapters/chapters-list/chapters-list.js";
|
174
174
|
import { default as kf } from "./features/chapters/lpar-chapter/lpar-chapter.js";
|
175
175
|
import { default as Of } from "./features/chapters/lpar-milestone-chapter/lpar-milestone-chapter.js";
|
176
176
|
import { default as Df } from "./features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js";
|
@@ -189,14 +189,14 @@ import { WebView as rs } from "./features/circle-games/games/web-view/web-view.j
|
|
189
189
|
import { ProjectOutcome as as } from "./features/circle-games/games/web-view/enums/project-outcomes-enum.js";
|
190
190
|
import { WebViewEvent as ss } from "./features/circle-games/games/web-view/enums/web-view-events-enum.js";
|
191
191
|
import { ProjectType as ps } from "./features/circle-games/games/web-view/enums/project-type-enum.js";
|
192
|
-
import { PlayerType as
|
192
|
+
import { PlayerType as us } from "./features/circle-games/games/web-view/enums/player-type-enum.js";
|
193
193
|
import { IStatsToAwardErrorCode as xs } from "./features/circle-games/games/web-view/web-view-types.js";
|
194
194
|
import { CIRCLE_ONBOARDING_ANALYTICS_STEPS as cs } from "./features/circle-games/enum/circle-onboarding-steps.js";
|
195
195
|
import { CIRCLE_ACTION_IDS as Is } from "./features/circle-games/enum/circle-action-ids.js";
|
196
196
|
import { GameLauncher as Ss } from "./features/circle-games/game-launcher/game-launcher.js";
|
197
197
|
import { useGetCircleHomeDetailsDal as Cs } from "./features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/use-get-circle-home-details-dal.js";
|
198
198
|
import { Leaderboard as Ps } from "./features/circle-games/leaderboard/leaderboard.js";
|
199
|
-
import { BackgroundImage as hs, CircularSteps as
|
199
|
+
import { BackgroundImage as hs, CircularSteps as Rs } from "./features/circle-games/sign-up/comp/circular-steps/circular-steps.js";
|
200
200
|
import { SplashScreen as Ms } from "./features/circle-games/sign-up/comp/splash-screen/splash-screen.js";
|
201
201
|
import { SignUp as Ns } from "./features/circle-games/sign-up/sign-up.js";
|
202
202
|
import { default as Hs } from "./features/cue-canvas/cue-canvas-provider.js";
|
@@ -215,7 +215,7 @@ import { useClassTimeAlerts as rl } from "./features/trial-session/hooks/use-cla
|
|
215
215
|
import { default as al } from "./features/talk-meter/talk-meter.js";
|
216
216
|
import { default as sl } from "./features/extra-practice/extra-practice.js";
|
217
217
|
import { default as pl } from "./features/homework/hw-card-list/hw-card-list.js";
|
218
|
-
import { invalidateHomeworks as
|
218
|
+
import { invalidateHomeworks as ul } from "./features/homework/hw-card-list/api/get-homeworks.js";
|
219
219
|
import { useAutoPlayPermission as xl } from "./features/hooks/use-auto-play-permission/use-auto-play-permission.js";
|
220
220
|
import { JOURNEY_ID_STUDENT as cl } from "./features/journey/journey-id/journey-id-student.js";
|
221
221
|
import { JOURNEY_ID_TEACHER as Il } from "./features/journey/journey-id/journey-id-teacher.js";
|
@@ -223,7 +223,7 @@ import { useJourney as Sl } from "./features/journey/use-journey/use-journey.js"
|
|
223
223
|
import { useGetEligibleJourneysViaRoute as Cl } from "./features/journey/hooks/use-get-eligible-journeys-via-route.js";
|
224
224
|
import { JourneyProvider as Pl } from "./features/journey/use-journey/journey-context-provider.js";
|
225
225
|
import { IndicatorType as hl } from "./features/journey/use-journey/constants.js";
|
226
|
-
import { Coachmark as
|
226
|
+
import { Coachmark as Ll } from "./features/journey/comps/coachmark/coachmark.js";
|
227
227
|
import { useHomePageJourney as kl } from "./features/journey/hooks/use-home-page-journey/use-home-page-journey.js";
|
228
228
|
import { useChapterPageJourney as Ol } from "./features/journey/hooks/use-chapter-journey.js";
|
229
229
|
import { default as Dl } from "./features/maintenance/maintenance.js";
|
@@ -242,12 +242,12 @@ import { default as rp } from "./features/milestone/milestone-list-container/mil
|
|
242
242
|
import { default as ap } from "./features/milestone/milestone-action-widget/milestone-action-widget.js";
|
243
243
|
import { default as sp } from "./features/milestone/start/milestone-start.js";
|
244
244
|
import { default as pp } from "./features/milestone/milestone-tests/tests-creation/tests-creation.js";
|
245
|
-
import { default as
|
245
|
+
import { default as up } from "./features/milestone/milestone-resources/resources-assign/resources-assign.js";
|
246
246
|
import { ACHIEVEMENT_ACTIONS as xp, STAGES as np } from "./features/milestone/outcome/milestone-outcome-constants.js";
|
247
247
|
import { invalidateMilestonesData as ip, useGetAllMilestonesdata as Ip } from "./features/milestone/milestone-list-container/api/get-milestones.js";
|
248
248
|
import { invalidatePastMilestoneCount as Sp, useGetPastMilestoneCount as Ep } from "./features/milestone/milestone-list-container/api/get-past-milestone-count.js";
|
249
249
|
import { invalidateTestHelpData as Ap, useGetTestHelpData as Pp } from "./features/milestone/milestone-list-container/api/get-tests-list.js";
|
250
|
-
import { invalidateMilestoneResources as hp, useGetMilestoneResources as
|
250
|
+
import { invalidateMilestoneResources as hp, useGetMilestoneResources as Rp } from "./features/milestone/milestone-list-container/api/get-milestone-resources.js";
|
251
251
|
import { default as Mp } from "./features/pointer-sync/pointer.js";
|
252
252
|
import { default as Np } from "./features/pointer-sync/hooks/use-pointer-sync.js";
|
253
253
|
import { DigitalMeter as Hp } from "./features/post-game-stats/digital-meter/digital-meter.js";
|
@@ -260,23 +260,24 @@ import { default as Yp } from "./features/sheet-tools/tool-header/tool-header.js
|
|
260
260
|
import { default as Qp } from "./features/sheets/sheets-list/sheets-list.js";
|
261
261
|
import { default as jp } from "./features/sheets/reference-sheet/reference-sheet.js";
|
262
262
|
import { WORKSHEET_V3_NODE_TYPES as qp } from "./features/sheets/utils/is-v3-worksheet.js";
|
263
|
-
import { COMPLETED_SHEET_STATE as Xp, NODE_LABELS as $p, NODE_SUB_GROUP as
|
264
|
-
import { default as
|
265
|
-
import { default as
|
266
|
-
import { media as
|
267
|
-
import { ACTION_BAR_HEIGHT as
|
268
|
-
import { isOkayTypeQuestion as
|
269
|
-
import { default as
|
270
|
-
import { default as
|
271
|
-
import { default as
|
272
|
-
import { default as
|
273
|
-
import { default as
|
274
|
-
import { default as
|
275
|
-
import { default as
|
276
|
-
import { default as
|
263
|
+
import { COMPLETED_SHEET_STATE as Xp, NODE_LABELS as $p, NODE_SUB_GROUP as em, NODE_TYPE as om, PYTHON_NODE_TYPES as rm, REWARDS_LIST as tm, SHEET_ACTIONS as am, SHEET_ATTEMPT_LOCATION as fm, SHEET_ATTEMPT_LOCATION_MAP as sm, SHEET_ATTEMPT_STATE as lm, SHEET_DATA_TYPE as pm, SHEET_STATE as mm } from "./features/sheets/constants/sheet.js";
|
264
|
+
import { default as dm } from "./features/student-details/student-details.js";
|
265
|
+
import { default as nm } from "./features/utils/load-script.js";
|
266
|
+
import { media as im } from "./features/utils/media.js";
|
267
|
+
import { ACTION_BAR_HEIGHT as Tm, QUESTIONS_GAP as Sm, QUESTION_WIDTH as Em, TOP_NAVIGATION_HEIGHT as Cm } from "./features/worksheet/worksheet/constants.js";
|
268
|
+
import { isOkayTypeQuestion as Pm } from "./features/worksheet/worksheet/worksheet-helpers.js";
|
269
|
+
import { default as hm } from "./features/worksheet/worksheet/worksheet-container.js";
|
270
|
+
import { default as Lm } from "./features/worksheet/worksheet-preview/worksheet-preview.js";
|
271
|
+
import { default as km } from "./features/worksheet/worksheet/worksheet-permissions/sheet-locked.js";
|
272
|
+
import { default as Om } from "./features/worksheet/worksheet/worksheet-permissions/error.js";
|
273
|
+
import { default as Dm } from "./features/worksheet/learnosity-preloader/learnosity-preloader.js";
|
274
|
+
import { default as gm } from "./features/worksheet/learnosity-preloader/use-is-learnosity-loaded.js";
|
275
|
+
import { default as Um } from "./features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js";
|
276
|
+
import { default as vm } from "./features/hooks/use-viewport/use-viewport.js";
|
277
|
+
import { COUNTRY_CODE_MAP as wm } from "./constants/country.js";
|
277
278
|
export {
|
278
279
|
xp as ACHIEVEMENT_ACTIONS,
|
279
|
-
|
280
|
+
mf as AUTH_TABS,
|
280
281
|
Ur as AccordionSection,
|
281
282
|
Ka as AccountSelector,
|
282
283
|
Ql as AchievementNotShareReasonModal,
|
@@ -299,20 +300,21 @@ export {
|
|
299
300
|
h as Book2Icon,
|
300
301
|
C as BookClosedIcon,
|
301
302
|
P as BookIcon,
|
302
|
-
|
303
|
+
L as BookmarkIcon,
|
303
304
|
O as Bulb2Icon,
|
304
305
|
k as BulbIcon,
|
305
306
|
Qr as Button,
|
306
307
|
Is as CIRCLE_ACTION_IDS,
|
307
308
|
cs as CIRCLE_ONBOARDING_ANALYTICS_STEPS,
|
308
309
|
Xp as COMPLETED_SHEET_STATE,
|
310
|
+
wm as COUNTRY_CODE_MAP,
|
309
311
|
D as CalendarIcon,
|
310
312
|
Qt as Callout,
|
311
313
|
St as CascadingSelectInput,
|
312
314
|
hf as Chapter,
|
313
315
|
vl as ChapterClearanceConfirmationModal,
|
314
316
|
Uf as ChapterDetails,
|
315
|
-
|
317
|
+
Lf as ChaptersList,
|
316
318
|
hr as ChatIcon,
|
317
319
|
U as Check2Icon,
|
318
320
|
g as CheckIcon,
|
@@ -324,13 +326,13 @@ export {
|
|
324
326
|
Qf as CircleSoundKey,
|
325
327
|
Ot as CircularLoader,
|
326
328
|
Fa as CircularStepWrapper,
|
327
|
-
|
329
|
+
Rs as CircularSteps,
|
328
330
|
ya as ClaimUserAccount,
|
329
331
|
jr as Clickable,
|
330
332
|
v as ClipboardIcon,
|
331
333
|
V as Clock2Icon,
|
332
334
|
w as ClockIcon,
|
333
|
-
|
335
|
+
Ll as Coachmark,
|
334
336
|
Y as CodeIcon,
|
335
337
|
wr as ContextMenu,
|
336
338
|
Q as CopyIcon,
|
@@ -342,7 +344,7 @@ export {
|
|
342
344
|
Hs as CueCanvasProvider,
|
343
345
|
bs as CueCanvasSideBar,
|
344
346
|
q as CueRocket,
|
345
|
-
|
347
|
+
Lr as CuemathLogo,
|
346
348
|
Wa as CustomInputField,
|
347
349
|
X as DashArrowIcon,
|
348
350
|
ba as DatePickerInput,
|
@@ -353,13 +355,13 @@ export {
|
|
353
355
|
ae as DragIcon,
|
354
356
|
el as EClassTimeAlertLevel,
|
355
357
|
qf as ELeaderboardType,
|
356
|
-
|
358
|
+
up as EPResourceAssign,
|
357
359
|
Gp as EPostGameStat,
|
358
360
|
Ks as EVENTS,
|
359
361
|
pe as Edit2Icon,
|
360
362
|
se as EditIcon,
|
361
363
|
ql as EditMilestoneModal,
|
362
|
-
|
364
|
+
ue as EditStarIcon,
|
363
365
|
xe as EraserIcon,
|
364
366
|
rt as Error,
|
365
367
|
Se as ExclamationIcon,
|
@@ -367,7 +369,7 @@ export {
|
|
367
369
|
sl as ExtraPractice,
|
368
370
|
Ie as Eye2Icon,
|
369
371
|
ce as EyeIcon,
|
370
|
-
|
372
|
+
Lt as FlexView,
|
371
373
|
wf as GAME_LAUNCHER_ASSET_PADDING,
|
372
374
|
Vf as GAME_LAUNCHER_SIZE,
|
373
375
|
Cr as GameIcon,
|
@@ -381,7 +383,7 @@ export {
|
|
381
383
|
Ce as HandIcon,
|
382
384
|
Pe as HelpIcon,
|
383
385
|
he as HighlighterIcon,
|
384
|
-
|
386
|
+
Le as HomeIcon,
|
385
387
|
pl as HomeworkCardList,
|
386
388
|
s as ILLUSTRATIONS,
|
387
389
|
p as IMAGES,
|
@@ -397,11 +399,11 @@ export {
|
|
397
399
|
cl as JOURNEY_ID_STUDENT,
|
398
400
|
Il as JOURNEY_ID_TEACHER,
|
399
401
|
Pl as JourneyProvider,
|
400
|
-
|
402
|
+
u as LOTTIE,
|
401
403
|
kf as LPARChapter,
|
402
404
|
Of as LPARMilestoneChapter,
|
403
405
|
Ps as Leaderboard,
|
404
|
-
|
406
|
+
Dm as LearnosityPreloader,
|
405
407
|
ge as LeftIcon,
|
406
408
|
ve as Lock2Icon,
|
407
409
|
we as Lock3Icon,
|
@@ -421,35 +423,35 @@ export {
|
|
421
423
|
qe as MoreVerticalIcon,
|
422
424
|
Pf as MultiTabBlocker,
|
423
425
|
$p as NODE_LABELS,
|
424
|
-
|
425
|
-
|
426
|
+
em as NODE_SUB_GROUP,
|
427
|
+
om as NODE_TYPE,
|
426
428
|
kr as Next2Icon,
|
427
429
|
Xe as NextIcon,
|
428
430
|
Yr as Nudge,
|
429
431
|
Ct as NumRangeInput,
|
430
432
|
tf as OTPForm,
|
431
|
-
|
433
|
+
Ra as OverlayLoader,
|
432
434
|
nf as PLATFORM_EVENTS_STUDENT,
|
433
435
|
If as PLATFORM_EVENTS_TEACHER,
|
434
|
-
|
436
|
+
rm as PYTHON_NODE_TYPES,
|
435
437
|
eo as PencilIcon,
|
436
438
|
Pt as PercentileInput,
|
437
439
|
ia as PerfectHits,
|
438
440
|
so as Play2Icon,
|
439
441
|
ao as PlayIcon,
|
440
|
-
|
441
|
-
|
442
|
+
us as PlayerType,
|
443
|
+
uo as Plus2Icon,
|
442
444
|
po as PlusIcon,
|
443
445
|
ro as PointerIcon,
|
444
446
|
yp as PostGameStats,
|
445
447
|
no as PracticeIcon,
|
446
|
-
|
448
|
+
Lm as PreviewWorksheet,
|
447
449
|
io as ProgressIcon,
|
448
450
|
as as ProjectOutcome,
|
449
451
|
ps as ProjectType,
|
450
452
|
To as QuestionIcon,
|
451
453
|
Eo as QuestionLetterIcon,
|
452
|
-
|
454
|
+
tm as REWARDS_LIST,
|
453
455
|
vt as RadioCard,
|
454
456
|
pt as RadioInput,
|
455
457
|
Bp as RecentChapters,
|
@@ -459,31 +461,31 @@ export {
|
|
459
461
|
Ha as ResendOTP,
|
460
462
|
ff as ResetPasswordForm,
|
461
463
|
_o as RightIcon,
|
462
|
-
|
464
|
+
Ro as RulerIcon,
|
463
465
|
Df as SATSheetSummary,
|
464
466
|
bp as SENTRY_DENIED_URLS,
|
465
467
|
wp as SENTRY_IGNORED_ERRORS,
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
468
|
+
am as SHEET_ACTIONS,
|
469
|
+
fm as SHEET_ATTEMPT_LOCATION,
|
470
|
+
sm as SHEET_ATTEMPT_LOCATION_MAP,
|
471
|
+
lm as SHEET_ATTEMPT_STATE,
|
472
|
+
pm as SHEET_DATA_TYPE,
|
473
|
+
mm as SHEET_STATE,
|
472
474
|
np as STAGES,
|
473
|
-
|
475
|
+
mr as ScribbleIcon,
|
474
476
|
Mo as SearchIcon,
|
475
477
|
xt as SearchableSelectInput,
|
476
478
|
wt as SectionList,
|
477
|
-
|
479
|
+
ut as SelectInput,
|
478
480
|
ht as SelectionCards,
|
479
481
|
da as Separator,
|
480
|
-
|
482
|
+
Om as SheetError,
|
481
483
|
No as SheetIcon,
|
482
484
|
Qp as SheetList,
|
483
|
-
|
485
|
+
km as SheetLocked,
|
484
486
|
Ns as SignUp,
|
485
487
|
Ja as SignupMethods,
|
486
|
-
|
488
|
+
ur as SketchIcon,
|
487
489
|
Bo as Skip2Icon,
|
488
490
|
Go as SkipColoredIcon,
|
489
491
|
yo as SkipIcon,
|
@@ -494,10 +496,10 @@ export {
|
|
494
496
|
Ho as StarIcon,
|
495
497
|
Wo as StatusIcon,
|
496
498
|
a as Stepper,
|
497
|
-
|
499
|
+
ma as StreakIcon,
|
498
500
|
Xf as StreakReductionLocalStorageUtil,
|
499
501
|
Fo as StrikedEyeIcon,
|
500
|
-
|
502
|
+
dm as StudentDetails,
|
501
503
|
gl as SubmitMilestoneModal,
|
502
504
|
Jo as SwitchIcon,
|
503
505
|
la as TabComponent,
|
@@ -526,25 +528,25 @@ export {
|
|
526
528
|
$a as UsernamePasswordForm,
|
527
529
|
na as Video,
|
528
530
|
Sf as WHITELIST_EVENTS,
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
531
|
+
Tm as WORKSHEET_ACTION_BAR_HEIGHT,
|
532
|
+
Sm as WORKSHEET_QUESTIONS_GAP,
|
533
|
+
Em as WORKSHEET_QUESTION_WIDTH,
|
534
|
+
Cm as WORKSHEET_TOP_NAVIGATION_HEIGHT,
|
533
535
|
qp as WORKSHEET_V3_NODE_TYPES,
|
534
536
|
rs as WebView,
|
535
537
|
ss as WebViewEvent,
|
536
|
-
|
538
|
+
hm as Worksheet,
|
537
539
|
gf as checkIfPPTNodeType,
|
538
540
|
oa as getTheme,
|
539
541
|
vf as invalidateGetChapterDetails,
|
540
|
-
|
542
|
+
ul as invalidateHomeworks,
|
541
543
|
hp as invalidateMilestoneResources,
|
542
544
|
ip as invalidateMilestonesData,
|
543
545
|
Sp as invalidatePastMilestoneCount,
|
544
546
|
Ap as invalidateTestHelpData,
|
545
|
-
|
546
|
-
|
547
|
-
|
547
|
+
Pm as isOkayTypeQuestion,
|
548
|
+
nm as loadScript,
|
549
|
+
im as media,
|
548
550
|
xl as useAutoPlayPermission,
|
549
551
|
Bs as useCanvasSyncBroker,
|
550
552
|
Ol as useChapterPageJourney,
|
@@ -556,14 +558,14 @@ export {
|
|
556
558
|
Cs as useGetCircleHomeDetailsDal,
|
557
559
|
Cl as useGetEligibleJourneysViaRoute,
|
558
560
|
jf as useGetLeaderboardDal,
|
559
|
-
|
561
|
+
Rp as useGetMilestoneResources,
|
560
562
|
Ep as useGetPastMilestoneCount,
|
561
563
|
Pp as useGetTestHelpData,
|
562
564
|
kl as useHomePageJourney,
|
563
565
|
Zs as useInClassActionDispatcher,
|
564
566
|
qs as useInClassActionListener,
|
565
567
|
Fs as useInClassMessageBroker,
|
566
|
-
|
568
|
+
gm as useIsLearnosityLoaded,
|
567
569
|
Cf as useIsTabBlocked,
|
568
570
|
Sl as useJourney,
|
569
571
|
gt as useModalActions,
|
@@ -572,8 +574,8 @@ export {
|
|
572
574
|
zt as useTrackingContext,
|
573
575
|
Js as useTrialSessionMessageBroker,
|
574
576
|
Zt as useUIContext,
|
575
|
-
|
576
|
-
|
577
|
+
vm as useViewport,
|
578
|
+
Um as useWorksheetLayout,
|
577
579
|
Dr as useZoomDisable
|
578
580
|
};
|
579
581
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user-item-styled.js","sources":["../../../../../src/features/auth/user-list/user-item/user-item-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const UserItemCard = styled(FlexView)<{\n index: number;\n isLastItem?: boolean;\n maxColumns: number;\n}>`\n cursor: pointer;\n transition: background-color 0.3s ease;\n position: relative;\n border-left: 1px solid ${({ theme }) => theme.colors.BLACK_5};\n border-bottom: 1px solid ${({ theme }) => theme.colors.BLACK_5};\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_2};\n }\n\n ${({ index, theme, maxColumns }) =>\n index < maxColumns && `border-top: 1px solid ${theme.colors.BLACK_5};`}\n\n ${({ index, isLastItem, theme, maxColumns }) =>\n ((index + 1) % maxColumns === 0 || isLastItem) &&\n `border-right: 1px solid ${theme.colors.BLACK_5};`}\n`;\n"],"names":["UserItemCard","styled","FlexView","theme","index","maxColumns","isLastItem"],"mappings":";;AAIa,MAAAA,IAAeC,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,2BAQhB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA,6BACjC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,wBAGxC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,IAGvD,CAAC,EAAE,OAAAC,GAAO,OAAAD,GAAO,YAAAE,EAAW,MAC5BD,IAAQC,KAAc,yBAAyBF,EAAM,OAAO,OAAO,GAAG;AAAA;AAAA,IAEtE,CAAC,EAAE,OAAAC,GAAO,YAAAE,GAAY,OAAAH,GAAO,YAAAE,EAC3B,QAAAD,IAAQ,KAAKC,MAAe,KAAKC,MACnC,2BAA2BH,EAAM,OAAO,OAAO,GAAG;AAAA;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user-item.js","sources":["../../../../../src/features/auth/user-list/user-item/user-item.tsx"],"sourcesContent":["import type { IUserItemProps } from './user-item-types';\n\nimport { useCallback, type FC, memo } from 'react';\n\nimport useViewport from '../../../hooks/use-viewport/use-viewport';\nimport Avatar from '../../../ui/avatar/avatar';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { AVATAR_CONFIGURATIONS } from '../user-list-constants';\nimport * as Styled from './user-item-styled';\n\nconst UserItem: FC<IUserItemProps> = ({\n id,\n phone,\n username,\n avatar,\n index,\n isLastItem,\n onSelect,\n avatarSize,\n maxColumns,\n cardSize,\n}) => {\n const { isCompact } = useViewport();\n const handleClick = useCallback(() => {\n onSelect(id);\n }, [id, onSelect]);\n\n const avatarSource = avatar ?? AVATAR_CONFIGURATIONS[index % AVATAR_CONFIGURATIONS.length];\n\n return (\n <Styled.UserItemCard\n key={id}\n onClick={handleClick}\n maxColumns={maxColumns}\n $gutterX={1.5}\n $gapX={1.5}\n $width={cardSize}\n $height={cardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n index={index}\n isLastItem={isLastItem}\n $background=\"BLACK_1\"\n >\n <Avatar size={avatarSize} avatar={avatarSource} />\n <Separator heightX={0.5} />\n <Text $color=\"WHITE\" $renderAs={isCompact ? 'ab3' : 'ab2'} $align=\"center\">\n {username || phone}\n </Text>\n </Styled.UserItemCard>\n );\n};\n\nexport default memo(UserItem);\n"],"names":["UserItem","id","phone","username","avatar","index","isLastItem","onSelect","avatarSize","maxColumns","cardSize","isCompact","useViewport","handleClick","useCallback","avatarSource","AVATAR_CONFIGURATIONS","jsxs","Styled.UserItemCard","jsx","Avatar","Separator","Text","UserItem$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAA+B,CAAC;AAAA,EACpC,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AACF,MAAM;AACE,QAAA,EAAE,WAAAC,MAAcC,KAChBC,IAAcC,EAAY,MAAM;AACpC,IAAAP,EAASN,CAAE;AAAA,EAAA,GACV,CAACA,GAAIM,CAAQ,CAAC,GAEXQ,IAAeX,KAAUY,EAAsBX,IAAQW,EAAsB,MAAM;AAGvF,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,SAASL;AAAA,MACT,YAAAJ;AAAA,MACA,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQC;AAAA,MACR,SAASA;AAAA,MACT,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,OAAAL;AAAA,MACA,YAAAC;AAAA,MACA,aAAY;AAAA,MAEZ,UAAA;AAAA,QAAA,gBAAAa,EAACC,GAAO,EAAA,MAAMZ,GAAY,QAAQO,GAAc;AAAA,QAChD,gBAAAI,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAF,EAACG,GAAK,EAAA,QAAO,SAAQ,WAAWX,IAAY,QAAQ,OAAO,QAAO,UAC/D,UAAAR,KAAYD,EACf,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAjBKD;AAAA,EAAA;AAoBX,GAEesB,IAAAC,EAAKxB,CAAQ;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user-list-constants.js","sources":["../../../../src/features/auth/user-list/user-list-constants.ts"],"sourcesContent":["import type { IAvatarLayer } from '../../ui/avatar/avatar-types';\n\nexport const AVATAR_CONFIGURATIONS: IAvatarLayer[][] = [\n [\n { key: 'layer-1', variant: 1, color: '#FF9999' },\n { key: 'layer-3', variant: 5 },\n { key: 'layer-4', variant: 18 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#E58600' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 9 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#00FF80' },\n { key: 'layer-3', variant: 17 },\n { key: 'layer-4', variant: 16 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#4CC3FF' },\n { key: 'layer-3', variant: 2 },\n { key: 'layer-4', variant: 9 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#00B259' },\n { key: 'layer-3', variant: 9 },\n { key: 'layer-4', variant: 2 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#0086E5' },\n { key: 'layer-3', variant: 8 },\n { key: 'layer-4', variant: 3 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#99E5FF' },\n { key: 'layer-3', variant: 14 },\n { key: 'layer-4', variant: 11 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#FF33DD' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 11 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#B366FF' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 6 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#CCCCCC' },\n { key: 'layer-3', variant: 11 },\n { key: 'layer-4', variant: 7 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#CCCCCC' },\n { key: 'layer-3', variant: 6 },\n { key: 'layer-4', variant: 16 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#E58600' },\n { key: 'layer-3', variant: 18 },\n { key: 'layer-4', variant: 8 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#0086E5' },\n { key: 'layer-3', variant: 8 },\n { key: 'layer-4', variant: 5 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#89F5BF' },\n { key: 'layer-3', variant: 16 },\n { key: 'layer-4', variant: 1 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#FF6A00' },\n { key: 'layer-3', variant: 4 },\n { key: 'layer-4', variant: 3 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#89F5BF' },\n { key: 'layer-3', variant: 3 },\n { key: 'layer-4', variant: 17 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#CCCCCC' },\n { key: 'layer-3', variant: 10 },\n { key: 'layer-4', variant: 3 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#99E5FF' },\n { key: 'layer-3', variant: 14 },\n { key: 'layer-4', variant: 1 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#F37070' },\n { key: 'layer-3', variant: 2 },\n { key: 'layer-4', variant: 16 },\n ],\n [\n { key: 'layer-1', variant: 1, color: '#FF470A' },\n { key: 'layer-3', variant: 18 },\n { key: 'layer-4', variant: 3 },\n ],\n];\n"],"names":["AVATAR_CONFIGURATIONS"],"mappings":"AAEO,MAAMA,IAA0C;AAAA,EACrD;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,IAC7B,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,EAChC;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,IAC7B,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,IAC9B,EAAE,KAAK,WAAW,SAAS,GAAG;AAAA,EAChC;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,IAC7B,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,EAAE,KAAK,WAAW,SAAS,GAAG,OAAO,UAAU;AAAA,IAC/C,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,IAC7B,EAAE,KAAK,WAAW,SAAS,EAAE;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,EAAE,KAA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"file":"user-list-styled.js","sources":["../../../../src/features/auth/user-list/user-list-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { UserItemCard } from './user-item/user-item-styled';\n\nexport const UserListWrapper = styled.div<{\n itemCount: number;\n maxColumns: number;\n cardWidth: number;\n}>`\n display: inline-grid;\n grid-template-columns: repeat(\n ${({ itemCount, maxColumns }) => (itemCount < maxColumns ? itemCount : maxColumns)},\n ${({ cardWidth }) => cardWidth}px\n );\n grid-auto-rows: ${({ cardWidth }) => cardWidth}px;\n`;\n\nexport const AddAccountButton = styled(UserItemCard)`\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_4};\n }\n`;\n"],"names":["UserListWrapper","styled","itemCount","maxColumns","cardWidth","AddAccountButton","UserItemCard","theme"],"mappings":";;AAIO,MAAMA,IAAkBC,EAAO;AAAA;AAAA;AAAA,MAOhC,CAAC,EAAE,WAAAC,GAAW,YAAAC,EAAA,MAAkBD,IAAYC,IAAaD,IAAYC,CAAW;AAAA,MAChF,CAAC,EAAE,WAAAC,EAAU,MAAMA,CAAS;AAAA;AAAA,oBAEd,CAAC,EAAE,WAAAA,EAAU,MAAMA,CAAS;AAAA,GAGnCC,IAAmBJ,EAAOK,CAAY;AAAA;AAAA,wBAE3B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user-list.js","sources":["../../../../src/features/auth/user-list/user-list.tsx"],"sourcesContent":["import type { IUserListProps } from './user-list-types';\n\nimport { type FC, memo } from 'react';\n\nimport PlusIcon from '../../../assets/line-icons/icons/plus';\nimport useViewport from '../../hooks/use-viewport/use-viewport';\nimport FlexView from '../../ui/layout/flex-view';\nimport UserItem from './user-item/user-item';\nimport * as Styled from './user-list-styled';\n\nconst UserList: FC<IUserListProps> = ({\n users,\n onSelect,\n showAddButton = false,\n onAddNew,\n maxColumns = 5,\n cardSize = 200,\n avatarSize = 80,\n}) => {\n const totalCards = users.length + (showAddButton ? 1 : 0);\n const { isCompact } = useViewport();\n\n const responsiveColumnNos = isCompact ? 2 : maxColumns;\n const responsiveCardSize = isCompact ? 180 : cardSize;\n\n return (\n <Styled.UserListWrapper\n itemCount={totalCards}\n maxColumns={responsiveColumnNos}\n cardWidth={responsiveCardSize}\n >\n {users.map(({ id, username, user_avatar: avatar, phone }, index) => (\n <UserItem\n key={id}\n id={id}\n onSelect={onSelect}\n cardSize={responsiveCardSize}\n index={index}\n maxColumns={responsiveColumnNos}\n avatarSize={avatarSize}\n avatar={avatar}\n phone={phone}\n username={username}\n isLastItem={index === totalCards - 1}\n />\n ))}\n\n {showAddButton && (\n <Styled.AddAccountButton\n isLastItem\n index={totalCards}\n maxColumns={responsiveColumnNos}\n $gutterX={5}\n $gapX={5}\n $background=\"BLACK_3\"\n $width={responsiveCardSize}\n $height={responsiveCardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n onClick={onAddNew}\n >\n <FlexView $width={40} $height={40}>\n <PlusIcon color=\"WHITE\" width={40} height={40} />\n </FlexView>\n </Styled.AddAccountButton>\n )}\n </Styled.UserListWrapper>\n );\n};\n\nexport default memo(UserList);\n"],"names":["UserList","users","onSelect","showAddButton","onAddNew","maxColumns","cardSize","avatarSize","totalCards","isCompact","useViewport","responsiveColumnNos","responsiveCardSize","jsxs","Styled.UserListWrapper","id","username","avatar","phone","index","jsx","UserItem","Styled.AddAccountButton","FlexView","PlusIcon","UserList$1","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA+B,CAAC;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AACf,MAAM;AACJ,QAAMC,IAAaP,EAAM,UAAUE,IAAgB,IAAI,IACjD,EAAE,WAAAM,MAAcC,KAEhBC,IAAsBF,IAAY,IAAIJ,G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