5.0.41 • Published 9 months ago

summit-registration-lite v5.0.41

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

summit-registration-lite

React component for the summit registration lite widget

Registration Lite config

apiBaseUrl = base url for API

summitData = object with the data from the summit

profileData = object with the profile data from the user

supportEmail = string with the email address for support

allowsNativeAuth = boolean to show/hide native auth

allowsOtpAuth = boolean to show/hide OTP auth

loginOptions = array with the options to show on the login screen

loading = boolean to show/hide a loader on the widget

showMultipleTicketTexts= boolean to show/hide the text for multiple tickets

noAllowedTicketsMessage= string with the message for the 'No Allowed Tickets' error

ticketTaxesErrorMessage= string with the message for the 'TicketAndTaxesError' component

initialOrderComplete1stParagraph = string with the text for the first paragraph when the user bought his first order

initialOrderComplete2ndParagraph = string with the text for the second paragraph when the user bought his first order

initialOrderCompleteButton = string with the text for the button when the user bought his first order

orderComplete1stParagraph = string with the text for the first paragraph when the user bought an order

orderComplete2ndParagraph = string with the text for the second paragraph when the user bought an order

orderCompleteButton = string with the text for the button when the user bought an order

Example

[
   { button_color: '#082238', provider_label: 'FNid', provider_param: 'fnid' },
   { button_color: '#0370C5', provider_label: 'Facebook', provider_param: 'facebook' }
]

authUser = method passed that will be called on user login. param -> (provider) => console.log('login with', provider)

completedExtraQuestions= method passed that will be called to evaluate if the user extra questions are completed

getAccessToken = method passed that will be called to request the access token

closeWidget = method passed that will be called if the user tries to close the widget

goToExtraQuestions = method passed that will be called by component to redirect to extra questions page. Pass attendeeId

goToEvent = method passed that will be called to redirect the user to the current event

goToMyOrders = method passed that will be called to redirect the user to the my orders page

getPasswordlessCode = method passed that will be called when the user generates a code to login without password

loginWithCode = method passed that will be called when the user tries to login with a code

onPurchaseComplete = method passed that will be called after the purchase of a ticket it's completed

trackEvent = method that tracks a given event.

handleCompanyError = method passed that will be called if the company dropdown can't be fetched

authErrorCallback = method passed that will handle on client any auth error

allowPromoCodes = boolean to show/hide promo code field. Defaults to true

showCompanyInput = booleaen to show/hide the "Company" field. Defaults to true.

companyDDLPlaceholder = string for the set the placeholder of the DDL company input

companyDDLOptions2Show = Maximum number of companies to show on a match of the DDL company input

idpLogoDark = string for custom src for dark theme logo on otp login

idpLogoLight = string for custom src for light theme logo on otp login

idpLogoAlt = string for custom alt logo on otp login

PUBLISH TO NPM:

1 - yarn build && yarn publish

2 - yarn publish-package

IMPORT:

import RegistrationLiteWidget from 'summit-registration-lite/dist';

import 'summit-registration-lite/dist/index.css';

DEBUG:

You can pass this hash on url to override current time, time must be in this format and on summit timezone

#now=2020-06-03,10:59:50

5.0.41

9 months ago

5.0.38

9 months ago

5.0.39

9 months ago

5.8.38-beta.1

9 months ago

5.0.38-beta.1

9 months ago

5.0.40

9 months ago

5.0.31

1 year ago

5.0.32

1 year ago

5.0.33

1 year ago

5.0.34

1 year ago

5.0.35

1 year ago

5.0.36

1 year ago

5.0.37

11 months ago

5.0.31-beta.0

1 year ago

5.0.35-beta.1

1 year ago

5.0.29-beta.2

1 year ago

5.0.36-beta.0

1 year ago

5.0.30

1 year ago

5.0.26-beta.2

1 year ago

5.0.29-beta.1

1 year ago

5.0.29

1 year ago

5.0.28

1 year ago

5.0.26-beta.1

1 year ago

5.0.28-beta.1

1 year ago

5.0.28-beta.0

1 year ago

5.0.27-beta.1

1 year ago

5.0.27-beta.0

1 year ago

5.0.27

1 year ago

5.0.26

1 year ago

5.0.25

1 year ago

5.0.24

1 year ago

5.0.23

1 year ago

5.0.22

1 year ago

5.0.21

1 year ago

5.0.20

1 year ago

5.0.19

1 year ago

5.0.20-alpha.2

1 year ago

5.0.20-alpha.3

1 year ago

5.0.18-alpha.2

2 years ago

5.0.20-alpha.1

2 years ago

5.0.20-alpha.0

2 years ago

5.0.19-alpha.1

2 years ago

5.0.18-alpha.1

2 years ago

5.0.18

2 years ago

5.0.17

2 years ago

5.0.9

2 years ago

5.0.10

2 years ago

5.0.11

2 years ago

5.0.12

2 years ago

5.0.13

2 years ago

5.0.14

2 years ago

5.0.15

2 years ago

5.0.16

2 years ago

4.0.23

2 years ago

4.0.25

2 years ago

4.0.24

2 years ago

4.0.22

2 years ago

5.0.8

2 years ago

5.0.7

2 years ago

5.0.6

2 years ago

5.0.5

2 years ago

5.0.4

2 years ago

5.0.3

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.0.19

2 years ago

4.0.21

2 years ago

4.0.20

2 years ago

4.0.16

2 years ago

4.0.15

2 years ago

4.0.18

2 years ago

4.0.17

2 years ago

4.0.12

2 years ago

4.0.11

2 years ago

4.0.14

2 years ago

4.0.13

2 years ago

4.0.5

2 years ago

4.0.4

2 years ago

4.0.7

2 years ago

4.0.6

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.0.3

2 years ago

4.0.2

2 years ago

4.0.9

2 years ago

4.0.8

2 years ago

4.0.10

2 years ago

3.0.27

2 years ago

3.0.28

2 years ago

3.0.29

2 years ago

3.0.23

3 years ago

3.0.24

3 years ago

3.0.21

3 years ago

3.0.22

3 years ago

3.0.25

3 years ago

3.0.26

3 years ago

3.0.20

3 years ago

3.0.19

3 years ago

3.0.16

3 years ago

3.0.17

3 years ago

3.0.15

3 years ago

3.0.18

3 years ago

2.0.28

3 years ago

2.0.3

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.9

3 years ago

2.0.8

3 years ago

3.0.13

3 years ago

3.0.10

3 years ago

3.0.14

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.0

3 years ago

2.0.15

3 years ago

2.0.16

3 years ago

2.0.13

3 years ago

2.0.14

3 years ago

2.0.11

3 years ago

2.0.12

3 years ago

1.0.82

3 years ago

2.0.10

3 years ago

1.0.81

3 years ago

3.0.9

3 years ago

2.0.19

3 years ago

2.0.17

3 years ago

2.0.18

3 years ago

2.0.26

3 years ago

2.0.27

3 years ago

2.0.24

3 years ago

2.0.25

3 years ago

2.0.22

3 years ago

2.0.23

3 years ago

2.0.20

3 years ago

2.0.21

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

1.0.79

3 years ago

1.0.80

3 years ago

2.0.0

3 years ago

1.0.78

3 years ago

1.0.77

4 years ago

1.0.76

4 years ago

1.0.73

4 years ago

1.0.75

4 years ago

1.0.74

4 years ago

1.0.72

4 years ago

1.0.66

4 years ago

1.0.65

4 years ago

1.0.69

4 years ago

1.0.68

4 years ago

1.0.67

4 years ago

1.0.71

4 years ago

1.0.70

4 years ago

1.0.62

4 years ago

1.0.61

4 years ago

1.0.60

4 years ago

1.0.64

4 years ago

1.0.63

4 years ago

1.0.59

4 years ago

1.0.58

4 years ago

1.0.55

4 years ago

1.0.54

4 years ago

1.0.57

4 years ago

1.0.56

4 years ago

1.0.53

4 years ago

1.0.48

4 years ago

1.0.47

4 years ago

1.0.46

4 years ago

1.0.49

4 years ago

1.0.51

4 years ago

1.0.50

4 years ago

1.0.52

4 years ago

1.0.44

4 years ago

1.0.43

4 years ago

1.0.45

4 years ago

1.0.42

4 years ago

1.0.41

4 years ago

1.0.40

4 years ago

1.0.39

4 years ago

1.0.38

4 years ago

1.0.37

4 years ago

1.0.33

4 years ago

1.0.36

4 years ago

1.0.35

4 years ago

1.0.34

4 years ago

1.0.32

4 years ago

1.0.31

4 years ago

1.0.30

4 years ago

1.0.26

4 years ago

1.0.25

4 years ago

1.0.29

4 years ago

1.0.28

4 years ago

1.0.27

4 years ago

1.0.24

4 years ago

1.0.23

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.22

4 years ago

1.0.11

4 years ago

1.0.21

4 years ago

1.0.10

4 years ago

1.0.20

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago