@qite/tide-booking-component 1.3.2 → 1.3.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/.vs/ProjectSettings.json +3 -3
- package/.vs/VSWorkspaceState.json +5 -5
- package/README.md +8 -8
- package/build/build-cjs/booking-product/components/age-select.d.ts +8 -8
- package/build/build-cjs/booking-product/components/amount-input.d.ts +10 -10
- package/build/build-cjs/booking-product/components/date-range-picker/calendar-day.d.ts +12 -12
- package/build/build-cjs/booking-product/components/date-range-picker/calendar.d.ts +19 -19
- package/build/build-cjs/booking-product/components/date-range-picker/index.d.ts +20 -23
- package/build/build-cjs/booking-product/components/dates.d.ts +9 -9
- package/build/build-cjs/booking-product/components/footer.d.ts +10 -10
- package/build/build-cjs/booking-product/components/header.d.ts +11 -11
- package/build/build-cjs/booking-product/components/icon.d.ts +10 -10
- package/build/build-cjs/booking-product/components/product.d.ts +9 -9
- package/build/build-cjs/booking-product/components/rating.d.ts +6 -6
- package/build/build-cjs/booking-product/components/rooms.d.ts +10 -10
- package/build/build-cjs/booking-product/index.d.ts +10 -10
- package/build/build-cjs/booking-product/settings-context.d.ts +5 -6
- package/build/build-cjs/booking-product/types.d.ts +25 -25
- package/build/build-cjs/booking-product/utils/api.d.ts +16 -6
- package/build/build-cjs/booking-product/utils/price.d.ts +9 -1
- package/build/build-cjs/booking-wizard/api-settings-slice.d.ts +14 -4
- package/build/build-cjs/booking-wizard/components/icon.d.ts +10 -10
- package/build/build-cjs/booking-wizard/components/labeled-input.d.ts +18 -18
- package/build/build-cjs/booking-wizard/components/labeled-select.d.ts +21 -21
- package/build/build-cjs/booking-wizard/components/message.d.ts +9 -9
- package/build/build-cjs/booking-wizard/components/multi-range-filter.d.ts +11 -11
- package/build/build-cjs/booking-wizard/components/print-offer-button.d.ts +17 -17
- package/build/build-cjs/booking-wizard/components/product-card.d.ts +8 -8
- package/build/build-cjs/booking-wizard/components/step-indicator.d.ts +6 -6
- package/build/build-cjs/booking-wizard/components/step-route.d.ts +9 -9
- package/build/build-cjs/booking-wizard/features/booking/api.d.ts +29 -10
- package/build/build-cjs/booking-wizard/features/booking/booking-self-contained.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/booking/booking-slice.d.ts +177 -46
- package/build/build-cjs/booking-wizard/features/booking/booking.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/booking/constants.d.ts +15 -8
- package/build/build-cjs/booking-wizard/features/booking/selectors.d.ts +308 -136
- package/build/build-cjs/booking-wizard/features/confirmation/confirmation.d.ts +4 -5
- package/build/build-cjs/booking-wizard/features/error/error.d.ts +4 -5
- package/build/build-cjs/booking-wizard/features/flight-options/flight-filter.d.ts +9 -9
- package/build/build-cjs/booking-wizard/features/flight-options/flight-option-flight.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/flight-options/flight-option-modal.d.ts +3 -3
- package/build/build-cjs/booking-wizard/features/flight-options/flight-option.d.ts +10 -10
- package/build/build-cjs/booking-wizard/features/flight-options/flight-utils.d.ts +16 -6
- package/build/build-cjs/booking-wizard/features/flight-options/index.d.ts +4 -5
- package/build/build-cjs/booking-wizard/features/price-details/price-details-api.d.ts +15 -6
- package/build/build-cjs/booking-wizard/features/price-details/price-details-slice.d.ts +121 -80
- package/build/build-cjs/booking-wizard/features/price-details/util.d.ts +5 -2
- package/build/build-cjs/booking-wizard/features/product-options/no-options.d.ts +3 -3
- package/build/build-cjs/booking-wizard/features/product-options/none-option.d.ts +17 -9
- package/build/build-cjs/booking-wizard/features/product-options/option-booking-airline-group.d.ts +17 -8
- package/build/build-cjs/booking-wizard/features/product-options/option-booking-group.d.ts +18 -12
- package/build/build-cjs/booking-wizard/features/product-options/option-item.d.ts +11 -11
- package/build/build-cjs/booking-wizard/features/product-options/option-pax-card.d.ts +13 -10
- package/build/build-cjs/booking-wizard/features/product-options/option-pax-group.d.ts +20 -13
- package/build/build-cjs/booking-wizard/features/product-options/option-room.d.ts +18 -10
- package/build/build-cjs/booking-wizard/features/product-options/option-unit-group.d.ts +20 -13
- package/build/build-cjs/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
- package/build/build-cjs/booking-wizard/features/product-options/options-form.d.ts +4 -5
- package/build/build-cjs/booking-wizard/features/room-options/index.d.ts +4 -5
- package/build/build-cjs/booking-wizard/features/room-options/room-utils.d.ts +29 -9
- package/build/build-cjs/booking-wizard/features/room-options/room.d.ts +15 -12
- package/build/build-cjs/booking-wizard/features/room-options/traveler-rooms.d.ts +13 -9
- package/build/build-cjs/booking-wizard/features/sidebar/index.d.ts +7 -7
- package/build/build-cjs/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/sidebar/sidebar-util.d.ts +31 -12
- package/build/build-cjs/booking-wizard/features/sidebar/sidebar.d.ts +29 -25
- package/build/build-cjs/booking-wizard/features/summary/summary-booking-option-pax.d.ts +7 -7
- package/build/build-cjs/booking-wizard/features/summary/summary-booking-option-unit.d.ts +7 -7
- package/build/build-cjs/booking-wizard/features/summary/summary-flight.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +10 -7
- package/build/build-cjs/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +10 -7
- package/build/build-cjs/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +10 -7
- package/build/build-cjs/booking-wizard/features/summary/summary-slice.d.ts +14 -8
- package/build/build-cjs/booking-wizard/features/summary/summary.d.ts +4 -5
- package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +75 -49
- package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form.d.ts +4 -5
- package/build/build-cjs/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
- package/build/build-cjs/booking-wizard/features/travelers-form/validate-form.d.ts +9 -4
- package/build/build-cjs/booking-wizard/index.d.ts +12 -12
- package/build/build-cjs/booking-wizard/settings-context.d.ts +5 -6
- package/build/build-cjs/booking-wizard/store.d.ts +44 -24
- package/build/build-cjs/booking-wizard/types.d.ts +253 -257
- package/build/build-cjs/booking-wizard/use-offer-printer.d.ts +19 -13
- package/build/build-cjs/index.d.ts +3 -3
- package/build/build-cjs/index.js +16332 -7414
- package/build/build-cjs/shared/components/loader.d.ts +6 -6
- package/build/build-cjs/shared/types.d.ts +4 -4
- package/build/build-cjs/shared/utils/class-util.d.ts +1 -1
- package/build/build-cjs/shared/utils/localization-util.d.ts +248 -248
- package/build/build-cjs/shared/utils/query-string-util.d.ts +29 -8
- package/build/build-cjs/shared/utils/tide-api-utils.d.ts +6 -4
- package/build/build-esm/booking-product/components/age-select.d.ts +8 -8
- package/build/build-esm/booking-product/components/amount-input.d.ts +10 -10
- package/build/build-esm/booking-product/components/date-range-picker/calendar-day.d.ts +12 -12
- package/build/build-esm/booking-product/components/date-range-picker/calendar.d.ts +19 -19
- package/build/build-esm/booking-product/components/date-range-picker/index.d.ts +20 -23
- package/build/build-esm/booking-product/components/dates.d.ts +9 -9
- package/build/build-esm/booking-product/components/footer.d.ts +10 -10
- package/build/build-esm/booking-product/components/header.d.ts +11 -11
- package/build/build-esm/booking-product/components/icon.d.ts +10 -10
- package/build/build-esm/booking-product/components/product.d.ts +9 -9
- package/build/build-esm/booking-product/components/rating.d.ts +6 -6
- package/build/build-esm/booking-product/components/rooms.d.ts +10 -10
- package/build/build-esm/booking-product/index.d.ts +10 -10
- package/build/build-esm/booking-product/settings-context.d.ts +5 -6
- package/build/build-esm/booking-product/types.d.ts +25 -25
- package/build/build-esm/booking-product/utils/api.d.ts +16 -6
- package/build/build-esm/booking-product/utils/price.d.ts +9 -1
- package/build/build-esm/booking-wizard/api-settings-slice.d.ts +14 -4
- package/build/build-esm/booking-wizard/components/icon.d.ts +10 -10
- package/build/build-esm/booking-wizard/components/labeled-input.d.ts +18 -18
- package/build/build-esm/booking-wizard/components/labeled-select.d.ts +21 -21
- package/build/build-esm/booking-wizard/components/message.d.ts +9 -9
- package/build/build-esm/booking-wizard/components/multi-range-filter.d.ts +11 -11
- package/build/build-esm/booking-wizard/components/print-offer-button.d.ts +17 -17
- package/build/build-esm/booking-wizard/components/product-card.d.ts +8 -8
- package/build/build-esm/booking-wizard/components/step-indicator.d.ts +6 -6
- package/build/build-esm/booking-wizard/components/step-route.d.ts +9 -9
- package/build/build-esm/booking-wizard/features/booking/api.d.ts +29 -10
- package/build/build-esm/booking-wizard/features/booking/booking-self-contained.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/booking/booking-slice.d.ts +177 -46
- package/build/build-esm/booking-wizard/features/booking/booking.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/booking/constants.d.ts +15 -8
- package/build/build-esm/booking-wizard/features/booking/selectors.d.ts +308 -136
- package/build/build-esm/booking-wizard/features/confirmation/confirmation.d.ts +4 -5
- package/build/build-esm/booking-wizard/features/error/error.d.ts +4 -5
- package/build/build-esm/booking-wizard/features/flight-options/flight-filter.d.ts +9 -9
- package/build/build-esm/booking-wizard/features/flight-options/flight-option-flight.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/flight-options/flight-option-modal.d.ts +3 -3
- package/build/build-esm/booking-wizard/features/flight-options/flight-option.d.ts +10 -10
- package/build/build-esm/booking-wizard/features/flight-options/flight-utils.d.ts +16 -6
- package/build/build-esm/booking-wizard/features/flight-options/index.d.ts +4 -5
- package/build/build-esm/booking-wizard/features/price-details/price-details-api.d.ts +15 -6
- package/build/build-esm/booking-wizard/features/price-details/price-details-slice.d.ts +121 -80
- package/build/build-esm/booking-wizard/features/price-details/util.d.ts +5 -2
- package/build/build-esm/booking-wizard/features/product-options/no-options.d.ts +3 -3
- package/build/build-esm/booking-wizard/features/product-options/none-option.d.ts +17 -9
- package/build/build-esm/booking-wizard/features/product-options/option-booking-airline-group.d.ts +17 -8
- package/build/build-esm/booking-wizard/features/product-options/option-booking-group.d.ts +18 -12
- package/build/build-esm/booking-wizard/features/product-options/option-item.d.ts +11 -11
- package/build/build-esm/booking-wizard/features/product-options/option-pax-card.d.ts +13 -10
- package/build/build-esm/booking-wizard/features/product-options/option-pax-group.d.ts +20 -13
- package/build/build-esm/booking-wizard/features/product-options/option-room.d.ts +18 -10
- package/build/build-esm/booking-wizard/features/product-options/option-unit-group.d.ts +20 -13
- package/build/build-esm/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
- package/build/build-esm/booking-wizard/features/product-options/options-form.d.ts +4 -5
- package/build/build-esm/booking-wizard/features/room-options/index.d.ts +4 -5
- package/build/build-esm/booking-wizard/features/room-options/room-utils.d.ts +29 -9
- package/build/build-esm/booking-wizard/features/room-options/room.d.ts +15 -12
- package/build/build-esm/booking-wizard/features/room-options/traveler-rooms.d.ts +13 -9
- package/build/build-esm/booking-wizard/features/sidebar/index.d.ts +7 -7
- package/build/build-esm/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/sidebar/sidebar-util.d.ts +31 -12
- package/build/build-esm/booking-wizard/features/sidebar/sidebar.d.ts +29 -25
- package/build/build-esm/booking-wizard/features/summary/summary-booking-option-pax.d.ts +7 -7
- package/build/build-esm/booking-wizard/features/summary/summary-booking-option-unit.d.ts +7 -7
- package/build/build-esm/booking-wizard/features/summary/summary-flight.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +10 -7
- package/build/build-esm/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +10 -7
- package/build/build-esm/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +10 -7
- package/build/build-esm/booking-wizard/features/summary/summary-slice.d.ts +14 -8
- package/build/build-esm/booking-wizard/features/summary/summary.d.ts +4 -5
- package/build/build-esm/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +75 -49
- package/build/build-esm/booking-wizard/features/travelers-form/travelers-form.d.ts +4 -5
- package/build/build-esm/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
- package/build/build-esm/booking-wizard/features/travelers-form/validate-form.d.ts +9 -4
- package/build/build-esm/booking-wizard/index.d.ts +12 -12
- package/build/build-esm/booking-wizard/settings-context.d.ts +5 -6
- package/build/build-esm/booking-wizard/store.d.ts +44 -24
- package/build/build-esm/booking-wizard/types.d.ts +253 -257
- package/build/build-esm/booking-wizard/use-offer-printer.d.ts +19 -13
- package/build/build-esm/index.d.ts +3 -3
- package/build/build-esm/index.js +15926 -7396
- package/build/build-esm/shared/components/loader.d.ts +6 -6
- package/build/build-esm/shared/types.d.ts +4 -4
- package/build/build-esm/shared/utils/class-util.d.ts +1 -1
- package/build/build-esm/shared/utils/localization-util.d.ts +248 -248
- package/build/build-esm/shared/utils/query-string-util.d.ts +29 -8
- package/build/build-esm/shared/utils/tide-api-utils.d.ts +6 -4
- package/package.json +75 -75
- package/rollup.config.js +23 -23
- package/src/booking-product/components/age-select.tsx +35 -35
- package/src/booking-product/components/amount-input.tsx +78 -78
- package/src/booking-product/components/date-range-picker/calendar-day.tsx +58 -58
- package/src/booking-product/components/date-range-picker/calendar.tsx +178 -178
- package/src/booking-product/components/date-range-picker/index.tsx +196 -196
- package/src/booking-product/components/dates.tsx +136 -136
- package/src/booking-product/components/footer.tsx +69 -69
- package/src/booking-product/components/header.tsx +79 -79
- package/src/booking-product/components/icon.tsx +251 -251
- package/src/booking-product/components/product.tsx +314 -314
- package/src/booking-product/components/rating.tsx +21 -21
- package/src/booking-product/components/rooms.tsx +195 -195
- package/src/booking-product/index.tsx +30 -30
- package/src/booking-product/settings-context.ts +14 -14
- package/src/booking-product/types.ts +28 -28
- package/src/booking-product/utils/api.ts +25 -25
- package/src/booking-product/utils/price.ts +29 -29
- package/src/booking-wizard/api-settings-slice.ts +24 -24
- package/src/booking-wizard/components/icon.tsx +508 -508
- package/src/booking-wizard/components/labeled-input.tsx +64 -64
- package/src/booking-wizard/components/labeled-select.tsx +69 -69
- package/src/booking-wizard/components/message.tsx +34 -34
- package/src/booking-wizard/components/multi-range-filter.tsx +113 -113
- package/src/booking-wizard/components/print-offer-button.tsx +63 -66
- package/src/booking-wizard/components/product-card.tsx +37 -37
- package/src/booking-wizard/components/step-indicator.tsx +51 -51
- package/src/booking-wizard/components/step-route.tsx +27 -27
- package/src/booking-wizard/declarations.d.ts +4 -4
- package/src/booking-wizard/features/booking/api.ts +49 -49
- package/src/booking-wizard/features/booking/booking-self-contained.tsx +389 -389
- package/src/booking-wizard/features/booking/booking-slice.ts +665 -663
- package/src/booking-wizard/features/booking/booking.tsx +361 -361
- package/src/booking-wizard/features/booking/constants.ts +16 -16
- package/src/booking-wizard/features/booking/selectors.ts +441 -441
- package/src/booking-wizard/features/confirmation/confirmation.tsx +97 -97
- package/src/booking-wizard/features/error/error.tsx +78 -78
- package/src/booking-wizard/features/flight-options/flight-filter.tsx +432 -432
- package/src/booking-wizard/features/flight-options/flight-option-flight.tsx +385 -385
- package/src/booking-wizard/features/flight-options/flight-option-modal.tsx +229 -229
- package/src/booking-wizard/features/flight-options/flight-option.tsx +81 -81
- package/src/booking-wizard/features/flight-options/flight-utils.ts +516 -516
- package/src/booking-wizard/features/flight-options/index.tsx +196 -196
- package/src/booking-wizard/features/price-details/price-details-api.ts +24 -24
- package/src/booking-wizard/features/price-details/price-details-slice.ts +178 -178
- package/src/booking-wizard/features/price-details/util.ts +155 -155
- package/src/booking-wizard/features/product-options/no-options.tsx +21 -21
- package/src/booking-wizard/features/product-options/none-option.tsx +120 -120
- package/src/booking-wizard/features/product-options/option-booking-airline-group.tsx +64 -64
- package/src/booking-wizard/features/product-options/option-booking-group.tsx +216 -216
- package/src/booking-wizard/features/product-options/option-item.tsx +317 -317
- package/src/booking-wizard/features/product-options/option-pax-card.tsx +201 -201
- package/src/booking-wizard/features/product-options/option-pax-group.tsx +175 -175
- package/src/booking-wizard/features/product-options/option-room.tsx +321 -321
- package/src/booking-wizard/features/product-options/option-unit-group.tsx +198 -198
- package/src/booking-wizard/features/product-options/option-units-card.tsx +185 -185
- package/src/booking-wizard/features/product-options/options-form.tsx +481 -563
- package/src/booking-wizard/features/room-options/index.tsx +187 -187
- package/src/booking-wizard/features/room-options/room-utils.ts +190 -190
- package/src/booking-wizard/features/room-options/room.tsx +160 -160
- package/src/booking-wizard/features/room-options/traveler-rooms.tsx +75 -75
- package/src/booking-wizard/features/sidebar/index.tsx +76 -76
- package/src/booking-wizard/features/sidebar/sidebar-flight.tsx +68 -68
- package/src/booking-wizard/features/sidebar/sidebar-util.ts +177 -177
- package/src/booking-wizard/features/sidebar/sidebar.tsx +364 -364
- package/src/booking-wizard/features/summary/summary-booking-option-pax.tsx +25 -25
- package/src/booking-wizard/features/summary/summary-booking-option-unit.tsx +25 -25
- package/src/booking-wizard/features/summary/summary-flight.tsx +39 -39
- package/src/booking-wizard/features/summary/summary-per-booking-option-group.tsx +69 -69
- package/src/booking-wizard/features/summary/summary-per-pax-option-group.tsx +63 -63
- package/src/booking-wizard/features/summary/summary-per-unit-option-group.tsx +66 -66
- package/src/booking-wizard/features/summary/summary-slice.ts +28 -28
- package/src/booking-wizard/features/summary/summary.tsx +674 -674
- package/src/booking-wizard/features/travelers-form/travelers-form-slice.ts +164 -164
- package/src/booking-wizard/features/travelers-form/travelers-form.tsx +754 -754
- package/src/booking-wizard/features/travelers-form/type-ahead-input.tsx +101 -101
- package/src/booking-wizard/features/travelers-form/validate-form.ts +245 -245
- package/src/booking-wizard/index.tsx +36 -36
- package/src/booking-wizard/settings-context.ts +62 -62
- package/src/booking-wizard/store.ts +31 -31
- package/src/booking-wizard/types.ts +279 -279
- package/src/booking-wizard/use-offer-printer.ts +117 -136
- package/src/index.ts +4 -4
- package/src/shared/components/loader.tsx +16 -16
- package/src/shared/translations/en-GB.json +237 -237
- package/src/shared/translations/fr-BE.json +238 -238
- package/src/shared/translations/nl-BE.json +237 -237
- package/src/shared/types.ts +4 -4
- package/src/shared/utils/class-util.ts +9 -9
- package/src/shared/utils/localization-util.ts +62 -62
- package/src/shared/utils/query-string-util.ts +119 -119
- package/src/shared/utils/tide-api-utils.ts +36 -36
- package/styles/booking-product-variables.scss +394 -394
- package/styles/booking-product.scss +446 -446
- package/styles/booking-wizard-variables.scss +873 -873
- package/styles/booking-wizard.scss +59 -59
- package/styles/components/_animations.scss +39 -39
- package/styles/components/_base.scss +107 -107
- package/styles/components/_booking.scss +879 -879
- package/styles/components/_button.scss +238 -238
- package/styles/components/_checkbox.scss +219 -219
- package/styles/components/_cta.scss +208 -208
- package/styles/components/_date-list.scss +41 -41
- package/styles/components/_date-range-picker.scss +225 -225
- package/styles/components/_decrement-increment.scss +35 -35
- package/styles/components/_dropdown.scss +72 -72
- package/styles/components/_flight-option.scss +1429 -1429
- package/styles/components/_form.scss +1583 -1583
- package/styles/components/_info-message.scss +71 -71
- package/styles/components/_input.scss +25 -25
- package/styles/components/_list.scss +187 -187
- package/styles/components/_loader.scss +72 -72
- package/styles/components/_mixins.scss +550 -550
- package/styles/components/_placeholders.scss +166 -166
- package/styles/components/_pricing-summary.scss +155 -155
- package/styles/components/_qsm.scss +17 -17
- package/styles/components/_radiobutton.scss +170 -170
- package/styles/components/_select-wrapper.scss +80 -80
- package/styles/components/_spinner.scss +29 -29
- package/styles/components/_step-indicators.scss +168 -168
- package/styles/components/_table.scss +81 -81
- package/styles/components/_tree.scss +530 -530
- package/styles/components/_typeahead.scss +281 -281
- package/styles/components/_variables.scss +89 -89
- package/tsconfig.json +24 -24
package/.vs/ProjectSettings.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"CurrentProjectSetting": null
|
|
3
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"CurrentProjectSetting": null
|
|
3
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"ExpandedNodes": [""],
|
|
3
|
-
"SelectedNode": "\\D:\\2.0. Qite\\Tide-Booking-Component\\tide-booking-component",
|
|
4
|
-
"PreviewInSolutionExplorer": false
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"ExpandedNodes": [""],
|
|
3
|
+
"SelectedNode": "\\D:\\2.0. Qite\\Tide-Booking-Component\\tide-booking-component",
|
|
4
|
+
"PreviewInSolutionExplorer": false
|
|
5
|
+
}
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# README
|
|
2
|
-
|
|
3
|
-
This is the unified Tide Booking Component.
|
|
4
|
-
|
|
5
|
-
## Remarks
|
|
6
|
-
|
|
7
|
-
Do not forget to sync React versions when you're doing local changes and when you try to test them in a local React project (check https://reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react).
|
|
8
|
-
If using the playground, after installing it's node modules execute the following command in the root folder `npm link ./playground/node_modules/react`
|
|
1
|
+
# README
|
|
2
|
+
|
|
3
|
+
This is the unified Tide Booking Component.
|
|
4
|
+
|
|
5
|
+
## Remarks
|
|
6
|
+
|
|
7
|
+
Do not forget to sync React versions when you're doing local changes and when you try to test them in a local React project (check https://reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react).
|
|
8
|
+
If using the playground, after installing it's node modules execute the following command in the root folder `npm link ./playground/node_modules/react`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface AgeSelectProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
declare const AgeSelect: React.FC<AgeSelectProps>;
|
|
8
|
-
export default AgeSelect;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface AgeSelectProps {
|
|
3
|
+
value?: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onChange?: (value: number) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const AgeSelect: React.FC<AgeSelectProps>;
|
|
8
|
+
export default AgeSelect;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface AmountInputProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
declare const AmountInput: React.FC<AmountInputProps>;
|
|
10
|
-
export default AmountInput;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface AmountInputProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
min?: number;
|
|
7
|
+
onChange?: (value: number) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const AmountInput: React.FC<AmountInputProps>;
|
|
10
|
+
export default AmountInput;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface CalendarDayProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
declare const CalendarDay: React.FC<CalendarDayProps>;
|
|
12
|
-
export default CalendarDay;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface CalendarDayProps {
|
|
3
|
+
day: Date;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
isDisabled: boolean;
|
|
6
|
+
isOutsideMonth: boolean;
|
|
7
|
+
extraClassNames?: string[];
|
|
8
|
+
onClick: (date: Date) => void;
|
|
9
|
+
onMouseOver: (date: Date) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const CalendarDay: React.FC<CalendarDayProps>;
|
|
12
|
+
export default CalendarDay;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface CalendarProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
declare const Calendar: React.FC<CalendarProps>;
|
|
19
|
-
export default Calendar;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface CalendarProps {
|
|
3
|
+
year?: number;
|
|
4
|
+
month?: number;
|
|
5
|
+
hasPreviousButton?: boolean;
|
|
6
|
+
hasNextButton?: boolean;
|
|
7
|
+
hasFixedHeight?: boolean;
|
|
8
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
9
|
+
disabledDaysFunction?: (date: Date) => boolean;
|
|
10
|
+
selectedDaysFunction?: (date: Date) => boolean;
|
|
11
|
+
extraClassNamesFunction?: (date: Date) => string[];
|
|
12
|
+
dayContentFunction?: (date: Date) => JSX.Element | null | undefined;
|
|
13
|
+
onDayClick?: (date: Date) => void;
|
|
14
|
+
onDayMouseOver?: (date: Date) => void;
|
|
15
|
+
onNextClick?: (year: number, month: number) => void;
|
|
16
|
+
onPreviousClick?: (year: number, month: number) => void;
|
|
17
|
+
}
|
|
18
|
+
declare const Calendar: React.FC<CalendarProps>;
|
|
19
|
+
export default Calendar;
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface DateRangePickerProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
23
|
-
export default DateRangePicker;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface DateRangePickerProps {
|
|
3
|
+
fromDate?: Date;
|
|
4
|
+
toDate?: Date;
|
|
5
|
+
focusMonth?: {
|
|
6
|
+
month: number;
|
|
7
|
+
year: number;
|
|
8
|
+
};
|
|
9
|
+
locale?: Locale;
|
|
10
|
+
duration?: number;
|
|
11
|
+
disabledDaysFunction?: (date: Date) => boolean;
|
|
12
|
+
extraClassNamesFunction?: (date: Date) => string[];
|
|
13
|
+
dayContentFunction?: (date: Date) => JSX.Element | null | undefined;
|
|
14
|
+
onSelectionChange?: (fromDate: Date, toDate: Date) => void;
|
|
15
|
+
onFromDateChange?: (date?: Date) => void;
|
|
16
|
+
onToDateChange?: (date?: Date) => void;
|
|
17
|
+
onFocusMonthChange?: (focusMonth: { month: number; year: number }) => void;
|
|
18
|
+
}
|
|
19
|
+
declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
20
|
+
export default DateRangePicker;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DateRange } from "../types";
|
|
3
|
-
interface DatesProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
declare const Dates: React.FC<DatesProps>;
|
|
9
|
-
export default Dates;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { DateRange } from "../types";
|
|
3
|
+
interface DatesProps {
|
|
4
|
+
value?: DateRange;
|
|
5
|
+
duration?: number;
|
|
6
|
+
onChange?: (value: DateRange) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const Dates: React.FC<DatesProps>;
|
|
9
|
+
export default Dates;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface FooterProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
declare const Footer: React.FC<FooterProps>;
|
|
10
|
-
export default Footer;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface FooterProps {
|
|
3
|
+
priceText: string | undefined;
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
isOffer: boolean | undefined;
|
|
6
|
+
roomsIsDisabled: boolean;
|
|
7
|
+
handleBookClick: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Footer: React.FC<FooterProps>;
|
|
10
|
+
export default Footer;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface HeaderProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
declare const Header: React.FC<HeaderProps>;
|
|
11
|
-
export default Header;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface HeaderProps {
|
|
3
|
+
name: string;
|
|
4
|
+
rating: number | undefined;
|
|
5
|
+
priceText: string | undefined;
|
|
6
|
+
hasFlight: boolean;
|
|
7
|
+
hasTransfer: boolean;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const Header: React.FC<HeaderProps>;
|
|
11
|
+
export default Header;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface IconProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
declare const Icon: React.FC<IconProps>;
|
|
10
|
-
export default Icon;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IconProps {
|
|
3
|
+
name: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const Icon: React.FC<IconProps>;
|
|
10
|
+
export default Icon;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface ProductProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
declare const Product: React.FC<ProductProps>;
|
|
9
|
-
export default Product;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ProductProps {
|
|
3
|
+
productCode: string;
|
|
4
|
+
productName: string;
|
|
5
|
+
duration?: number;
|
|
6
|
+
rating?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const Product: React.FC<ProductProps>;
|
|
9
|
+
export default Product;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface RatingProps {
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
declare const Rating: React.FC<RatingProps>;
|
|
6
|
-
export default Rating;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface RatingProps {
|
|
3
|
+
rating: number;
|
|
4
|
+
}
|
|
5
|
+
declare const Rating: React.FC<RatingProps>;
|
|
6
|
+
export default Rating;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ProductRoom } from "../types";
|
|
3
|
-
interface RoomsProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
declare const Rooms: React.FC<RoomsProps>;
|
|
10
|
-
export default Rooms;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ProductRoom } from "../types";
|
|
3
|
+
interface RoomsProps {
|
|
4
|
+
rooms: ProductRoom[];
|
|
5
|
+
isDisabled: boolean;
|
|
6
|
+
setIsDisabled: (isOpen: boolean) => void;
|
|
7
|
+
onChange: (rooms: ProductRoom[]) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Rooms: React.FC<RoomsProps>;
|
|
10
|
+
export default Rooms;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Settings } from "./types";
|
|
3
|
-
interface BookingProductProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
declare const BookingProduct: React.FC<BookingProductProps>;
|
|
10
|
-
export default BookingProduct;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Settings } from "./types";
|
|
3
|
+
interface BookingProductProps {
|
|
4
|
+
productCode: string;
|
|
5
|
+
productName: string;
|
|
6
|
+
rating?: number;
|
|
7
|
+
settings: Settings;
|
|
8
|
+
}
|
|
9
|
+
declare const BookingProduct: React.FC<BookingProductProps>;
|
|
10
|
+
export default BookingProduct;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Settings } from "./types";
|
|
3
|
-
interface ProductSettingsContextProps extends Settings {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export default SettingsContext;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Settings } from "./types";
|
|
3
|
+
interface ProductSettingsContextProps extends Settings {}
|
|
4
|
+
declare const SettingsContext: React.Context<ProductSettingsContextProps>;
|
|
5
|
+
export default SettingsContext;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export interface Settings {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
export interface ProductRoom {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
export interface DateRange {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
1
|
+
export interface Settings {
|
|
2
|
+
officeId: number;
|
|
3
|
+
catalogueId: number;
|
|
4
|
+
agentId?: number;
|
|
5
|
+
basePath: string;
|
|
6
|
+
language: string;
|
|
7
|
+
includeFlights?: boolean;
|
|
8
|
+
priceMode: number;
|
|
9
|
+
icons?: string;
|
|
10
|
+
apiUrl?: string;
|
|
11
|
+
apiKey?: string;
|
|
12
|
+
addProductToQuery?: boolean;
|
|
13
|
+
isOffer?: boolean;
|
|
14
|
+
alternativeActionText?: string;
|
|
15
|
+
alternativeAction?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export interface ProductRoom {
|
|
18
|
+
adults: number;
|
|
19
|
+
children: number;
|
|
20
|
+
childAges: number[];
|
|
21
|
+
}
|
|
22
|
+
export interface DateRange {
|
|
23
|
+
fromDate?: Date;
|
|
24
|
+
toDate?: Date;
|
|
25
|
+
}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
BookingPackage,
|
|
3
|
+
BookingPackageDetailsRequest,
|
|
4
|
+
BookingPackageRequest,
|
|
5
|
+
TideResponse,
|
|
6
|
+
} from "@qite/tide-client/build/types";
|
|
7
|
+
import { ApiSettingsState } from "../../shared/types";
|
|
8
|
+
declare const packageApi: {
|
|
9
|
+
fetchDetails: (
|
|
10
|
+
request: BookingPackageRequest<BookingPackageDetailsRequest>,
|
|
11
|
+
signal: AbortSignal,
|
|
12
|
+
languageCode?: string,
|
|
13
|
+
apiSettings?: ApiSettingsState
|
|
14
|
+
) => Promise<TideResponse<BookingPackage>>;
|
|
15
|
+
};
|
|
16
|
+
export default packageApi;
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
export declare const formatPriceByMode: (
|
|
1
|
+
export declare const formatPriceByMode: (
|
|
2
|
+
price: number | undefined,
|
|
3
|
+
priceMode: number,
|
|
4
|
+
personCount: number,
|
|
5
|
+
duration: number,
|
|
6
|
+
perPersonLabel: string,
|
|
7
|
+
perNightLabel: string,
|
|
8
|
+
perPersonPerNightLabel: string
|
|
9
|
+
) => string | undefined;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import { ApiSettingsState } from "../shared/types";
|
|
2
|
-
export declare const setApiUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ApiSettingsState } from "../shared/types";
|
|
2
|
+
export declare const setApiUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<
|
|
3
|
+
string,
|
|
4
|
+
"settings/setApiUrl"
|
|
5
|
+
>,
|
|
6
|
+
setApiKey: import("@reduxjs/toolkit").ActionCreatorWithPayload<
|
|
7
|
+
string,
|
|
8
|
+
"settings/setApiKey"
|
|
9
|
+
>;
|
|
10
|
+
declare const _default: import("redux").Reducer<
|
|
11
|
+
ApiSettingsState,
|
|
12
|
+
import("redux").AnyAction
|
|
13
|
+
>;
|
|
14
|
+
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface IconProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
declare const Icon: React.FC<IconProps>;
|
|
10
|
-
export default Icon;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IconProps {
|
|
3
|
+
name: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const Icon: React.FC<IconProps>;
|
|
10
|
+
export default Icon;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface LabeledInputProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
declare const LabeledInput: React.FC<LabeledInputProps>;
|
|
18
|
-
export default LabeledInput;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface LabeledInputProps {
|
|
3
|
+
name: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
value?: string | number;
|
|
7
|
+
defaultValue?: string | number;
|
|
8
|
+
min?: string | number;
|
|
9
|
+
max?: string | number;
|
|
10
|
+
label?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
hasError?: boolean;
|
|
13
|
+
extraClassName?: string;
|
|
14
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
15
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
16
|
+
}
|
|
17
|
+
declare const LabeledInput: React.FC<LabeledInputProps>;
|
|
18
|
+
export default LabeledInput;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface LabeledSelectProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
declare const LabeledSelect: React.FC<LabeledSelectProps>;
|
|
21
|
-
export default LabeledSelect;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface LabeledSelectProps {
|
|
3
|
+
name: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
value?: string | number;
|
|
7
|
+
defaultValue?: string | number;
|
|
8
|
+
label?: string;
|
|
9
|
+
hasError?: boolean;
|
|
10
|
+
extraClassName?: string;
|
|
11
|
+
extraDropdownClassName?: string;
|
|
12
|
+
options?: {
|
|
13
|
+
key: string;
|
|
14
|
+
value: string | number | undefined;
|
|
15
|
+
label: string;
|
|
16
|
+
}[];
|
|
17
|
+
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
18
|
+
onBlur?: React.FocusEventHandler<HTMLSelectElement>;
|
|
19
|
+
}
|
|
20
|
+
declare const LabeledSelect: React.FC<LabeledSelectProps>;
|
|
21
|
+
export default LabeledSelect;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface MessageProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
declare const Message: React.FC<MessageProps>;
|
|
9
|
-
export default Message;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface MessageProps {
|
|
3
|
+
type: "error" | "success";
|
|
4
|
+
title: string;
|
|
5
|
+
actionComponent?: JSX.Element;
|
|
6
|
+
children?: JSX.Element | JSX.Element[];
|
|
7
|
+
}
|
|
8
|
+
declare const Message: React.FC<MessageProps>;
|
|
9
|
+
export default Message;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface MultiRangeFilterProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
declare const MultiRangeFilter: React.FC<MultiRangeFilterProps>;
|
|
11
|
-
export default MultiRangeFilter;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface MultiRangeFilterProps {
|
|
3
|
+
min: number;
|
|
4
|
+
max: number;
|
|
5
|
+
selectedMin: number;
|
|
6
|
+
selectedMax: number;
|
|
7
|
+
valueFormatter: (value: number) => string;
|
|
8
|
+
onChange: (min: number, max: number) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const MultiRangeFilter: React.FC<MultiRangeFilterProps>;
|
|
11
|
+
export default MultiRangeFilter;
|