-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: #781 I want to click button to arrange a viewing with Estate Agent * chore: #781 update style * chore: add some test * chore: #781 update theme class * chore: #781 update styles Co-authored-by: andt <[email protected]>
- web-components_v0.0.7.beta.5
- web-components_v0.0.7.beta.4
- web-components_v0.0.7.beta.3
- web-components_v0.0.7.beta.2
- web-components_v0.0.7.beta.1
- web-components_v0.0.7.beta
- web-components_v0.0.6
- smb-onboarder_v1.0.0-beta.6
- smb-onboarder_v1.0.0-beta.5
- smb-onboarder_v1.0.0-beta.4
- smb-onboarder_v1.0.0-beta.3
- smb-onboarder_v1.0.0-beta.2
- smb-onboarder_v1.0.0-beta.1
- site-builder_v0.0.1
- security-header-lambda_v1.0.6
- security-header-lambda_v1.0.5
- security-header-lambda_v1.0.4
- security-header-lambda_v1.0.3
- security-header-lambda_v1.0.2
- security-header-lambda_v1.0.1
- security-header-lambda_v1.0.0
- search-widget_v1.0.1.beta.1
- search-widget_v1.0.0
- reapit-connect-management_v1.0.6
- reapit-connect-management_v1.0.5
- reapit-connect-management_v1.0.4
- reapit-connect-management_v1.0.3
- reapit-connect-management_v1.0.2
- reapit-connect-management_v1.0.1
- reapit-connect-management_v1.0.0
- reapit-connect-management_v0.0.5
- reapit-connect-management_v0.0.4
- reapit-connect-management_v0.0.3
- reapit-connect-management_v0.0.2
- reapit-connect-management_v0.0.1
- reapit-connect_v3.0.0
- reapit-connect_v2.0.10
- reapit-connect_v2.0.9
- reapit-connect_v2.0.8
- reapit-connect_v2.0.7
- reapit-connect_v2.0.6
- reapit-connect_v2.0.5
- reapit-connect_v2.0.4
- reapit-connect_v2.0.3
- reapit-connect_v2.0.2
- reapit-connect_v2.0.1
- reapit-connect_v2.0.0
- reapit-connect_v1.0.8
- reapit-connect_v1.0.7
- reapit-connect_v1.0.6
- reapit-connect_v1.0.5
- reapit-connect_v1.0.4
- reapit-connect_v1.0.3
- reapit-connect_v1.0.2
- reapit-connect_v1.0.1-beta.2
- reapit-connect_v1.0.1-beta.1
- reapit-connect_v1.0.0
- @reapit/utils-nest_v1.1.0
- @reapit/utils-nest_v1.0.2
- @reapit/utils-nest_v1.0.1
- @reapit/utils-nest_v1.0.0
- @reapit/utils-nest_v0.0.9
- @reapit/utils-nest_v0.0.8
- @reapit/utils-nest_v0.0.7
- @reapit/utils-nest_v0.0.6
- @reapit/utils-nest_v0.0.5
- @reapit/utils-nest_v0.0.4
- @reapit/utils-nest_v0.0.3
- @reapit/utils-nest_v0.0.2
- @reapit/utils-nest_v0.0.1
- @reapit/ts-types_0.0.4
- @reapit/ts-types_0.0.3
- @reapit/ts-types_0.0.2
- @reapit/ts-types_v0.0.2
- @reapit/ts-scripts_0.0.2
- @reapit/ts-scripts_0.0.1
- @reapit/ts-scripts_v0.03
- @reapit/ts-scripts_v0.1.9
- @reapit/ts-scripts_v0.1.0
- @reapit/ts-scripts_v0.0.3
- @reapit/ts-scripts_v0.0.2
- @reapit/ts-bundler_v0.0.1
- @reapit/security-header-lambda_v1.0.7
- @reapit/login-with-reapit_1.0.4
- @reapit/login-with-reapit_v1.0.6
- @reapit/login-with-reapit_v1.0.5
- @reapit/login-with-reapit_v1.0.3
- @reapit/login-with-reapit_v1.0.2
- @reapit/login-with-reapit_v1.0.1
- @reapit/login-with-reapit_v1.0.0
- @reapit/foundations-ts-definitions_v1.3.58
- @reapit/foundations-ts-definitions_v1.3.57
- @reapit/foundations-ts-definitions_v1.3.56
- @reapit/foundations-ts-definitions_v1.3.55
- @reapit/foundations-ts-definitions_v1.3.54
- @reapit/foundations-ts-definitions_v1.3.53
- @reapit/foundations-ts-definitions_v1.3.52
- @reapit/foundations-ts-definitions_v1.3.51
- @reapit/foundations-ts-definitions_v1.3.50
- @reapit/foundations-ts-definitions_v1.3.49
- @reapit/foundations-ts-definitions_v1.3.48
- @reapit/foundations-ts-definitions_v1.3.47
- @reapit/foundations-ts-definitions_v1.3.46
- @reapit/foundations-ts-definitions_v1.3.45
- @reapit/foundations-ts-definitions_v1.3.44
- @reapit/foundations-ts-definitions_v1.3.43
- @reapit/foundations-ts-definitions_v1.3.42
- @reapit/foundations-ts-definitions_v1.3.41
- @reapit/foundations-ts-definitions_v1.3.40
- @reapit/foundations-ts-definitions_v1.3.39
- @reapit/foundations-ts-definitions_v1.3.38
- @reapit/foundations-ts-definitions_v1.3.37
- @reapit/foundations-ts-definitions_v1.3.36
- @reapit/foundations-ts-definitions_v1.3.35
- @reapit/foundations-ts-definitions_v1.3.34
- @reapit/foundations-ts-definitions_v1.3.33
- @reapit/foundations-ts-definitions_v1.3.32
- @reapit/foundations-ts-definitions_v1.3.31
- @reapit/foundations-ts-definitions_v1.3.29
- @reapit/foundations-ts-definitions_v1.3.28
- @reapit/foundations-ts-definitions_v1.3.27
- @reapit/foundations-ts-definitions_v1.3.26
- @reapit/foundations-ts-definitions_v1.3.25
- @reapit/foundations-ts-definitions_v1.3.23
- @reapit/foundations-ts-definitions_v1.3.21
- @reapit/foundations-ts-definitions_v1.3.20
- @reapit/foundations-ts-definitions_v1.3.19
- @reapit/foundations-ts-definitions_v1.3.18
- @reapit/foundations-ts-definitions_v1.3.14
- @reapit/foundations-ts-definitions_v1.3.13
- @reapit/foundations-ts-definitions_v1.3.12
- @reapit/foundations-ts-definitions_v1.3.11
- @reapit/foundations-ts-definitions_v1.3.10
- @reapit/foundations-ts-definitions_v1.3.9
- @reapit/foundations-ts-definitions_v1.3.8
- @reapit/foundations-ts-definitions_v1.3.6
- @reapit/foundations-ts-definitions_v1.3.5
- @reapit/foundations-ts-definitions_v1.3.2
- @reapit/foundations-ts-definitions_v1.3.1
- @reapit/foundations-ts-definitions_v1.3.0
- @reapit/foundations-ts-definitions_v1.2.0
- @reapit/elements_v4.0.2
- @reapit/elements_v4.0.1
- @reapit/elements_v4.0.0
- @reapit/elements_v3.12.0
- @reapit/elements_v3.11.1
- @reapit/elements_v3.11.0
- @reapit/elements_v3.10.4
- @reapit/elements_v3.10.3
- @reapit/elements_v3.10.2
- @reapit/elements_v3.10.1
- @reapit/elements_v3.10.0
- @reapit/elements_v3.9.9
- @reapit/elements_v3.9.8
- @reapit/elements_v3.9.7
- @reapit/elements_v3.9.6
- @reapit/elements_v3.9.5
- @reapit/elements_v3.9.4
- @reapit/elements_v3.9.3
- @reapit/elements_v3.9.2
- @reapit/elements_v3.9.0
- @reapit/elements_v3.8.8
- @reapit/elements_v3.8.7
- @reapit/elements_v3.8.6
- @reapit/elements_v3.8.5
- @reapit/elements_v3.8.4
- @reapit/elements_v3.8.3
- @reapit/elements_v3.8.2
- @reapit/elements_v3.8.1
- @reapit/elements_v3.8.0
- @reapit/elements_v3.7.23
- @reapit/elements_v3.7.22
- @reapit/elements_v3.7.21
- @reapit/elements_v3.7.20
- @reapit/elements_v3.7.19
- @reapit/elements_v3.7.18
- @reapit/elements_v3.7.17
- @reapit/elements_v3.7.16
- @reapit/elements_v3.7.15
- @reapit/elements_v3.7.14
- @reapit/elements_v3.7.13
- @reapit/elements_v3.7.12
- @reapit/elements_v3.7.11
- @reapit/elements_v3.7.10
- @reapit/elements_v3.7.8
- @reapit/elements_v3.7.7
- @reapit/elements_v3.7.6
- @reapit/elements_v3.7.5
- @reapit/elements_v3.7.4
- @reapit/elements_v3.7.3
- @reapit/elements_v3.7.2
- @reapit/elements_v3.7.1
- @reapit/elements_v3.7.0
- @reapit/elements_v3.6.6
- @reapit/elements_v3.6.5
- @reapit/elements_v3.6.4
- @reapit/elements_v3.6.3
- @reapit/elements_v3.6.2
- @reapit/elements_v3.6.1
- @reapit/elements_v3.6.0
- @reapit/elements_v3.5.0
- @reapit/elements_v3.4.0
- @reapit/elements_v3.3.1
- @reapit/elements_v3.3.0
- @reapit/elements_v3.2.0
- @reapit/elements_v3.1.0
- @reapit/elements_v3.0.2
- @reapit/elements_v3.0.1
- @reapit/elements_v3.0.0
- @reapit/elements_v3.0.0-beta.1
- @reapit/elements_v2.0.6
- @reapit/elements_v2.0.5
- @reapit/elements_v2.0.2
- @reapit/elements_v2.0.1
- @reapit/elements_v2.0.0
- @reapit/elements_v1.1.0
- @reapit/cra-template-foundations_v5.1.9
- @reapit/cra-template-foundations_v5.1.8
- @reapit/cra-template-foundations_v5.1.7
- @reapit/cra-template-foundations_v5.1.6
- @reapit/cra-template-foundations_v5.1.5
- @reapit/cra-template-foundations_v5.1.3
- @reapit/cra-template-foundations_v5.1.2
- @reapit/cra-template-foundations_v5.1.1
- @reapit/cra-template-foundations_v5.1.0
- @reapit/cra-template-foundations_v5.0.1
- @reapit/cra-template-foundations_v5.0.0
- @reapit/cra-template-foundations_v4.2.0
- @reapit/cra-template-foundations_v4.1.1
- @reapit/cra-template-foundations_v4.1.0
- @reapit/cra-template-foundations_v4.0.1
- @reapit/cra-template-foundations_v4.0.0
- @reapit/cra-template-foundations_v3.0.1
- @reapit/cra-template-foundations_v3.0.0
- @reapit/connect-session-server_v1.0.0
- @reapit/connect-session_2.3.0
- @reapit/connect-session_v6.0.3
- @reapit/connect-session_v6.0.2
- @reapit/connect-session_v6.0.1
- @reapit/connect-session_v6.0.0
- @reapit/connect-session_v5.0.1
- @reapit/connect-session_v5.0.0
- @reapit/connect-session_v4.1.4
- @reapit/connect-session_v4.1.3
- @reapit/connect-session_v4.1.2
- @reapit/connect-session_v4.1.1
- @reapit/connect-session_v4.1.0
- @reapit/connect-session_v4.0.5
- @reapit/connect-session_v4.0.4
- @reapit/connect-session_v4.0.3
- @reapit/connect-session_v4.0.2
- @reapit/connect-session_v4.0.1
- @reapit/connect-session_v4.0.0
- @reapit/connect-session_v3.4.2
- @reapit/connect-session_v3.4.0
- @reapit/connect-session_v3.3.0
- @reapit/connect-session_v3.2.1
- @reapit/connect-session_v3.2.0
- @reapit/connect-session_v3.1.0
- @reapit/connect-session_v3.0.0
- @reapit/connect-session_v2.3.3
- @reapit/connect-session_v2.3.2
- @reapit/connect-session_v2.3.1
- @reapit/cli_v2.1.6
- @reapit/cli_v2.1.5
- @reapit/cli_v2.1.4
- @reapit/cli_v2.1.3
- @reapit/cli_v2.1.2
- @reapit/cli_v2.0.1
- @reapit/cli_v2.0.0
- @reapit/cli_v1.0.2
- @reapit/cli_v1.0.1
- @reapit/cli_v1.0.0
- @reapit/cli_v0.3.4
- @reapit/cli_v0.3.3
- @reapit/cli_v0.3.2
- @reapit/cli_v0.3.1
- @reapit/app-builder-backend_v.0.0.13
- @reapit/app-builder-backend_v.0.0.12
- @reapit/app-builder-backend_v.0.0.11
- @reapit/app-builder-backend_v.0.0.10
- @reapit/app-builder-backend_v.0.0.9
- @reapit/app-builder-backend_v.0.0.8
- @reapit/app-builder-backend_v.0.0.7
- @reapit/app-builder-backend_v.0.0.6
- @reapit/app-builder-backend_v.0.0.5
- @reapit/app-builder-backend_v.0.0.4
- @reapit/app-builder-backend_v.0.0.3
- @reapit/app-builder-backend_v.0.0.2
- @reapit/app-builder-backend_v0.0.1
- @reapit/app-builder_v0.0.1
- react-app-scaffolder_v1.0.1
- react-app-scaffolder_v0.0.31
- react-app-scaffolder_v0.0.30
- rc-service_v2.0.6
- rc-service_v2.0.5
- rc-service_v2.0.4
- rc-service_v2.0.3
- rc-service_v2.0.2
- rc-service_v2.0.1
- rc-service_v2.0.0
- rc-service_v1.0.8
- rc-service_v1.0.7
- rc-service_v1.0.6
- rc-service_v1.0.5
- rc-service_v1.0.4
- rc-service_v1.0.3
- rc-service_v1.0.2
- rc-service_v1.0.1
- rc-service_v1.0.0
- rc-mfa-config_v2.0.2
- rc-mfa-config_v2.0.1
- rc-mfa-config_v2.0.0
- rc-mfa-config_v1.0.0
- rc-mfa-config_v0.1.12
- rc-mfa-config_v0.1.11
- rc-mfa-config_v0.1.10
- rc-mfa-config_v0.1.9
- rc-mfa-config_v0.1.8
- rc-mfa-config_v0.1.7
- rc-mfa-config_v0.1.6
- rc-mfa-config_v0.1.5
- rc-mfa-config_v0.1.4
- rc-mfa-config_v0.1.3
- rc-mfa-config_v0.1.2
- rc-mfa-config_v0.1.0
- rc-mfa-config_v0.0.7
- rc-mfa-config_v0.0.6
- rc-mfa-config_v0.0.5
- rc-mfa-config_v0.0.4
- rc-mfa-config_v0.0.3
- rc-mfa-config_v0.0.2
- rc-mfa-config_v0.0.1
- payments-service_v3.1.1
- payments-service_v3.1.0
- payments-service_v3.0.0
- payments-service_v2.1.7
- payments-service_v2.1.6
- payments-service_v2.1.5
- payments-service_v2.1.4
- payments-service_v2.1.3
- payments-service_v2.1.2
- payments-service_v2.1.1
- payments-service_v2.1.0
- payments-service_v2.0.2
- payments-service_v2.0.1
- payments-service_v2.0.0
- payments-service_v1.0.5
- payments-service_v1.0.4
- payments-service_v1.0.3
- payments-service_v1.0.2
- payments-service_v1.0.1
- payments-service_v1.0.0
- payments-portal_v3.0.0
- payments-portal_v2.0.2
- payments-portal_v2.0.1
- payments-portal_v2.0.0
- payments-portal_v1.2.3
- payments-portal_v1.2.2
- payments-portal_v1.2.1
- payments-portal_v1.2.0
- payments-portal_v1.1.2
- payments-portal_v1.1.1
- payments-portal_v1.1.0
- payments-portal_v1.0.1
- payments-portal_v1.0.0
- payments-client_v5.0.0
- payments-client_v4.0.1
- payments-client_v4.0.0
- payments-client_v3.2.3
- payments-client_v3.2.2
- payments-client_v3.2.1
- payments-client_v3.2.0
- payments-client_v3.1.3
- payments-client_v3.1.2
- payments-client_v3.1.1
- payments-client_v3.1.0
- payments-client_v3.0.2
- payments-client_v3.0.1
- payments-client_v3.0.0
- payments-client_v2.0.1
- payments-client_v2.0.0
- payments-client_v1.0.1
- payments-client_v1.0.0
- payments-client_v0.0.5
- payments-client_v0.0.4
- payments-client_v0.0.3
- payments-client_v0.0.2
- payments-client_v0.0.1
- marketplace-management_v3.0.3
- marketplace-management_v3.0.2
- marketplace-management_v3.0.1
- marketplace-management_v3.0.0
- marketplace-management_v2.1.3
- marketplace-management_v2.1.2
- marketplace-management_v2.1.1
- marketplace-management_v2.1.0
- marketplace-management_v2.0.25
- marketplace-management_v2.0.24
- marketplace-management_v2.0.23
- marketplace-management_v2.0.22
- marketplace-management_v2.0.21
- marketplace-management_v2.0.20
- marketplace-management_v2.0.19
- marketplace-management_v2.0.18
- marketplace-management_v2.0.17
- marketplace-management_v2.0.16
- marketplace-management_v2.0.15
- marketplace-management_v2.0.14
- marketplace-management_v2.0.13
- marketplace-management_v2.0.12
- marketplace-management_v2.0.11
- marketplace-management_v2.0.10
- marketplace-management_v2.0.9
- marketplace-management_v2.0.8
- marketplace-management_v2.0.7
- marketplace-management_v2.0.6
- marketplace-management_v2.0.5
- marketplace-management_v2.0.4
- marketplace-management_v2.0.3
- marketplace-management_v2.0.2
- marketplace-management_v2.0.1
- marketplace-management_v2.0.0
- marketplace-management_v1.0.4
- marketplace-management_v1.0.3
- marketplace-management_v1.0.2
- marketplace-management_v1.0.1
- marketplace-management_v1.0.0
- marketplace_v5.0.2
- marketplace_v5.0.1
- marketplace_v5.0.0
- marketplace_v4.1.6
- marketplace_v4.1.5
- marketplace_v4.1.4
- marketplace_v4.1.3
- marketplace_v4.1.2
- marketplace_v4.1.1
- marketplace_v4.1.0
- marketplace_v4.0.13
- marketplace_v4.0.12
- marketplace_v4.0.11
- marketplace_v4.0.10
- marketplace_v4.0.9
- marketplace_v4.0.8
- marketplace_v4.0.7
- marketplace_v4.0.6
- marketplace_v4.0.5
- marketplace_v4.0.4
- marketplace_v4.0.3
- marketplace_v4.0.2
- marketplace_v4.0.1
- marketplace_v4.0.0
- marketplace_v3.1.10
- marketplace_v3.1.9
- marketplace_v3.1.8
- marketplace_v3.1.7
- marketplace_v3.1.6
- marketplace_v3.1.5
- marketplace_v3.1.4
- marketplace_v3.1.3
- marketplace_v3.1.2
- marketplace_v3.1.1
- marketplace_v3.1.0
- marketplace_v3.0.2
- marketplace_v3.0.1
- marketplace_v3.0.0
- marketplace_v2.1.26
- marketplace_v2.1.25
- marketplace_v2.1.24
- marketplace_v2.1.23
- marketplace_v2.1.22
- marketplace_v2.1.21
- marketplace_v2.1.20
- marketplace_v2.1.19
- marketplace_v2.1.18
- marketplace_v2.1.17
- marketplace_v2.1.16
- marketplace_v2.1.15
- marketplace_v2.1.14
- marketplace_v2.1.13
- marketplace_v2.1.12
- marketplace_v2.1.11
- marketplace_v2.1.10
- marketplace_v2.1.9
- marketplace_v2.1.8
- marketplace_v2.1.7
- marketplace_v2.1.6
- marketplace_v2.1.5
- marketplace_v2.1.4
- marketplace_v2.1.3
- marketplace_v2.1.2
- marketplace_v2.1.1
- marketplace_v2.1.0.beta.15
- marketplace_v2.1.0.beta.11
- marketplace_v2.1.0.beta.10
- marketplace_v2.1.0.beta.9
- marketplace_v2.1.0.beta.8
- marketplace_v2.1.0.beta.7
- marketplace_v2.1.0.beta.6
- marketplace_v2.1.0.beta.5
- marketplace_v2.1.0.beta.4
- marketplace_v2.1.0.beta.3
- marketplace_v2.1.0.beta.2
- marketplace_v2.1.0.beta.1
- marketplace_v2.1.0.alpha.1
- marketplace_v2.1.0.alpha
- marketplace_v2.1.0-beta.14
- marketplace_v2.1.0-beta.13
- marketplace_v2.1.0-beta.12
- marketplace_v2.1.0-beta.11
- marketplace_v2.1.0-beta.10
- marketplace_v2.1.0-beta.9
- marketplace_v2.1.0-beta.8
- marketplace_v2.1.0-beta.7
- marketplace_v2.1.0-beta.6
- marketplace_v2.0.1
- marketplace_v2.0.0
- marketplace_v1.0.38
- marketplace_v1.0.37
- marketplace_v1.0.36
- marketplace_v1.0.35
- marketplace_v1.0.35-alpha.6
- marketplace_v1.0.35-alpha.5
- marketplace_v1.0.35-alpha.4
- marketplace_v1.0.35-alpha.3
- marketplace_v1.0.35-alpha.2
- marketplace_v1.0.35-alpha.1
- marketplace_v1.0.34
- marketplace_v1.0.33
- marketplace_v1.0.32
- marketplace_v1.0.32-beta.3
- marketplace_v1.0.32-beta.2
- marketplace_v1.0.32-beta.1
- marketplace_v1.0.31
- marketplace_v1.0.30
- marketplace_v1.0.29
- marketplace_v1.0.28
- marketplace_v1.0.27
- marketplace_v1.0.26
- marketplace_v1.0.25
- marketplace_v1.0.24
- marketplace_v1.0.23
- marketplace_v1.0.22
- mailer-service_v1.0.3
- mailer-service_v1.0.2
- mailer-service_v1.0.1
- mailer-service_v1.0.0
- mailer-service_v0.0.3
- mailer-service_v0.0.2
- mailer-service_v0.0.1
- insights_v0.0.5
- insights_v0.0.4
- insights_v0.0.3
- insights_v0.0.2
- insights_v0.0.1
- graphql-server-v2_v2.0.1
- graphql-server-v2_v2.0.0
- graphql-server_v3.0.0
- graphql-server_v2.0.4
- graphql-server_v1.3.6
- graphql-server_v1.3.5
- graphql-server_v1.3.4
- graphql-server_v1.3.3
- graphql-server_v1.3.2
- graphql-server_v1.3.1
- graphql-server_v1.3.0
- graphql-server_v1.2.1
- graphql-server_v1.2.0
- graphql-server_v1.1.0
- graphql-server_v1.0.2
- graphql-server_v1.0.1
- graphql-server_v1.0.1-beta.8
- graphql-server_v1.0.1-beta.7
- graphql-server_v1.0.1-beta.6
- graphql-server_v1.0.1-beta.5
- graphql-server_v1.0.1-beta.4
- graphql-server_v1.0.1-beta.3
- graphql-server_v1.0.1-beta.2
- graphql-server_v1.0.1-beta.1
- graphql-server_v1.0.0
- geo-diary-v2_v1.0.0.alpha.1
- geo-diary-v2_v1.0.0-beta.2
- geo-diary-v2_v1.0.0-beta.1
- geo-diary-marketing_v1.0.0
- geo-diary_v5.0.1
- geo-diary_v5.0.0
- geo-diary_v4.2.3
- geo-diary_v4.2.2
- geo-diary_v4.2.1
- geo-diary_v4.2.0
- geo-diary_v4.1.5
- geo-diary_v4.1.4
- geo-diary_v4.1.3
- geo-diary_v4.1.2
- geo-diary_v4.1.1
- geo-diary_v4.1.0
- geo-diary_v4.0.2
- geo-diary_v4.0.1
- geo-diary_v4.0.0
- geo-diary_v3.0.0
- geo-diary_v2.1.0
- geo-diary_v2.0.9
- geo-diary_v2.0.8
- geo-diary_v2.0.7
- geo-diary_v2.0.6
- geo-diary_v2.0.5
- geo-diary_v2.0.4
- geo-diary_v2.0.3
- geo-diary_v2.0.2
- geo-diary_v2.0.1
- geo-diary_v2.0.0
- geo-diary_v2.0.0-beta.4
- geo-diary_v2.0.0-beta.3
- geo-diary_v2.0.0-beta.2
- geo-diary_v2.0.0-beta.1
- geo-diary_v1.0.5
- geo-diary_v1.0.4
- geo-diary_v1.0.3
- geo-diary_v1.0.2
- geo-diary_v1.0.1
- foundations-ts-definitions_v1.2.0
- foundations-ts-definitions_v1.1.7
- foundations-ts-definitions_v1.1.6
- foundations-ts-definitions_v1.1.5
- foundations-ts-definitions_v1.1.4
- foundations-ts-definitions_v1.1.2
- foundations-ts-definitions_v1.0.1
- foundations-ts-definitions_v0.0.86
- foundations-ts-definitions_v0.0.82
- foundations-ts-definitions_v0.0.81
- elements_v1.1.1
- elements_v1.1.0
- elements_v1.0.10
- elements_v1.0.9
- elements_v1.0.8
- elements_v1.0.7
- elements_v1.0.6
- elements_v1.0.5
- elements_v1.0.3
- elements_v1.0.1
- elements_v1.0.0
- elements_v1.0.0-alpha.1
- elements_v0.5.63
- elements_v0.5.62
- elements_v0.5.61
- elements_v0.5.60
- elements_v0.5.59
- elements_v0.5.59-beta.1
- elements_v0.5.57
- elements_v0.5.56
- developer-portal_v4.1.13
- developer-portal_v4.1.12
- developer-portal_v4.1.11
- developer-portal_v4.1.10
- developer-portal_v4.1.9
- developer-portal_v4.1.8
- developer-portal_v4.1.7
- developer-portal_v4.1.6
- developer-portal_v4.1.5
- developer-portal_v4.1.4
- developer-portal_v4.1.3
- developer-portal_v4.1.2
- developer-portal_v4.1.1
- developer-portal_v4.1.0
- developer-portal_v4.0.4
- developer-portal_v4.0.3
- developer-portal_v4.0.2
- developer-portal_v4.0.1
- developer-portal_v4.0.0
- developer-portal_v3.1.3
- developer-portal_v3.1.2
- developer-portal_v3.1.1
- developer-portal_v3.1.0
- developer-portal_v3.0.42
- developer-portal_v3.0.41
- developer-portal_v3.0.40
- developer-portal_v3.0.39
- developer-portal_v3.0.38
- developer-portal_v3.0.37
- developer-portal_v3.0.36
- developer-portal_v3.0.35
- developer-portal_v3.0.34
- developer-portal_v3.0.33
- developer-portal_v3.0.32
- developer-portal_v3.0.31
- developer-portal_v3.0.30
- developer-portal_v3.0.29
- developer-portal_v3.0.28
- developer-portal_v3.0.27
- developer-portal_v3.0.26
- developer-portal_v3.0.25
- developer-portal_v3.0.24
- developer-portal_v3.0.23
- developer-portal_v3.0.22
- developer-portal_v3.0.21
- developer-portal_v3.0.20
- developer-portal_v3.0.19
- developer-portal_v3.0.18
- developer-portal_v3.0.17
- developer-portal_v3.0.16
- developer-portal_v3.0.15
- developer-portal_v3.0.14
- developer-portal_v3.0.13
- developer-portal_v3.0.12
- developer-portal_v3.0.11
- developer-portal_v3.0.10
- developer-portal_v3.0.9
- developer-portal_v3.0.8
- developer-portal_v3.0.7
- developer-portal_v3.0.6
- developer-portal_v3.0.5
- developer-portal_v3.0.4
- developer-portal_v3.0.3
- developer-portal_v3.0.2
- developer-portal_v3.0.1
- developer-portal_v3.0.0
- developer-portal_v2.3.3
- developer-portal_v2.3.2
- developer-portal_v2.3.1
- developer-portal_v2.3.0
- developer-portal_v2.2.32
- developer-portal_v2.2.31
- developer-portal_v2.2.30
- developer-portal_v2.2.29
- developer-portal_v2.2.28
- developer-portal_v2.2.27
- developer-portal_v2.2.26
- developer-portal_v2.2.24
- developer-portal_v2.2.23
- developer-portal_v2.2.22
- developer-portal_v2.2.21
- developer-portal_v2.2.20
- developer-portal_v2.2.19
- developer-portal_v2.2.18
- developer-portal_v2.2.17
- developer-portal_v2.2.16
- developer-portal_v2.2.15
- developer-portal_v2.2.14
- developer-portal_v2.2.13
- developer-portal_v2.2.12
- developer-portal_v2.2.11
- developer-portal_v2.2.10
- developer-portal_v2.2.9
- developer-portal_v2.2.8
- developer-portal_v2.2.7
- developer-portal_v2.2.6
- developer-portal_v2.2.5
- developer-portal_v2.2.4
- developer-portal_v2.2.3
- developer-portal_v2.2.2
- developer-portal_v2.2.1
- developer-portal_v2.2.0
- developer-portal_v2.1.2
- developer-portal_v2.1.1
- developer-portal_v2.1.0
- developer-portal_v2.0.3
- developer-portal_v2.0.2
- developer-portal_v2.0.1
- developer-portal_v2.0.0
- developer-portal_v1.1.29
- developer-portal_v1.1.28
- developer-portal_v1.1.27
- developer-portal_v1.1.26
- developer-portal_v1.1.25
- developer-portal_v1.1.24
- developer-portal_v1.1.23
- developer-portal_v1.1.22
- developer-portal_v1.1.21
- developer-portal_v1.1.20
- developer-portal_v1.1.19
- developer-portal_v1.1.18
- developer-portal_v1.1.17
- developer-portal_v1.1.16
- developer-portal_v1.1.15
- developer-portal_v1.1.14
- developer-portal_v1.1.13
- developer-portal_v1.1.12
- developer-portal_v1.1.11
- developer-portal_v1.1.10
- developer-portal_v1.1.9
- developer-portal_v1.1.8
- developer-portal_v1.1.7
- developer-portal_v1.1.6
- developer-portal_v1.1.5
- developer-portal_v1.1.4
- developer-portal_v1.1.3
- developer-portal_v1.1.2
- developer-portal_v1.1.1
- developer-portal_v1.1.0.alpha
- developer-portal_v1.1.0-beta.22
- developer-portal_v1.1.0-beta.21
- developer-portal_v1.1.0-beta.20
- developer-portal_v1.1.0-beta.19
- developer-portal_v1.1.0-beta.18
- developer-portal_v1.1.0-beta.17
- developer-portal_v1.1.0-beta.16
- developer-portal_v1.1.0-beta.15
- developer-portal_v1.1.0-beta.14
- developer-portal_v1.1.0-beta.13
- developer-portal_v1.1.0-beta.12
- developer-portal_v1.1.0-beta.11
- developer-portal_v1.1.0-beta.10
- developer-portal_v1.1.0-beta.9
- developer-portal_v1.1.0-beta.8
- developer-portal_v1.1.0-beta.7
- developer-portal_v1.1.0-beta.6
- developer-portal_v1.1.0-beta.5
- developer-portal_v1.1.0-beta.4
- developer-portal_v1.1.0-beta.3
- developer-portal_v1.1.0-beta.2
- developer-portal_v1.1.0-beta.1
- developer-portal_v1.0.4
- developer-portal_v1.0.3
- developer-portal_v1.0.3.alpha
- developer-portal_v1.0.2
- developer-portal_v1.0.1
- developer-portal_v1.0.0
- deployment-service_v3.1.20
- deployment-service_v3.1.19
- deployment-service_v3.1.18
- deployment-service_v3.1.17
- deployment-service_v3.1.16
- deployment-service_v3.1.15
- deployment-service_v3.1.14
- deployment-service_v3.1.13
- deployment-service_v3.1.12
- deployment-service_v3.1.11
- deployment-service_v3.1.10
- deployment-service_v3.1.9
- deployment-service_v3.1.8
- deployment-service_v3.1.7
- deployment-service_v3.1.6
- deployment-service_v3.1.5
- deployment-service_v3.1.4
- deployment-service_v3.1.3
- deployment-service_v3.1.2
- deployment-service_v3.1.1
- deployment-service_v3.1.0
- deployment-service_v3.0.7
- deployment-service_v3.0.6
- deployment-service_v3.0.5
- deployment-service_v3.0.4
- deployment-service_v2.3.6
- deployment-service_v2.3.5
- deployment-service_v2.3.4
- deployment-service_v2.3.3
- deployment-service_v2.3.2
- deployment-service_v2.3.1
- deployment-service_v2.3.0
- deployment-service_v2.2.6
- deployment-service_v2.2.5
- deployment-service_v2.2.4
- deployment-service_v2.2.3
- deployment-service_v2.2.2
- deployment-service_v2.2.1
- deployment-service_v2.2.0
- deployment-service_v2.1.6
- deployment-service_v2.1.5
- deployment-service_v2.1.4
- deployment-service_v2.1.3
- deployment-service_v2.1.2
- deployment-service_v2.1.1
- deployment-service_v2.1.0
- deployment-service_v2.0.1
- deployment-service_v2.0.0
- deployment-service_v.1.1.5
- deployment-service_v1.1.5
- deployment-service_v1.1.4
- deployment-service_v1.1.3
- deployment-service_v1.1.2
- deployment-service_v1.1.1
- deployment-service_v1.1.0
- deployment-service_v1.0.8
- deployment-service_v1.0.7
- deployment-service_v1.0.6
- deployment-service_v1.0.5
- deployment-service_v1.0.4
- deployment-service_v1.0.3
- deployment-service_v1.0.2
- deployment-service_v1.0.1
- deployment-service_v1.0.0
- data-warehouse_v2.0.4
- data-warehouse_v2.0.3
- data-warehouse_v2.0.2
- data-warehouse_v2.0.1
- data-warehouse_v2.0.0
- data-warehouse_v1.1.1
- data-warehouse_v1.1.0
- data-warehouse_v1.0.5
- data-warehouse_v1.0.4
- data-warehouse_v1.0.3
- data-warehouse_v1.0.2
- data-warehouse_v1.0.1
- data-warehouse_v1.0.0
- data-warehouse_v0.0.12
- data-warehouse_v0.0.11
- data-warehouse_v0.0.10
- data-warehouse_v0.0.9
- data-warehouse_v0.0.8
- data-warehouse_v0.0.7
- data-warehouse_v0.0.6
- data-warehouse_v0.0.5
- data-warehouse_v0.0.4
- data-warehouse_v0.0.3
- data-warehouse_v0.0.2
- data-warehouse_v0.0.1
- cra-template-foundations_1.1.4
- cra-template-foundations_1.1.1
- cra-template-foundations_1.0.0-alpha.2
- cra-template-foundations_v5.1.8
- cra-template-foundations_v5.1.7
- cra-template-foundations_v1.1.5
- cra-template-foundations_v1.1.1
- cra-template-foundations_v1.0.1
- cra-template-foundations_v1.0.0
- cra-template-foundations_v1.0.0cra-template-foundations_v1.1.0
- connect-session_2.3.0
- connect-session_2.0.6
- connect-session_1.0.0-alpha.1
- connect-session_v3.0.0
- connect-session_v2.0.6
- connect-session_v2.0.5
- connect-session_v2.0.4
- connect-session_v2.0.3
- connect-session_v2.0.2
- connect-session_v2.0.1
- connect-session_v2.0.0
- connect-session_v1.0.1
- connect-session_v1.0.0
- connect-s
- cognito-custom-mail-lambda_v1.2.5
- cognito-custom-mail-lambda_v1.2.4
- cognito-custom-mail-lambda_v1.2.3
- cognito-custom-mail-lambda_v1.2.2
- cognito-custom-mail-lambda_v1.2.1
- cognito-custom-mail-lambda_v1.2.0
- cognito-custom-mail-lambda_v1.1.1
- cognito-custom-mail-lambda_v1.1.0
- cognito-custom-mail-lambda_v1.0.8
- cognito-custom-mail-lambda_v1.0.7
- cognito-custom-mail-lambda_v1.0.6
- cognito-custom-mail-lambda_v1.0.5
- cognito-custom-mail-lambda_v1.0.4
- cognito-custom-mail-lambda_v1.0.3
- cognito-custom-mail-lambda_v1.0.2
- cognito-custom-mail-lambda_v1.0.1
- cognito-custom-mail-lambda_v1.0.0
- cognito-auth_v3.0.0
- cognito-auth_v2.1.10
- cognito-auth_v2.1.9
- cognito-auth_v2.1.7
- cognito-auth_v2.1.6
- cognito-auth_v2.1.5
- cognito-auth_v2.1.4
- cognito-auth_v2.1.3
- c-mfa-config_v0.1.1
- appointment-planner-component_v0.0.7.beta.6
- appointment-planner-component_v0.0.7.beta.5
- appointment-planner-component_v0.0.7.beta.4
- app-marketplace-cms_v2.0.2
- app-marketplace-cms_v2.0.1
- app-marketplace-cms_v2.0.0
- app-marketplace-cms_v1.0.7
- app-marketplace-cms_v1.0.6
- app-marketplace-cms_v1.0.5
- app-marketplace-cms_v1.0.4
- app-marketplace-cms_v1.0.3
- app-marketplace-cms_v1.0.2
- app-marketplace-cms_v1.0.1
- app-marketplace-cms_v1.0.0
- app-marketplace-admin_v2.0.0
- app-marketplace-admin_v1.2.2
- app-marketplace-admin_v1.2.1
- app-marketplace-admin_v1.2.0
- app-marketplace-admin_v1.1.13
- app-marketplace-admin_v1.1.12
- app-marketplace-admin_v1.1.11
- app-marketplace-admin_v1.1.10
- app-marketplace-admin_v1.1.9
- app-marketplace-admin_v1.1.8
- app-marketplace-admin_v1.1.7
- app-marketplace-admin_v1.1.6
- app-marketplace-admin_v1.1.5
- app-marketplace-admin_v1.1.4
- app-marketplace-admin_v1.1.3
- app-marketplace-admin_v1.1.2
- app-marketplace-admin_v1.1.1
- app-marketplace-admin_v1.1.0
- app-marketplace-admin_v1.0.3
- app-marketplace-admin_v1.0.2
- app-marketplace-admin_v1.0.1
- app-marketplace-admin_v1.0.0
- app-market_v0.0.17
- app-market_v0.0.16
- app-market_v0.0.15
- app-market_v0.0.14
- app-market_v0.0.13
- app-market_v0.0.12
- app-market_v0.0.11
- app-market_v0.0.10
- app-market_v0.0.9
- app-market_v0.0.8
- app-market_v0.0.7
- app-market_v0.0.6
- app-market_v0.0.5
- app-market_v0.0.4
- app-market_v0.0.3
- app-market_v0.0.2
- app-market_v0.0.1
- app-builder_v0.0.12
- app-builder_v0.0.11
- app-builder_v0.0.10
- app-builder_v0.0.9
- app-builder_v0.0.8
- app-builder_v0.0.7
- app-builder_v0.0.6
- app-builder_v0.0.5
- app-builder_v0.0.4
- app-builder_v0.0.2
- app-builder_v0.0.1
- api-key-service_v1.0.5
- api-key-service_v1.0.4
- api-key-service_v1.0.3
- api-key-service_v1.0.2
- api-key-service_v1.0.1
- api-key-service_v1.0.0
- aml-checklist_v2.0.4
- aml-checklist_v2.0.3
- aml-checklist_v2.0.2
- aml-checklist_v2.0.1
- aml-checklist_v2.0.0
- aml-checklist_v1.0.14
- aml-checklist_v1.0.13
- aml-checklist_v1.0.12
- aml-checklist_v1.0.11
- aml-checklist_v1.0.10
- aml-checklist_v1.0.9
- aml-checklist_v1.0.8
- aml-checklist_v1.0.7
- aml-checklist_v1.0.6
- aml-checklist_v1.0.6-beta.7
- aml-checklist_v1.0.6-beta.6
- aml-checklist_v1.0.6-beta.5
- aml-checklist_v1.0.6-beta.4
- aml-checklist_v1.0.6-beta.3
- aml-checklist_v1.0.6-beta.2
- aml-checklist_v1.0.6-beta.1
- aml-checklist_v1.0.5
- aml-checklist_v1.0.4
- aml-checklist_v1.0.3
- aml-checklist_v1.0.2
- admin-portal_v4.0.8
- admin-portal_v4.0.7
- admin-portal_v4.0.6
- admin-portal_v4.0.5
- admin-portal_v4.0.4
- admin-portal_v4.0.3
- admin-portal_v4.0.2
- admin-portal_v4.0.1
- admin-portal_v4.0.0
- admin-portal_v3.2.7
- admin-portal_v3.2.6
- admin-portal_v3.2.5
- admin-portal_v3.2.4
- admin-portal_v3.2.3
- admin-portal_v3.2.2
- admin-portal_v3.2.1
- admin-portal_v3.2.0
- admin-portal_v3.1.2
- admin-portal_v3.1.1
- admin-portal_v3.1.0
- admin-portal_v3.0.6
- admin-portal_v3.0.5
- admin-portal_v3.0.4
- admin-portal_v3.0.3
- admin-portal_v3.0.2
- admin-portal_v3.0.1
- admin-portal_v3.0.0
- admin-portal_v2.0.28
- admin-portal_v2.0.27
- admin-portal_v2.0.26
- admin-portal_v2.0.25
- admin-portal_v2.0.24
- admin-portal_v2.0.23
- admin-portal_v2.0.22
- admin-portal_v2.0.21
- admin-portal_v2.0.20
- admin-portal_v2.0.19
- admin-portal_v2.0.18
- admin-portal_v2.0.17
- admin-portal_v2.0.16
- admin-portal_v2.0.15
- admin-portal_v2.0.14
- admin-portal_v2.0.13
- admin-portal_v2.0.12
- admin-portal_v2.0.11
- admin-portal_v2.0.10
- admin-portal_v2.0.9
- admin-portal_v2.0.8
- admin-portal_v2.0.7
- admin-portal_v2.0.6
- admin-portal_v2.0.5
- admin-portal_v2.0.4
- admin-portal_v2.0.3
- admin-portal_v2.0.2
- admin-portal_v2.0.1
- admin-portal_v2.0.0
- admin-portal_v1.2.10
- admin-portal_v1.2.9
- admin-portal_v1.2.8
- admin-portal_v1.2.7
- admin-portal_v1.2.6
- admin-portal_v1.2.5
- admin-portal_v1.2.4
- admin-portal_v1.2.3
- admin-portal_v1.2.2
- admin-portal_v1.2.1
- admin-portal_v1.2.0
- admin-portal_v1.2.0.alpha
- admin-portal_v1.2.0-beta.10
- admin-portal_v1.2.0-beta.9
- admin-portal_v1.2.0-beta.8
- admin-portal_v1.2.0-beta.7
- admin-portal_v1.2.0-beta.6
- admin-portal_v1.2.0-beta.5
- admin-portal_v1.2.0-beta.4
- admin-portal_v1.2.0-beta.3
- admin-portal_v1.2.0-beta.2
- admin-portal_v1.2.0-beta.1
- admin-portal_v1.1.0.alpha
- admin-portal_v1.0.4
- admin-portal_v1.0.4.alpha
- admin-portal_v1.0.3
- admin-portal_v1.0.2
- admin-portal_v1.0.1
- admin-portal_v1.0.0
1 parent
54025f2
commit 629fb15
Showing
21 changed files
with
1,100 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
packages/web-components/src/common/styles/__themes__/viewing-booking.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const defaultVariant = { | ||
baseBackgroundColor: '#f9fbfd', | ||
basefontSize: '16px', | ||
basefontColor: '#12263f', | ||
inverseFontColor: '#f9fbfd', | ||
secondaryfontColor: '#1e2554', | ||
primaryHeadingFontSize: '24px', | ||
secondaryHeadingFontSize: '20px', | ||
baseFontFamily: '"Roboto", sans-serif', | ||
headingFontFamily: '"Open Sans", sans-serif', | ||
primaryAccentColor: '#0061a8', | ||
secondaryAccentColor: '#6c757d', | ||
mapAccentColor: '#7bc9eb', | ||
breakPoints: { | ||
mobile: '', | ||
tablet: '', | ||
laptop: '', | ||
desktop: '', | ||
}, | ||
} | ||
|
||
window.theme = defaultVariant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/web-components/src/common/utils/__tests__/validate.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { validateEmail } from '../validate' | ||
|
||
describe('validate email', () => { | ||
it('should return true', () => { | ||
const mail = '[email protected]' | ||
expect(validateEmail(mail)).toBe(true) | ||
}) | ||
|
||
it('should return false', () => { | ||
let mail = 'abcedf.com' | ||
expect(validateEmail(mail)).toBe(false) | ||
|
||
mail = '[email protected]' | ||
expect(validateEmail(mail)).toBe(false) | ||
|
||
mail = 'abc@edf' | ||
expect(validateEmail(mail)).toBe(false) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export function validateEmail(email: string) { | ||
//eslint-disable-next-line | ||
const regex = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ | ||
return regex.test(email) | ||
} |
30 changes: 30 additions & 0 deletions
30
packages/web-components/src/scripts/rollup.config.viewing-booking.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import svelte from 'rollup-plugin-svelte' | ||
import baseConfig from './rollup.config.base' | ||
import replace from '@rollup/plugin-replace' | ||
import path from 'path' | ||
|
||
const config = require(path.resolve(__dirname, '../..', 'config.json')) | ||
const production = !process.env.ROLLUP_WATCH | ||
|
||
export default { | ||
...baseConfig, | ||
input: 'src/viewing-booking/client/core/index.ts', | ||
output: { | ||
sourcemap: !production, | ||
format: 'iife', | ||
name: 'app', | ||
file: './public/dist/viewing-booking.js', | ||
}, | ||
plugins: [ | ||
svelte({ | ||
dev: !production, | ||
css: css => { | ||
css.write('./public/dist/viewing-booking.css') | ||
}, | ||
}), | ||
replace({ | ||
'process.env.NODE_ENV': JSON.stringify(config.NODE_ENV), | ||
}), | ||
...baseConfig.plugins, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/web-components/src/viewing-booking/client/api/property.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { PropertyData } from '../core' | ||
|
||
export const getProperty = async (): Promise<PropertyData> => { | ||
return Promise.resolve({ | ||
image: | ||
'https://tracker.reapit.net/demo/_demo/webservice/rest/property/rps_demo-SCO190002/thumbnail?ApiKey=8ed799bbe77c96311e71f64b99ec2ddde765d13a&Width=480&Height=285&Crop=1', | ||
address: 'Little Tingewick, Buckingham', | ||
price: '£1,250,000', | ||
}) | ||
} |
281 changes: 281 additions & 0 deletions
281
...nts/src/viewing-booking/client/components/__tests__/__snapshots__/viewing-booking.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,281 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`viewing-booking it matches a snapshot 1`] = ` | ||
.emotion-6 html, | ||
.emotion-6 body, | ||
.emotion-6 div, | ||
.emotion-6 span, | ||
.emotion-6 applet, | ||
.emotion-6 object, | ||
.emotion-6 iframe, | ||
.emotion-6 h1, | ||
.emotion-6 h2, | ||
.emotion-6 h3, | ||
.emotion-6 h4, | ||
.emotion-6 h5, | ||
.emotion-6 h6, | ||
.emotion-6 p, | ||
.emotion-6 blockquote, | ||
.emotion-6 pre, | ||
.emotion-6 a, | ||
.emotion-6 abbr, | ||
.emotion-6 acronym, | ||
.emotion-6 address, | ||
.emotion-6 big, | ||
.emotion-6 cite, | ||
.emotion-6 code, | ||
.emotion-6 del, | ||
.emotion-6 dfn, | ||
.emotion-6 em, | ||
.emotion-6 img, | ||
.emotion-6 ins, | ||
.emotion-6 kbd, | ||
.emotion-6 q, | ||
.emotion-6 s, | ||
.emotion-6 samp, | ||
.emotion-6 small, | ||
.emotion-6 strike, | ||
.emotion-6 strong, | ||
.emotion-6 sub, | ||
.emotion-6 sup, | ||
.emotion-6 tt, | ||
.emotion-6 var, | ||
.emotion-6 b, | ||
.emotion-6 u, | ||
.emotion-6 i, | ||
.emotion-6 center, | ||
.emotion-6 dl, | ||
.emotion-6 dt, | ||
.emotion-6 dd, | ||
.emotion-6 menu, | ||
.emotion-6 ol, | ||
.emotion-6 ul, | ||
.emotion-6 li, | ||
.emotion-6 fieldset, | ||
.emotion-6 form, | ||
.emotion-6 label, | ||
.emotion-6 legend, | ||
.emotion-6 table, | ||
.emotion-6 caption, | ||
.emotion-6 tbody, | ||
.emotion-6 tfoot, | ||
.emotion-6 thead, | ||
.emotion-6 tr, | ||
.emotion-6 th, | ||
.emotion-6 td, | ||
.emotion-6 article, | ||
.emotion-6 aside, | ||
.emotion-6 canvas, | ||
.emotion-6 details, | ||
.emotion-6 embed, | ||
.emotion-6 figure, | ||
.emotion-6 figcaption, | ||
.emotion-6 footer, | ||
.emotion-6 header, | ||
.emotion-6 hgroup, | ||
.emotion-6 main, | ||
.emotion-6 menu, | ||
.emotion-6 nav, | ||
.emotion-6 output, | ||
.emotion-6 ruby, | ||
.emotion-6 section, | ||
.emotion-6 summary, | ||
.emotion-6 time, | ||
.emotion-6 mark, | ||
.emotion-6 audio, | ||
.emotion-6 video { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-size: 100%; | ||
font: inherit; | ||
vertical-align: baseline; | ||
} | ||
.emotion-6 article, | ||
.emotion-6 aside, | ||
.emotion-6 details, | ||
.emotion-6 figcaption, | ||
.emotion-6 figure, | ||
.emotion-6 footer, | ||
.emotion-6 header, | ||
.emotion-6 hgroup, | ||
.emotion-6 main, | ||
.emotion-6 menu, | ||
.emotion-6 nav, | ||
.emotion-6 section { | ||
display: block; | ||
} | ||
.emotion-6 *[hidden] { | ||
display: none; | ||
} | ||
.emotion-6 body { | ||
line-height: 1; | ||
} | ||
.emotion-6 menu, | ||
.emotion-6 ol, | ||
.emotion-6 ul { | ||
list-style: none; | ||
} | ||
.emotion-6 blockquote, | ||
.emotion-6 q { | ||
quotes: none; | ||
} | ||
.emotion-6 blockquote:before, | ||
.emotion-6 blockquote:after, | ||
.emotion-6 q:before, | ||
.emotion-6 q:after { | ||
content: ''; | ||
content: none; | ||
} | ||
.emotion-6 table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} | ||
.emotion-5 { | ||
font-size: 14px; | ||
font-family: "Roboto",sans-serif; | ||
background: #f9fbfd; | ||
color: #12263f; | ||
} | ||
#appointment-bookings-viewing .emotion-2 { | ||
font-family: "Open Sans",sans-serif; | ||
font-size: 14px; | ||
font-weight: bold; | ||
color: #1e2554; | ||
margin-bottom: 0.5em; | ||
} | ||
#appointment-bookings-viewing .emotion-1 { | ||
font-size: 14px; | ||
font-family: "Roboto",sans-serif; | ||
margin-bottom: 1em; | ||
} | ||
#appointment-bookings-viewing .emotion-4 { | ||
font-family: "Roboto",sans-serif; | ||
font-size: 20px; | ||
color: #0061a8; | ||
border: 1px solid #0061a8; | ||
background: #f9fbfd; | ||
} | ||
#appointment-bookings-viewing .emotion-4:hover { | ||
background: #0061a8; | ||
color: #f9fbfd; | ||
} | ||
#appointment-bookings-viewing .emotion-3 { | ||
font-family: "Roboto",sans-serif; | ||
font-size: 20px; | ||
border: 1px solid #0061a8; | ||
} | ||
.emotion-0 { | ||
background: url(); | ||
} | ||
<body> | ||
<div> | ||
<button | ||
class="viewing_booking-btn svelte-18bjhk" | ||
> | ||
Book a viewing | ||
</button> | ||
<div | ||
class="reapit-modal-wrapper svelte-dwjkb3" | ||
> | ||
<div> | ||
<div | ||
class="reapit-modal svelte-dwjkb3" | ||
> | ||
<div | ||
class="modal-close svelte-dwjkb3" | ||
> | ||
<i | ||
class="modal-close-btn svelte-dwjkb3" | ||
/> | ||
</div> | ||
<h3 | ||
class="modal-title svelte-dwjkb3" | ||
title="Book a Viewing" | ||
> | ||
Book a Viewing | ||
</h3> | ||
<div | ||
class="modal-content" | ||
> | ||
<form | ||
class="emotion-5 emotion-6 svelte-18bjhk" | ||
> | ||
<div | ||
class="property-image emotion-0 svelte-18bjhk" | ||
> | ||
<h4 | ||
class="svelte-18bjhk" | ||
> | ||
<strong | ||
class="svelte-18bjhk" | ||
> | ||
</strong> | ||
</h4> | ||
</div> | ||
<div | ||
class="viewing-booking-email-form svelte-18bjhk" | ||
> | ||
<p | ||
class="emotion-1 svelte-18bjhk" | ||
> | ||
To book a viewing, please enter your e-mail below. | ||
</p> | ||
<label | ||
class="emotion-2 svelte-18bjhk" | ||
for="viewing-booking-email" | ||
> | ||
E-mail* | ||
</label> | ||
<input | ||
class="emotion-3 svelte-18bjhk" | ||
id="viewing-booking-email" | ||
placeholder="Your e-mail address" | ||
type="email" | ||
/> | ||
</div> | ||
<div | ||
class="viewing-booking-form-submit svelte-18bjhk" | ||
> | ||
<button | ||
class="emotion-4 svelte-18bjhk" | ||
type="submit" | ||
> | ||
Get Appointments | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
`; |
33 changes: 33 additions & 0 deletions
33
packages/web-components/src/viewing-booking/client/components/__tests__/viewing-booking.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import ViewingBooking from '../viewing-booking.svelte' | ||
import { render } from '@testing-library/svelte' | ||
|
||
describe('viewing-booking', () => { | ||
it('it matches a snapshot', () => { | ||
const wrapper = render(ViewingBooking, { | ||
apiKey: '', | ||
parentSelector: '#appointment-bookings-viewing', | ||
theme: { | ||
baseBackgroundColor: '#f9fbfd', | ||
basefontSize: '14px', | ||
basefontColor: '#12263f', | ||
inverseFontColor: '#f9fbfd', | ||
secondaryfontColor: '#1e2554', | ||
primaryHeadingFontSize: '24px', | ||
secondaryHeadingFontSize: '20px', | ||
baseFontFamily: '"Roboto", sans-serif', | ||
headingFontFamily: '"Open Sans", sans-serif', | ||
primaryAccentColor: '#0061a8', | ||
secondaryAccentColor: '#1e2554', | ||
mapAccentColor: '#7bc9eb', | ||
breakPoints: { | ||
mobile: '', | ||
tablet: '', | ||
laptop: '', | ||
desktop: '', | ||
}, | ||
}, | ||
}) | ||
const { container } = wrapper | ||
expect(container).toMatchSnapshot() | ||
}) | ||
}) |
175 changes: 175 additions & 0 deletions
175
packages/web-components/src/viewing-booking/client/components/viewing-booking.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
<script> | ||
import { css } from 'emotion' | ||
import { getProperty } from '../api/property' | ||
import { generateThemeClasses, resetCSS } from '../../../common/styles' | ||
import { onMount, onDestroy } from 'svelte' | ||
import Modal from '../../../common/components/modal.svelte' | ||
import viewBookingStore from '../core/store' | ||
import { validateEmail } from '../../../common/utils/validate' | ||
export let theme | ||
export let apiKey | ||
export let parentSelector | ||
export let submitAction | ||
let isModalOpen = true | ||
let isLoading | ||
let email | ||
let inputValue | ||
let propertyData | ||
let backgroundImage | ||
let correctEmail = true | ||
const themeClasses = generateThemeClasses(theme, parentSelector) | ||
function handleToggleModal() { | ||
isModalOpen = !isModalOpen | ||
} | ||
function handleInput({ target }) { | ||
inputValue = target.value | ||
viewBookingStore.update(values => ({ | ||
...values, | ||
email: inputValue, | ||
})) | ||
} | ||
function submitForm() { | ||
correctEmail = validateEmail(email) | ||
correctEmail && submitAction && submitAction(email) | ||
} | ||
const unsubscribe = viewBookingStore.subscribe(store => { | ||
isLoading = store.isLoading | ||
email = store.email | ||
propertyData = store.propertyData | ||
}) | ||
function updateImage(propertyData) { | ||
backgroundImage = css` | ||
background: url(${propertyData && propertyData.image}); | ||
` | ||
} | ||
$: updateImage(propertyData) | ||
onMount(async () => { | ||
isLoading = true | ||
const propertyData = await getProperty() | ||
viewBookingStore.update(values => ({ | ||
...values, | ||
initializers: { | ||
theme, | ||
apiKey, | ||
parentSelector, | ||
}, | ||
themeClasses, | ||
propertyData, | ||
})) | ||
isLoading = false | ||
}) | ||
onDestroy(() => unsubscribe()) | ||
</script> | ||
|
||
<style> | ||
.viewing_booking-btn { | ||
padding: 0.5em; | ||
font-size: 1em; | ||
} | ||
.viewing-booking-email-form { | ||
padding: 0.5em; | ||
} | ||
.viewing-booking-email-form::after { | ||
content: ''; | ||
clear: both; | ||
display: block; | ||
} | ||
.viewing-booking-email-form p { | ||
padding: 0.5em 0; | ||
line-height: 1em; | ||
} | ||
.viewing-booking-email-form label { | ||
float: left; | ||
padding: 0.5em 0; | ||
line-height: 1em; | ||
} | ||
.viewing-booking-email-form input { | ||
width: 70%; | ||
float: right; | ||
height: 2em; | ||
border-radius: 0.25em; | ||
outline: none; | ||
padding: 0 0.5em; | ||
} | ||
.property-image { | ||
background-size: cover; | ||
padding: 1em; | ||
padding-top: 62.5%; | ||
position: relative; | ||
} | ||
.property-image h4 { | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
width: 100%; | ||
padding: 0.5em; | ||
box-sizing: border-box; | ||
font-size: 1.1em; | ||
background: linear-gradient(transparent, #c8c8c8); | ||
} | ||
.property-image h4 strong { | ||
float: right; | ||
font-weight: 600; | ||
} | ||
.viewing-booking-form-submit { | ||
width: 100%; | ||
padding: 0.5em 0.5em 1em; | ||
box-sizing: border-box; | ||
} | ||
.viewing-booking-form-submit button { | ||
width: 100%; | ||
padding: 0.3em; | ||
border-radius: 0.25em; | ||
cursor: pointer; | ||
} | ||
.invaild-email { | ||
float: right; | ||
color: #d8000c; | ||
font-size: 0.8em; | ||
padding: 0.5em; | ||
} | ||
</style> | ||
|
||
<button on:click={handleToggleModal} class="viewing_booking-btn">Book a viewing</button> | ||
<Modal {isModalOpen} closeModal={handleToggleModal} {isLoading} title="Book a Viewing"> | ||
|
||
<form on:submit|preventDefault={submitForm} class="{themeClasses.globalStyles} {resetCSS}"> | ||
<div class="property-image {backgroundImage}"> | ||
<h4> | ||
{propertyData && propertyData.address} | ||
<strong>{propertyData && propertyData.price}</strong> | ||
</h4> | ||
</div> | ||
<div class="viewing-booking-email-form"> | ||
<p class={themeClasses.bodyText}>To book a viewing, please enter your e-mail below.</p> | ||
<label class={themeClasses.secondaryStrapline} for="viewing-booking-email">E-mail*</label> | ||
<input | ||
class={themeClasses.input} | ||
type="email" | ||
id="viewing-booking-email" | ||
on:input={handleInput} | ||
placeholder="Your e-mail address" /> | ||
{#if !correctEmail} | ||
<span class="invaild-email {themeClasses.errorText}">Please enter a valid e-mail address</span> | ||
{/if} | ||
</div> | ||
<div class="viewing-booking-form-submit"> | ||
<button class={themeClasses.button} type="submit">Get Appointments</button> | ||
</div> | ||
</form> | ||
|
||
</Modal> |
93 changes: 93 additions & 0 deletions
93
...ages/web-components/src/viewing-booking/client/core/__tests__/__snapshots__/index.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ReactViewingWidgetComponent test match snapshot 1`] = ` | ||
Viewing_booking { | ||
"$$": Object { | ||
"after_update": Array [], | ||
"before_update": Array [], | ||
"bound": Object {}, | ||
"callbacks": Object {}, | ||
"context": Map {}, | ||
"ctx": Array [ | ||
true, | ||
true, | ||
Object { | ||
"address": "", | ||
"image": "", | ||
"price": "", | ||
}, | ||
"css-cb9zl5", | ||
true, | ||
Object { | ||
"bodyText": "css-n0w2qa", | ||
"button": "css-l8x1wu", | ||
"globalStyles": "css-11c02ub", | ||
"input": "css-1sj9ihm", | ||
"offerBanner": "css-s4b31o", | ||
"pagination": "css-1sys580", | ||
"paginationActive": "css-1sys580", | ||
"primaryHeading": "css-ayk9xy", | ||
"primaryStrapline": "css-1d7j4w6", | ||
"resultItem": "css-2mowv6", | ||
"searchBox": "css-81h19r", | ||
"secondaryHeading": "css-1qz6ie0", | ||
"secondaryStrapline": "css-1kep8ws", | ||
"selectedItem": "css-1w110sd", | ||
}, | ||
[Function], | ||
[Function], | ||
[Function], | ||
Object { | ||
"baseBackgroundColor": "#f9fbfd", | ||
"baseFontFamily": "\\"Roboto\\", sans-serif", | ||
"basefontColor": "#12263f", | ||
"basefontSize": "14px", | ||
"breakPoints": Object { | ||
"desktop": "", | ||
"laptop": "", | ||
"mobile": "", | ||
"tablet": "", | ||
}, | ||
"headingFontFamily": "\\"Open Sans\\", sans-serif", | ||
"inverseFontColor": "#f9fbfd", | ||
"mapAccentColor": "#7bc9eb", | ||
"primaryAccentColor": "#0061a8", | ||
"primaryHeadingFontSize": "24px", | ||
"secondaryAccentColor": "#1e2554", | ||
"secondaryHeadingFontSize": "20px", | ||
"secondaryfontColor": "#1e2554", | ||
}, | ||
"", | ||
"#appointment-bookings-viewing", | ||
undefined, | ||
], | ||
"dirty": Array [ | ||
-1, | ||
], | ||
"fragment": Object { | ||
"c": [Function], | ||
"d": [Function], | ||
"i": [Function], | ||
"l": [Function], | ||
"m": [Function], | ||
"o": [Function], | ||
"p": [Function], | ||
}, | ||
"not_equal": [Function], | ||
"on_destroy": Array [ | ||
[Function], | ||
], | ||
"on_mount": Array [], | ||
"props": Object { | ||
"apiKey": 10, | ||
"parentSelector": 11, | ||
"submitAction": 12, | ||
"theme": 9, | ||
}, | ||
"update": [Function], | ||
}, | ||
"$capture_state": [Function], | ||
"$inject_state": [Function], | ||
"$set": [Function], | ||
} | ||
`; |
32 changes: 32 additions & 0 deletions
32
packages/web-components/src/viewing-booking/client/core/__tests__/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { ReapitViewingBookingComponent } from '../index' | ||
|
||
describe('ReactViewingWidgetComponent', () => { | ||
it('test match snapshot', () => { | ||
expect( | ||
ReapitViewingBookingComponent({ | ||
apiKey: '', | ||
parentSelector: '#appointment-bookings-viewing', | ||
theme: { | ||
baseBackgroundColor: '#f9fbfd', | ||
basefontSize: '14px', | ||
basefontColor: '#12263f', | ||
inverseFontColor: '#f9fbfd', | ||
secondaryfontColor: '#1e2554', | ||
primaryHeadingFontSize: '24px', | ||
secondaryHeadingFontSize: '20px', | ||
baseFontFamily: '"Roboto", sans-serif', | ||
headingFontFamily: '"Open Sans", sans-serif', | ||
primaryAccentColor: '#0061a8', | ||
secondaryAccentColor: '#1e2554', | ||
mapAccentColor: '#7bc9eb', | ||
breakPoints: { | ||
mobile: '', | ||
tablet: '', | ||
laptop: '', | ||
desktop: '', | ||
}, | ||
}, | ||
}), | ||
).toMatchSnapshot() | ||
}) | ||
}) |
36 changes: 36 additions & 0 deletions
36
packages/web-components/src/viewing-booking/client/core/__tests__/store.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import viewingBookingStore from '../store' | ||
|
||
describe('store', () => { | ||
it('should return a default store', () => { | ||
const expected = { | ||
initializers: { | ||
apiKey: '', | ||
parentSelector: '', | ||
theme: {}, | ||
}, | ||
email: '', | ||
propertyData: { image: '', address: '', price: '' }, | ||
isLoading: false, | ||
themeClasses: { | ||
globalStyles: '', | ||
primaryHeading: '', | ||
secondaryHeading: '', | ||
primaryStrapline: '', | ||
secondaryStrapline: '', | ||
selectedItem: '', | ||
bodyText: '', | ||
button: '', | ||
input: '', | ||
resultItem: '', | ||
searchBox: '', | ||
offerBanner: '', | ||
pagination: '', | ||
paginationActive: '', | ||
}, | ||
} | ||
const unsubscribe = viewingBookingStore.subscribe(store => { | ||
expect(store).toEqual(expected) | ||
}) | ||
unsubscribe() | ||
}) | ||
}) |
27 changes: 27 additions & 0 deletions
27
packages/web-components/src/viewing-booking/client/core/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import ViewingBooking from '../components/viewing-booking.svelte' | ||
import { InitializerTheme } from '../../../common/styles/index' | ||
|
||
export interface PropertyData { | ||
image: string | ||
address: string | ||
price: string | ||
} | ||
export interface ViewingBookingInitializers { | ||
theme: Partial<InitializerTheme> | ||
apiKey: string | ||
parentSelector: string | ||
} | ||
|
||
export const ReapitViewingBookingComponent = ({ parentSelector, apiKey, theme }: ViewingBookingInitializers) => | ||
new ViewingBooking({ | ||
target: document.querySelector(parentSelector) || document.body, | ||
props: { | ||
theme, | ||
apiKey, | ||
parentSelector, | ||
}, | ||
}) | ||
|
||
Object.defineProperty(window, 'ReapitViewingBookingComponent', { | ||
value: ReapitViewingBookingComponent, | ||
}) |
45 changes: 45 additions & 0 deletions
45
packages/web-components/src/viewing-booking/client/core/store.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { writable, Writable } from 'svelte/store' | ||
import { ViewingBookingInitializers, PropertyData } from './index' | ||
import { ThemeClasses } from '../../../common/styles' | ||
|
||
export interface ViewingBookingStore { | ||
initializers: ViewingBookingInitializers | ||
themeClasses: ThemeClasses | ||
|
||
email: string | ||
propertyData: PropertyData | ||
isLoading: boolean | ||
} | ||
|
||
const viewBookingStore: Writable<ViewingBookingStore> = writable({ | ||
initializers: { | ||
apiKey: '', | ||
parentSelector: '', | ||
theme: {}, | ||
}, | ||
themeClasses: { | ||
globalStyles: '', | ||
primaryHeading: '', | ||
secondaryHeading: '', | ||
primaryStrapline: '', | ||
secondaryStrapline: '', | ||
selectedItem: '', | ||
bodyText: '', | ||
button: '', | ||
input: '', | ||
resultItem: '', | ||
searchBox: '', | ||
offerBanner: '', | ||
pagination: '', | ||
paginationActive: '', | ||
}, | ||
email: '', | ||
isLoading: false, | ||
propertyData: { | ||
image: '', | ||
address: '', | ||
price: '', | ||
}, | ||
}) | ||
|
||
export default viewBookingStore |
34 changes: 34 additions & 0 deletions
34
packages/web-components/src/viewing-booking/client/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Web Components</title> | ||
<link | ||
href="https://fonts.googleapis.com/css?family=Montserrat|Open+Sans|Roboto|Roboto+Slab&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link rel="stylesheet" href="./dist/viewing-booking.css" /> | ||
<style> | ||
#appointment-bookings { | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
Book a viewing | ||
<div id="appointment-bookings-viewing"></div> | ||
|
||
<script src="./dist/viewing-booking.js"></script> | ||
<script src="./themes/viewing-booking.js"></script> | ||
<script> | ||
if (window.ReapitViewingBookingComponent) { | ||
new ReapitViewingBookingComponent({ | ||
theme: window.theme, | ||
apiKey: '', | ||
parentSelector: '#appointment-bookings-viewing', | ||
}) | ||
} | ||
</script> | ||
</body> | ||
</html> |