@mrfylke/contact-form 0.1.3
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/lib/ContactFormRoot.d.ts +37 -0
- package/lib/ContactFormRoot.d.ts.map +1 -0
- package/lib/ContactFormRoot.js +53 -0
- package/lib/commoneEvents.d.ts +16 -0
- package/lib/commoneEvents.d.ts.map +1 -0
- package/lib/commoneEvents.js +4 -0
- package/lib/components/button/button.d.ts +17 -0
- package/lib/components/button/button.d.ts.map +1 -0
- package/lib/components/button/button.js +15 -0
- package/lib/components/button/button.module.css +399 -0
- package/lib/components/button/index.d.ts +5 -0
- package/lib/components/button/index.d.ts.map +1 -0
- package/lib/components/button/index.js +10 -0
- package/lib/components/button/link.d.ts +27 -0
- package/lib/components/button/link.d.ts.map +1 -0
- package/lib/components/button/link.js +19 -0
- package/lib/components/button/utils.d.ts +69 -0
- package/lib/components/button/utils.d.ts.map +1 -0
- package/lib/components/button/utils.js +33 -0
- package/lib/components/checkbox/checkbox.d.ts +13 -0
- package/lib/components/checkbox/checkbox.d.ts.map +1 -0
- package/lib/components/checkbox/checkbox.js +23 -0
- package/lib/components/checkbox/checkbox.module.css +96 -0
- package/lib/components/checkbox/index.d.ts +3 -0
- package/lib/components/checkbox/index.d.ts.map +1 -0
- package/lib/components/checkbox/index.js +8 -0
- package/lib/components/error-message/error-message.d.ts +6 -0
- package/lib/components/error-message/error-message.d.ts.map +1 -0
- package/lib/components/error-message/error-message.js +13 -0
- package/lib/components/error-message/error-message.module.css +6 -0
- package/lib/components/error-message/index.d.ts +3 -0
- package/lib/components/error-message/index.d.ts.map +1 -0
- package/lib/components/error-message/index.js +8 -0
- package/lib/components/external-link-page.d.ts +14 -0
- package/lib/components/external-link-page.d.ts.map +1 -0
- package/lib/components/external-link-page.js +27 -0
- package/lib/components/external-link-page.module.css +29 -0
- package/lib/components/form/date-selector.d.ts +11 -0
- package/lib/components/form/date-selector.d.ts.map +1 -0
- package/lib/components/form/date-selector.js +21 -0
- package/lib/components/form/description-modal.d.ts +13 -0
- package/lib/components/form/description-modal.d.ts.map +1 -0
- package/lib/components/form/description-modal.js +43 -0
- package/lib/components/form/field-wrapper-with-error/index.d.ts +8 -0
- package/lib/components/form/field-wrapper-with-error/index.d.ts.map +1 -0
- package/lib/components/form/field-wrapper-with-error/index.js +12 -0
- package/lib/components/form/fieldset/fieldset.module.css +26 -0
- package/lib/components/form/fieldset/index.d.ts +8 -0
- package/lib/components/form/fieldset/index.d.ts.map +1 -0
- package/lib/components/form/fieldset/index.js +17 -0
- package/lib/components/form/file-input.d.ts +10 -0
- package/lib/components/form/file-input.d.ts.map +1 -0
- package/lib/components/form/file-input.js +68 -0
- package/lib/components/form/form-component-label/form-component-label.module.css +10 -0
- package/lib/components/form/form-component-label/index.d.ts +9 -0
- package/lib/components/form/form-component-label/index.d.ts.map +1 -0
- package/lib/components/form/form-component-label/index.js +18 -0
- package/lib/components/form/form.module.css +573 -0
- package/lib/components/form/index.d.ts +11 -0
- package/lib/components/form/index.d.ts.map +1 -0
- package/lib/components/form/index.js +28 -0
- package/lib/components/form/input.d.ts +17 -0
- package/lib/components/form/input.d.ts.map +1 -0
- package/lib/components/form/input.js +42 -0
- package/lib/components/form/radio.d.ts +7 -0
- package/lib/components/form/radio.d.ts.map +1 -0
- package/lib/components/form/radio.js +14 -0
- package/lib/components/form/searchable-select/index.d.ts +3 -0
- package/lib/components/form/searchable-select/index.d.ts.map +1 -0
- package/lib/components/form/searchable-select/index.js +11 -0
- package/lib/components/form/searchable-select/searchable-select.d.ts +18 -0
- package/lib/components/form/searchable-select/searchable-select.d.ts.map +1 -0
- package/lib/components/form/searchable-select/searchable-select.js +55 -0
- package/lib/components/form/searchable-select/utils.d.ts +5 -0
- package/lib/components/form/searchable-select/utils.d.ts.map +1 -0
- package/lib/components/form/searchable-select/utils.js +19 -0
- package/lib/components/form/select.d.ts +15 -0
- package/lib/components/form/select.d.ts.map +1 -0
- package/lib/components/form/select.js +22 -0
- package/lib/components/form/textarea.d.ts +11 -0
- package/lib/components/form/textarea.d.ts.map +1 -0
- package/lib/components/form/textarea.js +17 -0
- package/lib/components/form/time-selector.d.ts +11 -0
- package/lib/components/form/time-selector.d.ts.map +1 -0
- package/lib/components/form/time-selector.js +22 -0
- package/lib/components/icon/checkbox-icon.d.ts +14 -0
- package/lib/components/icon/checkbox-icon.d.ts.map +1 -0
- package/lib/components/icon/checkbox-icon.js +18 -0
- package/lib/components/icon/color-icon.d.ts +17 -0
- package/lib/components/icon/color-icon.d.ts.map +1 -0
- package/lib/components/icon/color-icon.js +27 -0
- package/lib/components/icon/generated-icons.d.ts +1797 -0
- package/lib/components/icon/generated-icons.d.ts.map +1 -0
- package/lib/components/icon/generated-icons.js +1782 -0
- package/lib/components/icon/icon-wrapper.d.ts +30 -0
- package/lib/components/icon/icon-wrapper.d.ts.map +1 -0
- package/lib/components/icon/icon-wrapper.js +39 -0
- package/lib/components/icon/illustration.d.ts +7 -0
- package/lib/components/icon/illustration.d.ts.map +1 -0
- package/lib/components/icon/illustration.js +25 -0
- package/lib/components/icon/image.d.ts +7 -0
- package/lib/components/icon/image.d.ts.map +1 -0
- package/lib/components/icon/image.js +26 -0
- package/lib/components/icon/index.d.ts +6 -0
- package/lib/components/icon/index.d.ts.map +1 -0
- package/lib/components/icon/index.js +20 -0
- package/lib/components/icon/mono-icon-new.d.ts +32 -0
- package/lib/components/icon/mono-icon-new.d.ts.map +1 -0
- package/lib/components/icon/mono-icon-new.js +43 -0
- package/lib/components/icon/mono-icon.d.ts +29 -0
- package/lib/components/icon/mono-icon.d.ts.map +1 -0
- package/lib/components/icon/mono-icon.js +39 -0
- package/lib/components/icon/utils.d.ts +3 -0
- package/lib/components/icon/utils.d.ts.map +1 -0
- package/lib/components/icon/utils.js +12 -0
- package/lib/components/index.d.ts +3 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +18 -0
- package/lib/components/loading/index.d.ts +15 -0
- package/lib/components/loading/index.d.ts.map +1 -0
- package/lib/components/loading/index.js +19 -0
- package/lib/components/loading/loading.module.css +17 -0
- package/lib/components/section-card/index.d.ts +2 -0
- package/lib/components/section-card/index.d.ts.map +1 -0
- package/lib/components/section-card/index.js +8 -0
- package/lib/components/section-card/section-card.d.ts +7 -0
- package/lib/components/section-card/section-card.d.ts.map +1 -0
- package/lib/components/section-card/section-card.js +14 -0
- package/lib/components/section-card/section-card.module.css +15 -0
- package/lib/components/typography/index.d.ts +19 -0
- package/lib/components/typography/index.d.ts.map +1 -0
- package/lib/components/typography/index.js +27 -0
- package/lib/components/typography/utils.d.ts +2 -0
- package/lib/components/typography/utils.d.ts.map +1 -0
- package/lib/components/typography/utils.js +4 -0
- package/lib/contact.module.css +76 -0
- package/lib/error-content/error-content.d.ts +2 -0
- package/lib/error-content/error-content.d.ts.map +1 -0
- package/lib/error-content/error-content.js +19 -0
- package/lib/error-content/error-content.module.css +11 -0
- package/lib/group-travel/index.d.ts +2 -0
- package/lib/group-travel/index.d.ts.map +1 -0
- package/lib/group-travel/index.js +15 -0
- package/lib/index.d.ts +25 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +73 -0
- package/lib/journey-info/events.d.ts +14 -0
- package/lib/journey-info/events.d.ts.map +1 -0
- package/lib/journey-info/events.js +5 -0
- package/lib/journey-info/index.d.ts +2 -0
- package/lib/journey-info/index.d.ts.map +1 -0
- package/lib/journey-info/index.js +66 -0
- package/lib/journey-info/journeyInfoStateMachine.d.ts +179 -0
- package/lib/journey-info/journeyInfoStateMachine.d.ts.map +1 -0
- package/lib/journey-info/journeyInfoStateMachine.js +160 -0
- package/lib/layouts/contact-form-container.d.ts +10 -0
- package/lib/layouts/contact-form-container.d.ts.map +1 -0
- package/lib/layouts/contact-form-container.js +12 -0
- package/lib/layouts/contact-form-footer.d.ts +5 -0
- package/lib/layouts/contact-form-footer.d.ts.map +1 -0
- package/lib/layouts/contact-form-footer.js +59 -0
- package/lib/layouts/contact-form-header.d.ts +9 -0
- package/lib/layouts/contact-form-header.d.ts.map +1 -0
- package/lib/layouts/contact-form-header.js +45 -0
- package/lib/layouts/contact-page-layout.d.ts +24 -0
- package/lib/layouts/contact-page-layout.d.ts.map +1 -0
- package/lib/layouts/contact-page-layout.js +104 -0
- package/lib/layouts/container.module.css +15 -0
- package/lib/layouts/footer.module.css +109 -0
- package/lib/layouts/header.module.css +39 -0
- package/lib/layouts/index.d.ts +3 -0
- package/lib/layouts/index.d.ts.map +1 -0
- package/lib/layouts/index.js +11 -0
- package/lib/layouts/layout.module.css +80 -0
- package/lib/lines/use-lines.d.ts +25 -0
- package/lib/lines/use-lines.d.ts.map +1 -0
- package/lib/lines/use-lines.js +77 -0
- package/lib/lost-property/index.d.ts +2 -0
- package/lib/lost-property/index.d.ts.map +1 -0
- package/lib/lost-property/index.js +11 -0
- package/lib/means-of-transport/events.d.ts +17 -0
- package/lib/means-of-transport/events.d.ts.map +1 -0
- package/lib/means-of-transport/events.js +5 -0
- package/lib/means-of-transport/forms/delayForm.d.ts +11 -0
- package/lib/means-of-transport/forms/delayForm.d.ts.map +1 -0
- package/lib/means-of-transport/forms/delayForm.js +88 -0
- package/lib/means-of-transport/forms/driverForm.d.ts +11 -0
- package/lib/means-of-transport/forms/driverForm.d.ts.map +1 -0
- package/lib/means-of-transport/forms/driverForm.js +88 -0
- package/lib/means-of-transport/forms/index.d.ts +7 -0
- package/lib/means-of-transport/forms/index.d.ts.map +1 -0
- package/lib/means-of-transport/forms/index.js +18 -0
- package/lib/means-of-transport/forms/injuryForm.d.ts +11 -0
- package/lib/means-of-transport/forms/injuryForm.d.ts.map +1 -0
- package/lib/means-of-transport/forms/injuryForm.js +88 -0
- package/lib/means-of-transport/forms/serviceOfferingForm.d.ts +11 -0
- package/lib/means-of-transport/forms/serviceOfferingForm.d.ts.map +1 -0
- package/lib/means-of-transport/forms/serviceOfferingForm.js +64 -0
- package/lib/means-of-transport/forms/stopForm.d.ts +11 -0
- package/lib/means-of-transport/forms/stopForm.d.ts.map +1 -0
- package/lib/means-of-transport/forms/stopForm.js +76 -0
- package/lib/means-of-transport/forms/transportationForm.d.ts +11 -0
- package/lib/means-of-transport/forms/transportationForm.d.ts.map +1 -0
- package/lib/means-of-transport/forms/transportationForm.js +88 -0
- package/lib/means-of-transport/index.d.ts +3 -0
- package/lib/means-of-transport/index.d.ts.map +1 -0
- package/lib/means-of-transport/index.js +47 -0
- package/lib/means-of-transport/means-of-transport-form-machine.d.ts +291 -0
- package/lib/means-of-transport/means-of-transport-form-machine.d.ts.map +1 -0
- package/lib/means-of-transport/means-of-transport-form-machine.js +287 -0
- package/lib/modules/api-browser/index.d.ts +8 -0
- package/lib/modules/api-browser/index.d.ts.map +1 -0
- package/lib/modules/api-browser/index.js +54 -0
- package/lib/modules/api-server/external-client.d.ts +22 -0
- package/lib/modules/api-server/external-client.d.ts.map +1 -0
- package/lib/modules/api-server/external-client.js +86 -0
- package/lib/modules/api-server/index.d.ts +9 -0
- package/lib/modules/api-server/index.d.ts.map +1 -0
- package/lib/modules/api-server/index.js +24 -0
- package/lib/modules/api-server/requesters/graphql-requester.d.ts +6 -0
- package/lib/modules/api-server/requesters/graphql-requester.d.ts.map +1 -0
- package/lib/modules/api-server/requesters/graphql-requester.js +63 -0
- package/lib/modules/api-server/requesters/http-requester.d.ts +3 -0
- package/lib/modules/api-server/requesters/http-requester.d.ts.map +1 -0
- package/lib/modules/api-server/requesters/http-requester.js +110 -0
- package/lib/modules/api-server/requesters/types.d.ts +37 -0
- package/lib/modules/api-server/requesters/types.d.ts.map +1 -0
- package/lib/modules/api-server/requesters/types.js +34 -0
- package/lib/modules/api-server/requesters/utils.d.ts +17 -0
- package/lib/modules/api-server/requesters/utils.d.ts.map +1 -0
- package/lib/modules/api-server/requesters/utils.js +75 -0
- package/lib/modules/config/context.d.ts +54 -0
- package/lib/modules/config/context.d.ts.map +1 -0
- package/lib/modules/config/context.js +112 -0
- package/lib/modules/config/index.d.ts +4 -0
- package/lib/modules/config/index.d.ts.map +1 -0
- package/lib/modules/config/index.js +19 -0
- package/lib/modules/config/theme-adapter.d.ts +20 -0
- package/lib/modules/config/theme-adapter.d.ts.map +1 -0
- package/lib/modules/config/theme-adapter.js +56 -0
- package/lib/modules/config/types.d.ts +348 -0
- package/lib/modules/config/types.d.ts.map +1 -0
- package/lib/modules/config/types.js +6 -0
- package/lib/modules/cookies/constants.d.ts +4 -0
- package/lib/modules/cookies/constants.d.ts.map +1 -0
- package/lib/modules/cookies/constants.js +6 -0
- package/lib/modules/cookies/cookies-context.d.ts +17 -0
- package/lib/modules/cookies/cookies-context.d.ts.map +1 -0
- package/lib/modules/cookies/cookies-context.js +61 -0
- package/lib/modules/cookies/index.d.ts +15 -0
- package/lib/modules/cookies/index.d.ts.map +1 -0
- package/lib/modules/cookies/index.js +22 -0
- package/lib/modules/firebase/analytics.d.ts +3 -0
- package/lib/modules/firebase/analytics.d.ts.map +1 -0
- package/lib/modules/firebase/analytics.js +40 -0
- package/lib/modules/firebase/firebase.d.ts +4 -0
- package/lib/modules/firebase/firebase.d.ts.map +1 -0
- package/lib/modules/firebase/firebase.js +19 -0
- package/lib/modules/firebase/index.d.ts +5 -0
- package/lib/modules/firebase/index.d.ts.map +1 -0
- package/lib/modules/firebase/index.js +25 -0
- package/lib/modules/firebase/preassigned-fare-products.d.ts +8 -0
- package/lib/modules/firebase/preassigned-fare-products.d.ts.map +1 -0
- package/lib/modules/firebase/preassigned-fare-products.js +35 -0
- package/lib/modules/firebase/tariff-zones.d.ts +17 -0
- package/lib/modules/firebase/tariff-zones.d.ts.map +1 -0
- package/lib/modules/firebase/tariff-zones.js +32 -0
- package/lib/modules/firebase/transport-mode-filter.d.ts +27 -0
- package/lib/modules/firebase/transport-mode-filter.d.ts.map +1 -0
- package/lib/modules/firebase/transport-mode-filter.js +27 -0
- package/lib/modules/firebase/types.d.ts +19 -0
- package/lib/modules/firebase/types.d.ts.map +1 -0
- package/lib/modules/firebase/types.js +15 -0
- package/lib/modules/graphql-types/index.d.ts +1998 -0
- package/lib/modules/graphql-types/index.d.ts.map +1 -0
- package/lib/modules/graphql-types/index.js +442 -0
- package/lib/modules/graphql-types/journeyplanner-types_v3.generated.d.ts +2419 -0
- package/lib/modules/graphql-types/journeyplanner-types_v3.generated.d.ts.map +1 -0
- package/lib/modules/graphql-types/journeyplanner-types_v3.generated.js +524 -0
- package/lib/modules/logging/index.d.ts +6 -0
- package/lib/modules/logging/index.d.ts.map +1 -0
- package/lib/modules/logging/index.js +13 -0
- package/lib/modules/logging/log-api-response.d.ts +15 -0
- package/lib/modules/logging/log-api-response.d.ts.map +1 -0
- package/lib/modules/logging/log-api-response.js +52 -0
- package/lib/modules/logging/log-page-access.d.ts +20 -0
- package/lib/modules/logging/log-page-access.d.ts.map +1 -0
- package/lib/modules/logging/log-page-access.js +60 -0
- package/lib/modules/logging/logger.d.ts +3 -0
- package/lib/modules/logging/logger.d.ts.map +1 -0
- package/lib/modules/logging/logger.js +32 -0
- package/lib/modules/logging/timer.d.ts +6 -0
- package/lib/modules/logging/timer.d.ts.map +1 -0
- package/lib/modules/logging/timer.js +13 -0
- package/lib/modules/logging/with-access-logging.d.ts +5 -0
- package/lib/modules/logging/with-access-logging.d.ts.map +1 -0
- package/lib/modules/logging/with-access-logging.js +20 -0
- package/lib/modules/org-data/compat-layer.d.ts +8 -0
- package/lib/modules/org-data/compat-layer.d.ts.map +1 -0
- package/lib/modules/org-data/compat-layer.js +8 -0
- package/lib/modules/org-data/index.d.ts +12 -0
- package/lib/modules/org-data/index.d.ts.map +1 -0
- package/lib/modules/org-data/index.js +27 -0
- package/lib/modules/theme/index.d.ts +3 -0
- package/lib/modules/theme/index.d.ts.map +1 -0
- package/lib/modules/theme/index.js +9 -0
- package/lib/modules/theme/theme-context.d.ts +43 -0
- package/lib/modules/theme/theme-context.d.ts.map +1 -0
- package/lib/modules/theme/theme-context.js +73 -0
- package/lib/modules/transport-mode/filter/filter.d.ts +9 -0
- package/lib/modules/transport-mode/filter/filter.d.ts.map +1 -0
- package/lib/modules/transport-mode/filter/filter.js +64 -0
- package/lib/modules/transport-mode/filter/filter.module.css +98 -0
- package/lib/modules/transport-mode/filter/index.d.ts +3 -0
- package/lib/modules/transport-mode/filter/index.d.ts.map +1 -0
- package/lib/modules/transport-mode/filter/index.js +11 -0
- package/lib/modules/transport-mode/filter/types.d.ts +2 -0
- package/lib/modules/transport-mode/filter/types.d.ts.map +1 -0
- package/lib/modules/transport-mode/filter/types.js +2 -0
- package/lib/modules/transport-mode/filter/utils.d.ts +9 -0
- package/lib/modules/transport-mode/filter/utils.d.ts.map +1 -0
- package/lib/modules/transport-mode/filter/utils.js +21 -0
- package/lib/modules/transport-mode/icon/icon.module.css +33 -0
- package/lib/modules/transport-mode/icon/index.d.ts +29 -0
- package/lib/modules/transport-mode/icon/index.d.ts.map +1 -0
- package/lib/modules/transport-mode/icon/index.js +116 -0
- package/lib/modules/transport-mode/icon/transport-icon-new.d.ts +28 -0
- package/lib/modules/transport-mode/icon/transport-icon-new.d.ts.map +1 -0
- package/lib/modules/transport-mode/icon/transport-icon-new.js +114 -0
- package/lib/modules/transport-mode/index.d.ts +5 -0
- package/lib/modules/transport-mode/index.d.ts.map +1 -0
- package/lib/modules/transport-mode/index.js +29 -0
- package/lib/modules/transport-mode/types.d.ts +10 -0
- package/lib/modules/transport-mode/types.d.ts.map +1 -0
- package/lib/modules/transport-mode/types.js +141 -0
- package/lib/modules/transport-mode/utils.d.ts +9 -0
- package/lib/modules/transport-mode/utils.d.ts.map +1 -0
- package/lib/modules/transport-mode/utils.js +53 -0
- package/lib/refund/events.d.ts +32 -0
- package/lib/refund/events.d.ts.map +1 -0
- package/lib/refund/events.js +5 -0
- package/lib/refund/forms/refund-and-travel-guarantee/index.d.ts +10 -0
- package/lib/refund/forms/refund-and-travel-guarantee/index.d.ts.map +1 -0
- package/lib/refund/forms/refund-and-travel-guarantee/index.js +37 -0
- package/lib/refund/forms/refund-and-travel-guarantee/refundCarForm.d.ts +11 -0
- package/lib/refund/forms/refund-and-travel-guarantee/refundCarForm.d.ts.map +1 -0
- package/lib/refund/forms/refund-and-travel-guarantee/refundCarForm.js +133 -0
- package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.d.ts +11 -0
- package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.d.ts.map +1 -0
- package/lib/refund/forms/refund-and-travel-guarantee/refundTaxiForm.js +133 -0
- package/lib/refund/forms/refund-ticket/appTicketRefund.d.ts +12 -0
- package/lib/refund/forms/refund-ticket/appTicketRefund.d.ts.map +1 -0
- package/lib/refund/forms/refund-ticket/appTicketRefund.js +82 -0
- package/lib/refund/forms/refund-ticket/index.d.ts +10 -0
- package/lib/refund/forms/refund-ticket/index.d.ts.map +1 -0
- package/lib/refund/forms/refund-ticket/index.js +38 -0
- package/lib/refund/forms/refund-ticket/otherTicketRefund.d.ts +11 -0
- package/lib/refund/forms/refund-ticket/otherTicketRefund.d.ts.map +1 -0
- package/lib/refund/forms/refund-ticket/otherTicketRefund.js +109 -0
- package/lib/refund/forms/residualValueOnTravelCard/index.d.ts +2 -0
- package/lib/refund/forms/residualValueOnTravelCard/index.d.ts.map +1 -0
- package/lib/refund/forms/residualValueOnTravelCard/index.js +19 -0
- package/lib/refund/index.d.ts +3 -0
- package/lib/refund/index.d.ts.map +1 -0
- package/lib/refund/index.js +50 -0
- package/lib/refund/refundFormMachine.d.ts +406 -0
- package/lib/refund/refundFormMachine.d.ts.map +1 -0
- package/lib/refund/refundFormMachine.js +404 -0
- package/lib/server/contact/index.d.ts +11 -0
- package/lib/server/contact/index.d.ts.map +1 -0
- package/lib/server/contact/index.js +47 -0
- package/lib/server/index.d.ts +9 -0
- package/lib/server/index.d.ts.map +1 -0
- package/lib/server/index.js +14 -0
- package/lib/server/journey-planner/authority.d.ts +26 -0
- package/lib/server/journey-planner/authority.d.ts.map +1 -0
- package/lib/server/journey-planner/authority.js +48 -0
- package/lib/server/journey-planner/entur-client.d.ts +7 -0
- package/lib/server/journey-planner/entur-client.d.ts.map +1 -0
- package/lib/server/journey-planner/entur-client.js +46 -0
- package/lib/server/journey-planner/index.d.ts +11 -0
- package/lib/server/journey-planner/index.d.ts.map +1 -0
- package/lib/server/journey-planner/index.js +63 -0
- package/lib/server/journey-planner/journey-gql/lines.generated.d.ts +25 -0
- package/lib/server/journey-planner/journey-gql/lines.generated.d.ts.map +1 -0
- package/lib/server/journey-planner/journey-gql/lines.generated.js +30 -0
- package/lib/server/journey-planner/validators.d.ts +25 -0
- package/lib/server/journey-planner/validators.d.ts.map +1 -0
- package/lib/server/journey-planner/validators.js +17 -0
- package/lib/server/types.d.ts +5 -0
- package/lib/server/types.d.ts.map +1 -0
- package/lib/server/types.js +2 -0
- package/lib/success-content/success-content.d.ts +2 -0
- package/lib/success-content/success-content.d.ts.map +1 -0
- package/lib/success-content/success-content.js +19 -0
- package/lib/success-content/success-content.module.css +11 -0
- package/lib/ticket-control/events.d.ts +16 -0
- package/lib/ticket-control/events.d.ts.map +1 -0
- package/lib/ticket-control/events.js +5 -0
- package/lib/ticket-control/forms/feeComplaintForm.d.ts +11 -0
- package/lib/ticket-control/forms/feeComplaintForm.d.ts.map +1 -0
- package/lib/ticket-control/forms/feeComplaintForm.js +130 -0
- package/lib/ticket-control/forms/feedbackForm.d.ts +11 -0
- package/lib/ticket-control/forms/feedbackForm.d.ts.map +1 -0
- package/lib/ticket-control/forms/feedbackForm.js +75 -0
- package/lib/ticket-control/forms/postponePayment.d.ts +11 -0
- package/lib/ticket-control/forms/postponePayment.d.ts.map +1 -0
- package/lib/ticket-control/forms/postponePayment.js +37 -0
- package/lib/ticket-control/index.d.ts +3 -0
- package/lib/ticket-control/index.d.ts.map +1 -0
- package/lib/ticket-control/index.js +53 -0
- package/lib/ticket-control/ticket-control-form-machine.d.ts +277 -0
- package/lib/ticket-control/ticket-control-form-machine.d.ts.map +1 -0
- package/lib/ticket-control/ticket-control-form-machine.js +262 -0
- package/lib/ticketing/events.d.ts +28 -0
- package/lib/ticketing/events.d.ts.map +1 -0
- package/lib/ticketing/events.js +5 -0
- package/lib/ticketing/forms/app/appAccountForm.d.ts +11 -0
- package/lib/ticketing/forms/app/appAccountForm.d.ts.map +1 -0
- package/lib/ticketing/forms/app/appAccountForm.js +51 -0
- package/lib/ticketing/forms/app/appTicketingForm.d.ts +11 -0
- package/lib/ticketing/forms/app/appTicketingForm.d.ts.map +1 -0
- package/lib/ticketing/forms/app/appTicketingForm.js +59 -0
- package/lib/ticketing/forms/app/appTravelSuggestionForm.d.ts +11 -0
- package/lib/ticketing/forms/app/appTravelSuggestionForm.d.ts.map +1 -0
- package/lib/ticketing/forms/app/appTravelSuggestionForm.js +41 -0
- package/lib/ticketing/forms/app/index.d.ts +10 -0
- package/lib/ticketing/forms/app/index.d.ts.map +1 -0
- package/lib/ticketing/forms/app/index.js +23 -0
- package/lib/ticketing/forms/priceAndTicketTypesForm.d.ts +11 -0
- package/lib/ticketing/forms/priceAndTicketTypesForm.d.ts.map +1 -0
- package/lib/ticketing/forms/priceAndTicketTypesForm.js +41 -0
- package/lib/ticketing/forms/travel-card/index.d.ts +10 -0
- package/lib/ticketing/forms/travel-card/index.d.ts.map +1 -0
- package/lib/ticketing/forms/travel-card/index.js +24 -0
- package/lib/ticketing/forms/travel-card/orderTravelCard.d.ts +3 -0
- package/lib/ticketing/forms/travel-card/orderTravelCard.d.ts.map +1 -0
- package/lib/ticketing/forms/travel-card/orderTravelCard.js +21 -0
- package/lib/ticketing/forms/travel-card/travelCardQuestionForm.d.ts +11 -0
- package/lib/ticketing/forms/travel-card/travelCardQuestionForm.d.ts.map +1 -0
- package/lib/ticketing/forms/travel-card/travelCardQuestionForm.js +52 -0
- package/lib/ticketing/forms/webshop/index.d.ts +10 -0
- package/lib/ticketing/forms/webshop/index.d.ts.map +1 -0
- package/lib/ticketing/forms/webshop/index.js +22 -0
- package/lib/ticketing/forms/webshop/webshopAccountForm.d.ts +11 -0
- package/lib/ticketing/forms/webshop/webshopAccountForm.d.ts.map +1 -0
- package/lib/ticketing/forms/webshop/webshopAccountForm.js +51 -0
- package/lib/ticketing/forms/webshop/webshopTicketingForm.d.ts +11 -0
- package/lib/ticketing/forms/webshop/webshopTicketingForm.d.ts.map +1 -0
- package/lib/ticketing/forms/webshop/webshopTicketingForm.js +58 -0
- package/lib/ticketing/index.d.ts +3 -0
- package/lib/ticketing/index.d.ts.map +1 -0
- package/lib/ticketing/index.js +52 -0
- package/lib/ticketing/ticketingStateMachine.d.ts +438 -0
- package/lib/ticketing/ticketingStateMachine.d.ts.map +1 -0
- package/lib/ticketing/ticketingStateMachine.js +435 -0
- package/lib/translations/__tests__/utils.test.d.ts +2 -0
- package/lib/translations/__tests__/utils.test.d.ts.map +1 -0
- package/lib/translations/__tests__/utils.test.js +35 -0
- package/lib/translations/common/index.d.ts +3 -0
- package/lib/translations/common/index.d.ts.map +1 -0
- package/lib/translations/common/index.js +7 -0
- package/lib/translations/common/layout.d.ts +8 -0
- package/lib/translations/common/layout.d.ts.map +1 -0
- package/lib/translations/common/layout.js +39 -0
- package/lib/translations/common/titles.d.ts +4 -0
- package/lib/translations/common/titles.d.ts.map +1 -0
- package/lib/translations/common/titles.js +25 -0
- package/lib/translations/commons.d.ts +21 -0
- package/lib/translations/commons.d.ts.map +1 -0
- package/lib/translations/commons.js +39 -0
- package/lib/translations/components/clear-button.d.ts +4 -0
- package/lib/translations/components/clear-button.d.ts.map +1 -0
- package/lib/translations/components/clear-button.js +7 -0
- package/lib/translations/components/departure-date-selector.d.ts +8 -0
- package/lib/translations/components/departure-date-selector.d.ts.map +1 -0
- package/lib/translations/components/departure-date-selector.js +11 -0
- package/lib/translations/components/departure-time.d.ts +8 -0
- package/lib/translations/components/departure-time.d.ts.map +1 -0
- package/lib/translations/components/departure-time.js +11 -0
- package/lib/translations/components/empty-search.d.ts +18 -0
- package/lib/translations/components/empty-search.d.ts.map +1 -0
- package/lib/translations/components/empty-search.js +21 -0
- package/lib/translations/components/geolocation-button.d.ts +10 -0
- package/lib/translations/components/geolocation-button.d.ts.map +1 -0
- package/lib/translations/components/geolocation-button.js +13 -0
- package/lib/translations/components/index.d.ts +14 -0
- package/lib/translations/components/index.d.ts.map +1 -0
- package/lib/translations/components/index.js +29 -0
- package/lib/translations/components/loading.d.ts +4 -0
- package/lib/translations/components/loading.d.ts.map +1 -0
- package/lib/translations/components/loading.js +7 -0
- package/lib/translations/components/map.d.ts +19 -0
- package/lib/translations/components/map.d.ts.map +1 -0
- package/lib/translations/components/map.js +22 -0
- package/lib/translations/components/search.d.ts +9 -0
- package/lib/translations/components/search.d.ts.map +1 -0
- package/lib/translations/components/search.js +12 -0
- package/lib/translations/components/swap-button.d.ts +4 -0
- package/lib/translations/components/swap-button.d.ts.map +1 -0
- package/lib/translations/components/swap-button.js +7 -0
- package/lib/translations/components/tab-link.d.ts +5 -0
- package/lib/translations/components/tab-link.d.ts.map +1 -0
- package/lib/translations/components/tab-link.js +8 -0
- package/lib/translations/components/transport-mode-filter.d.ts +6 -0
- package/lib/translations/components/transport-mode-filter.d.ts.map +1 -0
- package/lib/translations/components/transport-mode-filter.js +9 -0
- package/lib/translations/components/transport-mode.d.ts +3 -0
- package/lib/translations/components/transport-mode.d.ts.map +1 -0
- package/lib/translations/components/transport-mode.js +28 -0
- package/lib/translations/components/venue-icon.d.ts +9 -0
- package/lib/translations/components/venue-icon.d.ts.map +1 -0
- package/lib/translations/components/venue-icon.js +12 -0
- package/lib/translations/dictionary.d.ts +33 -0
- package/lib/translations/dictionary.d.ts.map +1 -0
- package/lib/translations/dictionary.js +59 -0
- package/lib/translations/index.d.ts +16 -0
- package/lib/translations/index.d.ts.map +1 -0
- package/lib/translations/index.js +65 -0
- package/lib/translations/json-to-override.d.ts +19 -0
- package/lib/translations/json-to-override.d.ts.map +1 -0
- package/lib/translations/json-to-override.js +61 -0
- package/lib/translations/language-context.d.ts +37 -0
- package/lib/translations/language-context.d.ts.map +1 -0
- package/lib/translations/language-context.js +98 -0
- package/lib/translations/load-org-translations.d.ts +19 -0
- package/lib/translations/load-org-translations.d.ts.map +1 -0
- package/lib/translations/load-org-translations.js +23 -0
- package/lib/translations/merge-overrides.d.ts +28 -0
- package/lib/translations/merge-overrides.d.ts.map +1 -0
- package/lib/translations/merge-overrides.js +126 -0
- package/lib/translations/modules/index.d.ts +4 -0
- package/lib/translations/modules/index.d.ts.map +1 -0
- package/lib/translations/modules/index.js +9 -0
- package/lib/translations/modules/layout.d.ts +73 -0
- package/lib/translations/modules/layout.d.ts.map +1 -0
- package/lib/translations/modules/layout.js +106 -0
- package/lib/translations/modules/search-time.d.ts +8 -0
- package/lib/translations/modules/search-time.d.ts.map +1 -0
- package/lib/translations/modules/search-time.js +11 -0
- package/lib/translations/modules/situation.d.ts +8 -0
- package/lib/translations/modules/situation.d.ts.map +1 -0
- package/lib/translations/modules/situation.js +11 -0
- package/lib/translations/pages/assistant.d.ts +2 -0
- package/lib/translations/pages/assistant.d.ts.map +1 -0
- package/lib/translations/pages/assistant.js +303 -0
- package/lib/translations/pages/contact.d.ts +589 -0
- package/lib/translations/pages/contact.d.ts.map +1 -0
- package/lib/translations/pages/contact.js +679 -0
- package/lib/translations/pages/departures.d.ts +64 -0
- package/lib/translations/pages/departures.d.ts.map +1 -0
- package/lib/translations/pages/departures.js +75 -0
- package/lib/translations/pages/error.d.ts +8 -0
- package/lib/translations/pages/error.d.ts.map +1 -0
- package/lib/translations/pages/error.js +11 -0
- package/lib/translations/pages/index.d.ts +4 -0
- package/lib/translations/pages/index.d.ts.map +1 -0
- package/lib/translations/pages/index.js +9 -0
- package/lib/translations/server/endpoints.d.ts +67 -0
- package/lib/translations/server/endpoints.d.ts.map +1 -0
- package/lib/translations/server/endpoints.js +146 -0
- package/lib/translations/server/index.d.ts +2 -0
- package/lib/translations/server/index.d.ts.map +1 -0
- package/lib/translations/server/index.js +5 -0
- package/lib/translations/translations-context.d.ts +10 -0
- package/lib/translations/translations-context.d.ts.map +1 -0
- package/lib/translations/translations-context.js +20 -0
- package/lib/translations/types.d.ts +41 -0
- package/lib/translations/types.d.ts.map +1 -0
- package/lib/translations/types.js +24 -0
- package/lib/translations/utils.d.ts +16 -0
- package/lib/translations/utils.d.ts.map +1 -0
- package/lib/translations/utils.js +56 -0
- package/lib/types/submit-payloads.d.ts +119 -0
- package/lib/types/submit-payloads.d.ts.map +1 -0
- package/lib/types/submit-payloads.js +7 -0
- package/lib/types.d.ts +20 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +12 -0
- package/lib/utils/color.d.ts +2 -0
- package/lib/utils/color.d.ts.map +1 -0
- package/lib/utils/color.js +50 -0
- package/lib/utils/css.d.ts +3 -0
- package/lib/utils/css.d.ts.map +1 -0
- package/lib/utils/css.js +15 -0
- package/lib/utils/date.d.ts +4 -0
- package/lib/utils/date.d.ts.map +1 -0
- package/lib/utils/date.js +21 -0
- package/lib/utils/enum-from-string.d.ts +4 -0
- package/lib/utils/enum-from-string.d.ts.map +1 -0
- package/lib/utils/enum-from-string.js +9 -0
- package/lib/utils/env.d.ts +10 -0
- package/lib/utils/env.d.ts.map +1 -0
- package/lib/utils/env.js +49 -0
- package/lib/utils/only-uniques.d.ts +3 -0
- package/lib/utils/only-uniques.d.ts.map +1 -0
- package/lib/utils/only-uniques.js +7 -0
- package/lib/utils/org-theme-definitions.d.ts +5 -0
- package/lib/utils/org-theme-definitions.d.ts.map +1 -0
- package/lib/utils/org-theme-definitions.js +13 -0
- package/lib/utils/presence.d.ts +2 -0
- package/lib/utils/presence.d.ts.map +1 -0
- package/lib/utils/presence.js +5 -0
- package/lib/utils/reference-data.d.ts +15 -0
- package/lib/utils/reference-data.d.ts.map +1 -0
- package/lib/utils/reference-data.js +15 -0
- package/lib/utils/use-client-width.d.ts +2 -0
- package/lib/utils/use-client-width.d.ts.map +1 -0
- package/lib/utils/use-client-width.js +18 -0
- package/lib/utils/use-debounce.d.ts +3 -0
- package/lib/utils/use-debounce.d.ts.map +1 -0
- package/lib/utils/use-debounce.js +14 -0
- package/lib/utils/use-interval.d.ts +2 -0
- package/lib/utils/use-interval.d.ts.map +1 -0
- package/lib/utils/use-interval.js +22 -0
- package/lib/utils/use-localstorage.d.ts +2 -0
- package/lib/utils/use-localstorage.d.ts.map +1 -0
- package/lib/utils/use-localstorage.js +40 -0
- package/lib/utils/use-now.d.ts +2 -0
- package/lib/utils/use-now.d.ts.map +1 -0
- package/lib/utils/use-now.js +13 -0
- package/lib/utils/user-media-query.d.ts +2 -0
- package/lib/utils/user-media-query.d.ts.map +1 -0
- package/lib/utils/user-media-query.js +36 -0
- package/lib/utils.d.ts +19 -0
- package/lib/utils.d.ts.map +1 -0
- package/lib/utils.js +126 -0
- package/lib/validation/commonInputValidator.d.ts +7 -0
- package/lib/validation/commonInputValidator.d.ts.map +1 -0
- package/lib/validation/commonInputValidator.js +28 -0
- package/lib/validation/index.d.ts +2 -0
- package/lib/validation/index.d.ts.map +1 -0
- package/lib/validation/index.js +8 -0
- package/lib/validation/validationRules.d.ts +11 -0
- package/lib/validation/validationRules.d.ts.map +1 -0
- package/lib/validation/validationRules.js +372 -0
- package/package.json +99 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClearButton = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.ClearButton = {
|
|
6
|
+
alt: (0, commons_1.translation)('Fjern lokasjon', 'Remove location', 'Fjern lokasjon'),
|
|
7
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const DepartureDateSelector: {
|
|
2
|
+
now: import("../../translations/commons").TranslatedString;
|
|
3
|
+
arrival: import("../../translations/commons").TranslatedString;
|
|
4
|
+
departure: import("../../translations/commons").TranslatedString;
|
|
5
|
+
date: import("../../translations/commons").TranslatedString;
|
|
6
|
+
time: import("../../translations/commons").TranslatedString;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=departure-date-selector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"departure-date-selector.d.ts","sourceRoot":"","sources":["../../../src/translations/components/departure-date-selector.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;;;;CAMjC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepartureDateSelector = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.DepartureDateSelector = {
|
|
6
|
+
now: (0, commons_1.translation)('Nå', 'Now', 'No'),
|
|
7
|
+
arrival: (0, commons_1.translation)('Ankomst', 'Arrival', 'Framkomst'),
|
|
8
|
+
departure: (0, commons_1.translation)('Avgang', 'Departure', 'Avgang'),
|
|
9
|
+
date: (0, commons_1.translation)('Dato', 'Date', 'Dato'),
|
|
10
|
+
time: (0, commons_1.translation)('Tid', 'Time', 'Tid'),
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const DepartureTime: {
|
|
2
|
+
time: {
|
|
3
|
+
aimedPrefix: import("../../translations/commons").TranslatedString;
|
|
4
|
+
expectedPrefix: import("../../translations/commons").TranslatedString;
|
|
5
|
+
};
|
|
6
|
+
cancelled: import("../../translations/commons").TranslatedString;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=departure-time.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"departure-time.d.ts","sourceRoot":"","sources":["../../../src/translations/components/departure-time.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;CAUzB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepartureTime = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.DepartureTime = {
|
|
6
|
+
time: {
|
|
7
|
+
aimedPrefix: (0, commons_1.translation)('Rutetid', 'Route time', `Rutetid`),
|
|
8
|
+
expectedPrefix: (0, commons_1.translation)('Sanntid', 'Realtime', `Sanntid`),
|
|
9
|
+
},
|
|
10
|
+
cancelled: (0, commons_1.translation)('Avgangen fra denne holdeplassen er kansellert.', 'The departure from this stop has been cancelled.', 'Avgangen frå denne haldeplassen er kansellert.'),
|
|
11
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const EmptySearch: {
|
|
2
|
+
notSearched: import("../../translations/commons").TranslatedString;
|
|
3
|
+
emptyDetails: {
|
|
4
|
+
trip: import("../../translations/commons").TranslatedString;
|
|
5
|
+
nearby: import("../../translations/commons").TranslatedString;
|
|
6
|
+
stopPlace: import("../../translations/commons").TranslatedString;
|
|
7
|
+
};
|
|
8
|
+
searching: {
|
|
9
|
+
trip: import("../../translations/commons").TranslatedString;
|
|
10
|
+
nearby: import("../../translations/commons").TranslatedString;
|
|
11
|
+
stopPlace: import("../../translations/commons").TranslatedString;
|
|
12
|
+
};
|
|
13
|
+
nearbyNoGeolocation: {
|
|
14
|
+
title: import("../../translations/commons").TranslatedString;
|
|
15
|
+
details: import("../../translations/commons").TranslatedString;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=empty-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-search.d.ts","sourceRoot":"","sources":["../../../src/translations/components/empty-search.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;CAqDvB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmptySearch = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.EmptySearch = {
|
|
6
|
+
notSearched: (0, commons_1.translation)('Du har ikke gjennomført et søk enda.', 'You have not created a search yet.', 'Du har ikkje gjennomført eit søk enno.'),
|
|
7
|
+
emptyDetails: {
|
|
8
|
+
trip: (0, commons_1.translation)('Reiseforslagene dukker opp her når du søker etter det.', 'Travel suggestions will appear here when you search for it.', 'Reiseforslaga dukkar opp her når du søkjer etter det.'),
|
|
9
|
+
nearby: (0, commons_1.translation)('Avganger dukker opp her når du søker etter det.', 'Departures will appear here when you search for it.', 'Avgangar dukkar opp her når du søkjer etter det.'),
|
|
10
|
+
stopPlace: (0, commons_1.translation)('Avganger dukker opp her når du søker etter det.', 'Departures will appear here when you search for it.', 'Avgangar dukkar opp her når du søkjer etter det.'),
|
|
11
|
+
},
|
|
12
|
+
searching: {
|
|
13
|
+
trip: (0, commons_1.translation)('Laster reiseforslag...', 'Loading travel suggestions...', 'Lastar reiseforslag...'),
|
|
14
|
+
nearby: (0, commons_1.translation)('Laster holdeplasser...', 'Loading stop places...', 'Lastar haldeplassar...'),
|
|
15
|
+
stopPlace: (0, commons_1.translation)('Laster avganger...', 'Loading departures...', 'Lastar avgangar...'),
|
|
16
|
+
},
|
|
17
|
+
nearbyNoGeolocation: {
|
|
18
|
+
title: (0, commons_1.translation)('Holdeplasser i nærheten er ikke tilgjengelig', 'Stop places nearby are not available', 'Haldeplassar i nærleiken er ikkje tilgjengeleg'),
|
|
19
|
+
details: (0, commons_1.translation)('Del din posisjon for å finne holdeplasser i nærheten. Bruk søkefeltet for å finne andre holdeplasser.', 'Share your position to find stop places nearby. Use the search field to find other stop places.', 'Del din posisjon for å finne haldeplassar i nærleiken. Bruk søkefeltet for å finne andre haldeplassar.'),
|
|
20
|
+
},
|
|
21
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const GeolocationButton: {
|
|
2
|
+
alt: import("../../translations/commons").TranslatedString;
|
|
3
|
+
loading: import("../../translations/commons").TranslatedString;
|
|
4
|
+
error: {
|
|
5
|
+
denied: import("../../translations/commons").TranslatedString;
|
|
6
|
+
unavailable: import("../../translations/commons").TranslatedString;
|
|
7
|
+
timeout: import("../../translations/commons").TranslatedString;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=geolocation-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geolocation-button.d.ts","sourceRoot":"","sources":["../../../src/translations/components/geolocation-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;CAoB7B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GeolocationButton = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.GeolocationButton = {
|
|
6
|
+
alt: (0, commons_1.translation)('Finn min posisjon', 'Find my position', 'Finn min posisjon'),
|
|
7
|
+
loading: (0, commons_1.translation)('Finner posisjon', 'Finding position', 'Finn posisjon'),
|
|
8
|
+
error: {
|
|
9
|
+
denied: (0, commons_1.translation)('Du må endre stedsinnstillinger i nettleseren din for å bruke din posisjon i reisesøket.', 'You need to change your browser settings to use your position in the journey planner.', 'Du må endre stadsinnstillingar i nettlesaren din for å bruke din posisjon i reisesøket.'),
|
|
10
|
+
unavailable: (0, commons_1.translation)('Posisjonen din er ikke tilgjengelig.', 'Your position is not available.', 'Posisjonen din er ikkje tilgjengeleg.'),
|
|
11
|
+
timeout: (0, commons_1.translation)('Det tok for lang tid å hente posisjonen din. Prøv på nytt.', 'It took too long to get your position. Please try again.', 'Det tok for lang tid å hente posisjonen din. Prøv på nytt.'),
|
|
12
|
+
},
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { VenueIcon } from './venue-icon';
|
|
2
|
+
export { Loading } from './loading';
|
|
3
|
+
export { GeolocationButton } from './geolocation-button';
|
|
4
|
+
export { DepartureDateSelector } from './departure-date-selector';
|
|
5
|
+
export { Map } from './map';
|
|
6
|
+
export { TransportMode } from './transport-mode';
|
|
7
|
+
export { TransportModeFilter } from './transport-mode-filter';
|
|
8
|
+
export { SwapButton } from './swap-button';
|
|
9
|
+
export { EmptySearch } from './empty-search';
|
|
10
|
+
export { TabLink } from './tab-link';
|
|
11
|
+
export { DepartureTime } from './departure-time';
|
|
12
|
+
export { ClearButton } from './clear-button';
|
|
13
|
+
export { SearchInput } from './search';
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/translations/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AACvC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAC,qBAAqB,EAAC,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchInput = exports.ClearButton = exports.DepartureTime = exports.TabLink = exports.EmptySearch = exports.SwapButton = exports.TransportModeFilter = exports.TransportMode = exports.Map = exports.DepartureDateSelector = exports.GeolocationButton = exports.Loading = exports.VenueIcon = void 0;
|
|
4
|
+
var venue_icon_1 = require("./venue-icon");
|
|
5
|
+
Object.defineProperty(exports, "VenueIcon", { enumerable: true, get: function () { return venue_icon_1.VenueIcon; } });
|
|
6
|
+
var loading_1 = require("./loading");
|
|
7
|
+
Object.defineProperty(exports, "Loading", { enumerable: true, get: function () { return loading_1.Loading; } });
|
|
8
|
+
var geolocation_button_1 = require("./geolocation-button");
|
|
9
|
+
Object.defineProperty(exports, "GeolocationButton", { enumerable: true, get: function () { return geolocation_button_1.GeolocationButton; } });
|
|
10
|
+
var departure_date_selector_1 = require("./departure-date-selector");
|
|
11
|
+
Object.defineProperty(exports, "DepartureDateSelector", { enumerable: true, get: function () { return departure_date_selector_1.DepartureDateSelector; } });
|
|
12
|
+
var map_1 = require("./map");
|
|
13
|
+
Object.defineProperty(exports, "Map", { enumerable: true, get: function () { return map_1.Map; } });
|
|
14
|
+
var transport_mode_1 = require("./transport-mode");
|
|
15
|
+
Object.defineProperty(exports, "TransportMode", { enumerable: true, get: function () { return transport_mode_1.TransportMode; } });
|
|
16
|
+
var transport_mode_filter_1 = require("./transport-mode-filter");
|
|
17
|
+
Object.defineProperty(exports, "TransportModeFilter", { enumerable: true, get: function () { return transport_mode_filter_1.TransportModeFilter; } });
|
|
18
|
+
var swap_button_1 = require("./swap-button");
|
|
19
|
+
Object.defineProperty(exports, "SwapButton", { enumerable: true, get: function () { return swap_button_1.SwapButton; } });
|
|
20
|
+
var empty_search_1 = require("./empty-search");
|
|
21
|
+
Object.defineProperty(exports, "EmptySearch", { enumerable: true, get: function () { return empty_search_1.EmptySearch; } });
|
|
22
|
+
var tab_link_1 = require("./tab-link");
|
|
23
|
+
Object.defineProperty(exports, "TabLink", { enumerable: true, get: function () { return tab_link_1.TabLink; } });
|
|
24
|
+
var departure_time_1 = require("./departure-time");
|
|
25
|
+
Object.defineProperty(exports, "DepartureTime", { enumerable: true, get: function () { return departure_time_1.DepartureTime; } });
|
|
26
|
+
var clear_button_1 = require("./clear-button");
|
|
27
|
+
Object.defineProperty(exports, "ClearButton", { enumerable: true, get: function () { return clear_button_1.ClearButton; } });
|
|
28
|
+
var search_1 = require("./search");
|
|
29
|
+
Object.defineProperty(exports, "SearchInput", { enumerable: true, get: function () { return search_1.SearchInput; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading.d.ts","sourceRoot":"","sources":["../../../src/translations/components/loading.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;CAEnB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const Map: {
|
|
2
|
+
header: {
|
|
3
|
+
address: import("../../translations/commons").TranslatedString;
|
|
4
|
+
venue: (address: string) => import("../../translations/commons").TranslatedString;
|
|
5
|
+
};
|
|
6
|
+
map: {
|
|
7
|
+
openFullscreenButton: import("../../translations/commons").TranslatedString;
|
|
8
|
+
closeFullscreenButton: import("../../translations/commons").TranslatedString;
|
|
9
|
+
centerMapButton: import("../../translations/commons").TranslatedString;
|
|
10
|
+
startPoint: import("../../translations/commons").TranslatedString;
|
|
11
|
+
endPoint: import("../../translations/commons").TranslatedString;
|
|
12
|
+
};
|
|
13
|
+
button: {
|
|
14
|
+
travelFrom: import("../../translations/commons").TranslatedString;
|
|
15
|
+
travelTo: import("../../translations/commons").TranslatedString;
|
|
16
|
+
};
|
|
17
|
+
loading: import("../../translations/commons").TranslatedString;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../src/translations/components/map.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG;;;yBAOS,MAAM;;;;;;;;;;;;;;CAmB9B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Map = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.Map = {
|
|
6
|
+
header: {
|
|
7
|
+
address: (0, commons_1.translation)('Holdeplasser i nærheten av', 'Stops near', 'Haldeplasser i nærleiken av'),
|
|
8
|
+
venue: (address) => (0, commons_1.translation)(`Ligger i ${address}`, `Located on ${address}`, `Ligg i ${address}`),
|
|
9
|
+
},
|
|
10
|
+
map: {
|
|
11
|
+
openFullscreenButton: (0, commons_1.translation)('Se i kart', 'See in map', 'Sjå i kart'),
|
|
12
|
+
closeFullscreenButton: (0, commons_1.translation)('Lukk kart', 'Close map', 'Lukk kart'),
|
|
13
|
+
centerMapButton: (0, commons_1.translation)('Tilbakestill kartvisning', 'Reset map view', 'Tilbakestill kartvisning'),
|
|
14
|
+
startPoint: (0, commons_1.translation)('Start', 'Start', 'Start'),
|
|
15
|
+
endPoint: (0, commons_1.translation)('Slutt', 'End', 'Slutt'),
|
|
16
|
+
},
|
|
17
|
+
button: {
|
|
18
|
+
travelFrom: (0, commons_1.translation)('Reis fra', 'Travel from', 'Reis frå'),
|
|
19
|
+
travelTo: (0, commons_1.translation)('Reis til', 'Travel to', 'Reis til'),
|
|
20
|
+
},
|
|
21
|
+
loading: (0, commons_1.translation)('Laster...', 'Loading...', 'Lastar...'),
|
|
22
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const SearchInput: {
|
|
2
|
+
noResults: import("../../translations/commons").TranslatedString;
|
|
3
|
+
results: (resultCount: number) => import("../../translations/commons").TranslatedString;
|
|
4
|
+
previousResultA11yLabel: (resultCount: number) => import("../../translations/commons").TranslatedString;
|
|
5
|
+
myPosition: import("../../translations/commons").TranslatedString;
|
|
6
|
+
positionNotAvailable: import("../../translations/commons").TranslatedString;
|
|
7
|
+
recentSearches: import("../../translations/commons").TranslatedString;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/translations/components/search.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;2BAMG,MAAM;2CAQU,MAAM;;;;CAiBhD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchInput = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.SearchInput = {
|
|
6
|
+
noResults: (0, commons_1.translation)('Ingen resultater tilgjengelig', 'No results are available.', 'Ingen resultat tilgjengeleg'),
|
|
7
|
+
results: (resultCount) => (0, commons_1.translation)(`${resultCount} treff, bruk pil opp og pil ned for navigering. Trykk Enter for å velge.`, `${resultCount} result${resultCount === 1 ? ' is' : 's are'} available, use up and down arrow keys to navigate. Press Enter key to select.`, `${resultCount} treff, bruk pil opp og pil ned for navigering. Trykk Enter for å velje.`),
|
|
8
|
+
previousResultA11yLabel: (resultCount) => (0, commons_1.translation)(`Min posisjon og ${resultCount} tidligere søk, bruk pil opp og pil ned for navigering. Trykk Enter for å velje.`, `My location and ${resultCount} previous searches, use up and down arrow keys to navigate. Press Enter key to select.`, `Min posisjon og ${resultCount} tidligere søk, bruk pil opp og pil ned for navigering. Trykk Enter for å velje.`),
|
|
9
|
+
myPosition: (0, commons_1.translation)('Min posisjon', 'My location', 'Min posisjon'),
|
|
10
|
+
positionNotAvailable: (0, commons_1.translation)('Posisjon ikke tilgjengelig', 'Position not available', 'Posisjon ikke tilgjengelig'),
|
|
11
|
+
recentSearches: (0, commons_1.translation)('Sist brukte steder', 'Recently used places', 'Siste brukte steder'),
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"swap-button.d.ts","sourceRoot":"","sources":["../../../src/translations/components/swap-button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;CAMtB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SwapButton = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.SwapButton = {
|
|
6
|
+
alt: (0, commons_1.translation)('Bytt avreisested og ankomststed', 'Swap place of departure/arrival', 'Byt avreisestad og framkomststad'),
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-link.d.ts","sourceRoot":"","sources":["../../../src/translations/components/tab-link.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TabLink = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.TabLink = {
|
|
6
|
+
assistant: (0, commons_1.translation)('Finn reise', 'Find trip', 'Finn reise'),
|
|
7
|
+
departures: (0, commons_1.translation)('Se avganger', 'See departures', 'Sjå avganger'),
|
|
8
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const TransportModeFilter: {
|
|
2
|
+
all: import("../../translations/commons").TranslatedString;
|
|
3
|
+
allA11y: import("../../translations/commons").TranslatedString;
|
|
4
|
+
label: import("../../translations/commons").TranslatedString;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=transport-mode-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transport-mode-filter.d.ts","sourceRoot":"","sources":["../../../src/translations/components/transport-mode-filter.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;CAQ/B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransportModeFilter = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.TransportModeFilter = {
|
|
6
|
+
all: (0, commons_1.translation)('Alle transportmidler', 'All transport modes', 'Alle transportmiddel'),
|
|
7
|
+
allA11y: (0, commons_1.translation)('Alle transportmidler', 'All transport modes', 'Alle transportmiddel'),
|
|
8
|
+
label: (0, commons_1.translation)('Transportmiddel', 'Transport mode', 'Transportmiddel'),
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transport-mode.d.ts","sourceRoot":"","sources":["../../../src/translations/components/transport-mode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAmB,MAAM,4BAA4B,CAAC;AAE9E,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAgC1E,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransportMode = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.TransportMode = {
|
|
6
|
+
modes: {
|
|
7
|
+
bus: (0, commons_1.translation)('Buss', 'Bus', 'Buss'),
|
|
8
|
+
coach: (0, commons_1.translation)('Buss', 'Bus', 'Buss'),
|
|
9
|
+
rail: (0, commons_1.translation)('Tog', 'Train', 'Tog'),
|
|
10
|
+
tram: (0, commons_1.translation)('Trikk', 'Tram', 'Trikk'),
|
|
11
|
+
water: (0, commons_1.translation)('Båt', 'Boat', 'Båt'),
|
|
12
|
+
air: (0, commons_1.translation)('Fly', 'Plane', 'Fly'),
|
|
13
|
+
foot: (0, commons_1.translation)('Gange', 'Walk', 'Gange'),
|
|
14
|
+
metro: (0, commons_1.translation)('T-bane', 'Metro', 'T-bane'),
|
|
15
|
+
funicular: (0, commons_1.translation)('Kabelbane', 'Funicular', 'Kabelbane'),
|
|
16
|
+
bicycle: (0, commons_1.translation)('Sykkel', 'Bicycle', 'Sykkel'),
|
|
17
|
+
cableway: (0, commons_1.translation)('Kabelbane', 'Cableway', 'Kabelbane'),
|
|
18
|
+
car: (0, commons_1.translation)('Bil', 'Car', 'Bil'),
|
|
19
|
+
lift: (0, commons_1.translation)('Heis', 'Lift', 'Heis'),
|
|
20
|
+
monorail: (0, commons_1.translation)('Monorail', 'Monorail', 'Monorail'),
|
|
21
|
+
scooter: (0, commons_1.translation)('Scooter', 'Scooter', 'Scooter'),
|
|
22
|
+
taxi: (0, commons_1.translation)('Taxi', 'Taxi', 'Taxi'),
|
|
23
|
+
trolleybus: (0, commons_1.translation)('Trolleybuss', 'Trolleybus', 'Trolleybuss'),
|
|
24
|
+
flex: (0, commons_1.translation)('Flex', 'Flex', 'Flex'),
|
|
25
|
+
unknown: (0, commons_1.translation)(`Ukjent reisemåte`, `Unknown transportation modes`, `Ukjend transportmetode`),
|
|
26
|
+
multiple: (0, commons_1.translation)(`Flere reisemåter`, `Multiple transportation modes`, `Fleire transportmetodar`),
|
|
27
|
+
},
|
|
28
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const VenueIcon: {
|
|
2
|
+
bus: import("../../translations/commons").TranslatedString;
|
|
3
|
+
air: import("../../translations/commons").TranslatedString;
|
|
4
|
+
rail: import("../../translations/commons").TranslatedString;
|
|
5
|
+
tram: import("../../translations/commons").TranslatedString;
|
|
6
|
+
water: import("../../translations/commons").TranslatedString;
|
|
7
|
+
unknown: import("../../translations/commons").TranslatedString;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=venue-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"venue-icon.d.ts","sourceRoot":"","sources":["../../../src/translations/components/venue-icon.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;CAOrB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VenueIcon = void 0;
|
|
4
|
+
const commons_1 = require("../../translations/commons");
|
|
5
|
+
exports.VenueIcon = {
|
|
6
|
+
bus: (0, commons_1.translation)('Buss', 'Bus', 'Buss'),
|
|
7
|
+
air: (0, commons_1.translation)('Fly', 'Airplane', 'Fly'),
|
|
8
|
+
rail: (0, commons_1.translation)('Tog', 'Train', 'Tog'),
|
|
9
|
+
tram: (0, commons_1.translation)('Trikk', 'Tram', 'Trikk'),
|
|
10
|
+
water: (0, commons_1.translation)('Båt', 'Boat', 'Båt'),
|
|
11
|
+
unknown: (0, commons_1.translation)('Ukjent', 'Unknown', 'Ukjend'),
|
|
12
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
date: {
|
|
3
|
+
units: {
|
|
4
|
+
now: import("./commons").TranslatedString;
|
|
5
|
+
short: {
|
|
6
|
+
year: import("./commons").TranslatedString;
|
|
7
|
+
month: import("./commons").TranslatedString;
|
|
8
|
+
week: import("./commons").TranslatedString;
|
|
9
|
+
day: import("./commons").TranslatedString;
|
|
10
|
+
hour: import("./commons").TranslatedString;
|
|
11
|
+
minute: import("./commons").TranslatedString;
|
|
12
|
+
second: import("./commons").TranslatedString;
|
|
13
|
+
ms: import("./commons").TranslatedString;
|
|
14
|
+
};
|
|
15
|
+
long: {};
|
|
16
|
+
};
|
|
17
|
+
at: import("./commons").TranslatedString;
|
|
18
|
+
atTime: import("./commons").TranslatedString;
|
|
19
|
+
relativeDayNames: (daysDifference: number) => import("./commons").TranslatedString;
|
|
20
|
+
};
|
|
21
|
+
distance: {
|
|
22
|
+
km: import("./commons").TranslatedString;
|
|
23
|
+
m: import("./commons").TranslatedString;
|
|
24
|
+
};
|
|
25
|
+
a11yRouteTimePrefix: import("./commons").TranslatedString;
|
|
26
|
+
missingRealTimePrefix: import("./commons").TranslatedString;
|
|
27
|
+
readMore: import("./commons").TranslatedString;
|
|
28
|
+
close: import("./commons").TranslatedString;
|
|
29
|
+
listConcatWord: import("./commons").TranslatedString;
|
|
30
|
+
via: import("./commons").TranslatedString;
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../src/translations/dictionary.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;2CAqB2C,MAAM;;;;;;;;;;;;;AAyCjD,wBAGG"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const commons_1 = require("./commons");
|
|
4
|
+
const utils_1 = require("./utils");
|
|
5
|
+
const dictionary = {
|
|
6
|
+
date: {
|
|
7
|
+
units: {
|
|
8
|
+
now: (0, commons_1.translation)('Nå', 'Now', 'No'),
|
|
9
|
+
short: {
|
|
10
|
+
year: (0, commons_1.translation)('år', 'y', 'år'),
|
|
11
|
+
month: (0, commons_1.translation)('m', 'm', 'm'),
|
|
12
|
+
week: (0, commons_1.translation)('u', 'w', 'v'),
|
|
13
|
+
day: (0, commons_1.translation)('d', 'd', 'd'),
|
|
14
|
+
hour: (0, commons_1.translation)('t', 'h', 't'),
|
|
15
|
+
minute: (0, commons_1.translation)('min', 'min', 'min'),
|
|
16
|
+
second: (0, commons_1.translation)('sek', 'sec', 'sek'),
|
|
17
|
+
ms: (0, commons_1.translation)('ms', 'msec', 'ms'),
|
|
18
|
+
},
|
|
19
|
+
long: {},
|
|
20
|
+
},
|
|
21
|
+
at: (0, commons_1.translation)('klokken', 'at', 'klokka'),
|
|
22
|
+
atTime: (0, commons_1.translation)(`kl.`, `at`, `kl.`),
|
|
23
|
+
relativeDayNames: (daysDifference) => {
|
|
24
|
+
switch (daysDifference) {
|
|
25
|
+
case -2:
|
|
26
|
+
return (0, commons_1.translation)('i forgårs', 'the day before yesterday', 'i forgårs');
|
|
27
|
+
case -1:
|
|
28
|
+
return (0, commons_1.translation)('i går', 'yesterday', 'i går');
|
|
29
|
+
case 0:
|
|
30
|
+
return (0, commons_1.translation)('i dag', 'today', 'i dag');
|
|
31
|
+
case 1:
|
|
32
|
+
return (0, commons_1.translation)('i morgen', 'tomorrow', 'i morgon');
|
|
33
|
+
case 2:
|
|
34
|
+
return (0, commons_1.translation)('i overmorgen', 'day after tomorrow', 'i overmorgon');
|
|
35
|
+
default:
|
|
36
|
+
if (daysDifference < 0) {
|
|
37
|
+
return (0, commons_1.translation)(`for ${daysDifference} dager siden`, `${daysDifference} days ago`, `for ${daysDifference} dagar sidan`);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
return (0, commons_1.translation)(`om ${daysDifference} dager`, `in ${daysDifference} days`, `om ${daysDifference} dagar`);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
distance: {
|
|
46
|
+
km: (0, commons_1.translation)('km', 'km', 'km'),
|
|
47
|
+
m: (0, commons_1.translation)('m', 'm', 'm'),
|
|
48
|
+
},
|
|
49
|
+
a11yRouteTimePrefix: (0, commons_1.translation)('rutetid ', 'route time ', `rutetid `),
|
|
50
|
+
missingRealTimePrefix: (0, commons_1.translation)('ca. ', 'ca. ', `ca. `),
|
|
51
|
+
readMore: (0, commons_1.translation)('Les mer', 'Read more', `Les meir`),
|
|
52
|
+
close: (0, commons_1.translation)('Lukk', 'Close', 'Lukk'),
|
|
53
|
+
listConcatWord: (0, commons_1.translation)('og', 'and', 'og'),
|
|
54
|
+
via: (0, commons_1.translation)('via', 'via', 'via'),
|
|
55
|
+
};
|
|
56
|
+
exports.default = (0, utils_1.orgSpecificTranslations)(dictionary, {
|
|
57
|
+
nfk: {},
|
|
58
|
+
fram: {},
|
|
59
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type { TranslateFunction, TranslatedString } from './commons';
|
|
2
|
+
export { Language, DEFAULT_LANGUAGE, DEFAULT_LANGUAGE_STRING, appLanguages, translation, } from './commons';
|
|
3
|
+
export type { ContactFormTranslationsOverride } from './types';
|
|
4
|
+
export { default as AppLanguageProvider, useTranslation, useLanguageSettings, } from './language-context';
|
|
5
|
+
export { getTextForLanguage } from './utils';
|
|
6
|
+
export { jsonToTranslatedString, mergeTranslationOverrides } from './merge-overrides';
|
|
7
|
+
export { useMergedTranslations } from './translations-context';
|
|
8
|
+
export { jsonTranslationsToOverride } from './json-to-override';
|
|
9
|
+
export { loadOrgTranslations } from './load-org-translations';
|
|
10
|
+
export type { JsonTranslationObject, JsonTranslationValue } from './json-to-override';
|
|
11
|
+
export * as CommonText from './common';
|
|
12
|
+
export * as ServerText from './server';
|
|
13
|
+
export * as ComponentText from './components';
|
|
14
|
+
export * as PageText from './pages';
|
|
15
|
+
export * as ModuleText from './modules';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/translations/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,iBAAiB,EAAE,gBAAgB,EAAC,MAAM,WAAW,CAAC;AACnE,OAAO,EACH,QAAQ,EACR,gBAAgB,EAChB,uBAAuB,EACvB,YAAY,EACZ,WAAW,GACd,MAAM,WAAW,CAAC;AAEnB,YAAY,EAAC,+BAA+B,EAAC,MAAM,SAAS,CAAC;AAE7D,OAAO,EACH,OAAO,IAAI,mBAAmB,EAC9B,cAAc,EACd,mBAAmB,GACtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAC,sBAAsB,EAAE,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAAC,qBAAqB,EAAC,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAC,0BAA0B,EAAC,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AAC5D,YAAY,EAAC,qBAAqB,EAAE,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AAEpF,OAAO,KAAK,UAAU,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,UAAU,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,aAAa,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ModuleText = exports.PageText = exports.ComponentText = exports.ServerText = exports.CommonText = exports.loadOrgTranslations = exports.jsonTranslationsToOverride = exports.useMergedTranslations = exports.mergeTranslationOverrides = exports.jsonToTranslatedString = exports.getTextForLanguage = exports.useLanguageSettings = exports.useTranslation = exports.AppLanguageProvider = exports.translation = exports.appLanguages = exports.DEFAULT_LANGUAGE_STRING = exports.DEFAULT_LANGUAGE = exports.Language = void 0;
|
|
40
|
+
var commons_1 = require("./commons");
|
|
41
|
+
Object.defineProperty(exports, "Language", { enumerable: true, get: function () { return commons_1.Language; } });
|
|
42
|
+
Object.defineProperty(exports, "DEFAULT_LANGUAGE", { enumerable: true, get: function () { return commons_1.DEFAULT_LANGUAGE; } });
|
|
43
|
+
Object.defineProperty(exports, "DEFAULT_LANGUAGE_STRING", { enumerable: true, get: function () { return commons_1.DEFAULT_LANGUAGE_STRING; } });
|
|
44
|
+
Object.defineProperty(exports, "appLanguages", { enumerable: true, get: function () { return commons_1.appLanguages; } });
|
|
45
|
+
Object.defineProperty(exports, "translation", { enumerable: true, get: function () { return commons_1.translation; } });
|
|
46
|
+
var language_context_1 = require("./language-context");
|
|
47
|
+
Object.defineProperty(exports, "AppLanguageProvider", { enumerable: true, get: function () { return __importDefault(language_context_1).default; } });
|
|
48
|
+
Object.defineProperty(exports, "useTranslation", { enumerable: true, get: function () { return language_context_1.useTranslation; } });
|
|
49
|
+
Object.defineProperty(exports, "useLanguageSettings", { enumerable: true, get: function () { return language_context_1.useLanguageSettings; } });
|
|
50
|
+
var utils_1 = require("./utils");
|
|
51
|
+
Object.defineProperty(exports, "getTextForLanguage", { enumerable: true, get: function () { return utils_1.getTextForLanguage; } });
|
|
52
|
+
var merge_overrides_1 = require("./merge-overrides");
|
|
53
|
+
Object.defineProperty(exports, "jsonToTranslatedString", { enumerable: true, get: function () { return merge_overrides_1.jsonToTranslatedString; } });
|
|
54
|
+
Object.defineProperty(exports, "mergeTranslationOverrides", { enumerable: true, get: function () { return merge_overrides_1.mergeTranslationOverrides; } });
|
|
55
|
+
var translations_context_1 = require("./translations-context");
|
|
56
|
+
Object.defineProperty(exports, "useMergedTranslations", { enumerable: true, get: function () { return translations_context_1.useMergedTranslations; } });
|
|
57
|
+
var json_to_override_1 = require("./json-to-override");
|
|
58
|
+
Object.defineProperty(exports, "jsonTranslationsToOverride", { enumerable: true, get: function () { return json_to_override_1.jsonTranslationsToOverride; } });
|
|
59
|
+
var load_org_translations_1 = require("./load-org-translations");
|
|
60
|
+
Object.defineProperty(exports, "loadOrgTranslations", { enumerable: true, get: function () { return load_org_translations_1.loadOrgTranslations; } });
|
|
61
|
+
exports.CommonText = __importStar(require("./common"));
|
|
62
|
+
exports.ServerText = __importStar(require("./server"));
|
|
63
|
+
exports.ComponentText = __importStar(require("./components"));
|
|
64
|
+
exports.PageText = __importStar(require("./pages"));
|
|
65
|
+
exports.ModuleText = __importStar(require("./modules"));
|