ublo-lib 1.47.7 → 1.47.9-1.rc0
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/es/common/components/admin-links/admin-links.d.ts +7 -1
- package/es/common/components/admin-links/admin-links.d.ts.map +1 -1
- package/es/common/components/admin-links/admin-links.js +14 -8
- package/es/common/components/cart-dialog/cart-dialog-inner.d.ts +2 -1
- package/es/common/components/cart-dialog/cart-dialog-inner.d.ts.map +1 -1
- package/es/common/components/cart-dialog/cart-dialog-inner.js +13 -2
- package/es/common/components/cart-dialog/cart-dialog.d.ts +2 -1
- package/es/common/components/cart-dialog/cart-dialog.d.ts.map +1 -1
- package/es/common/components/cart-dialog/cart-dialog.js +2 -2
- package/es/common/components/cart-dialog/default.d.ts +2 -1
- package/es/common/components/cart-dialog/default.d.ts.map +1 -1
- package/es/common/components/cart-dialog/default.js +2 -2
- package/es/common/components/cart-dialog/esf-custom.d.ts +2 -1
- package/es/common/components/cart-dialog/esf-custom.d.ts.map +1 -1
- package/es/common/components/cart-dialog/esf-custom.js +2 -2
- package/es/common/components/cart-dialog/esf.d.ts +2 -1
- package/es/common/components/cart-dialog/esf.d.ts.map +1 -1
- package/es/common/components/cart-dialog/esf.js +2 -2
- package/es/common/components/cart-dialog/lodging.d.ts +2 -1
- package/es/common/components/cart-dialog/lodging.d.ts.map +1 -1
- package/es/common/components/cart-dialog/lodging.js +2 -2
- package/es/common/components/cart-dialog/ski-passes.d.ts +2 -1
- package/es/common/components/cart-dialog/ski-passes.d.ts.map +1 -1
- package/es/common/components/cart-dialog/ski-passes.js +2 -2
- package/es/common/components/cart-dialog/ski-rental.d.ts +2 -1
- package/es/common/components/cart-dialog/ski-rental.d.ts.map +1 -1
- package/es/common/components/cart-dialog/ski-rental.js +2 -2
- package/es/common/components/cart-dialog/vakario.d.ts +2 -1
- package/es/common/components/cart-dialog/vakario.d.ts.map +1 -1
- package/es/common/components/cart-dialog/vakario.js +2 -2
- package/es/common/components/cart-preview/cart-pill.d.ts +3 -1
- package/es/common/components/cart-preview/cart-pill.d.ts.map +1 -1
- package/es/common/components/cart-preview/cart-pill.js +5 -3
- package/es/common/components/cart-preview/cart-preview.d.ts +4 -1
- package/es/common/components/cart-preview/cart-preview.d.ts.map +1 -1
- package/es/common/components/cart-preview/cart-preview.js +19 -6
- package/es/common/components/cart-preview/utils.d.ts.map +1 -1
- package/es/common/components/cart-preview/utils.js +8 -1
- package/es/common/components/collapsible/collapsible.module.css +1 -1
- package/es/common/components/cookie-consent/cookie-consent.d.ts.map +1 -1
- package/es/common/components/cookie-consent/cookie-consent.js +10 -1
- package/es/common/components/cross-selling-editor/services/utils.d.ts.map +1 -1
- package/es/common/components/cross-selling-editor/services/utils.js +6 -5
- package/es/common/components/custom-contact-form/attachment.js +2 -2
- package/es/common/components/custom-contact-form/custom-contact-form.js +8 -3
- package/es/common/components/date-picker/calendar.d.ts +2 -1
- package/es/common/components/date-picker/calendar.d.ts.map +1 -1
- package/es/common/components/date-picker/calendar.js +2 -4
- package/es/common/components/date-picker/context-lang.d.ts +6 -0
- package/es/common/components/date-picker/context-lang.d.ts.map +1 -0
- package/es/common/components/date-picker/context-lang.js +9 -0
- package/es/common/components/date-picker/date-item.d.ts +2 -1
- package/es/common/components/date-picker/date-item.d.ts.map +1 -1
- package/es/common/components/date-picker/date-item.js +1 -3
- package/es/common/components/date-picker/date-item.module.css +1 -1
- package/es/common/components/date-picker/date-picker.d.ts +2 -1
- package/es/common/components/date-picker/date-picker.d.ts.map +1 -1
- package/es/common/components/date-picker/date-picker.js +6 -3
- package/es/common/components/date-picker/month.d.ts +2 -1
- package/es/common/components/date-picker/month.d.ts.map +1 -1
- package/es/common/components/date-picker/month.js +2 -4
- package/es/common/components/gesco-contact-form/services/messages.js +1 -1
- package/es/common/components/infinite-carousel/index.d.ts +3 -0
- package/es/common/components/infinite-carousel/index.d.ts.map +1 -0
- package/es/common/components/infinite-carousel/index.js +2 -0
- package/es/common/components/infinite-carousel/infinite-carousel.d.ts +20 -0
- package/es/common/components/infinite-carousel/infinite-carousel.d.ts.map +1 -0
- package/es/common/components/infinite-carousel/infinite-carousel.js +196 -0
- package/es/common/components/infinite-carousel/infinite-carousel.module.css +175 -0
- package/es/common/components/information/i18n.json +6 -0
- package/es/common/components/information/information.d.ts.map +1 -1
- package/es/common/components/information/information.js +4 -2
- package/es/common/components/information/information.module.css +1 -2
- package/es/common/components/information/use-season-choice.d.ts +2 -0
- package/es/common/components/information/use-season-choice.d.ts.map +1 -0
- package/es/common/components/information/use-season-choice.js +47 -0
- package/es/common/components/search-bar/search-bar.d.ts +2 -1
- package/es/common/components/search-bar/search-bar.d.ts.map +1 -1
- package/es/common/components/search-bar/search-bar.js +19 -6
- package/es/common/components/season-switch/index.d.ts +6 -0
- package/es/common/components/season-switch/index.d.ts.map +1 -0
- package/es/common/components/season-switch/index.js +42 -0
- package/es/common/components/season-switch/index.module.css +24 -0
- package/es/common/components/season-switch/use-choose-winter.d.ts +2 -0
- package/es/common/components/season-switch/use-choose-winter.d.ts.map +1 -0
- package/es/common/components/season-switch/use-choose-winter.js +47 -0
- package/es/common/components/week-selector/services/weeks.d.ts +1 -1
- package/es/common/components/week-selector/services/weeks.d.ts.map +1 -1
- package/es/common/components/week-selector/services/weeks.js +4 -2
- package/es/common/components/week-selector/week-selector.d.ts +1 -1
- package/es/common/components/week-selector/week-selector.d.ts.map +1 -1
- package/es/common/components/week-selector/week-selector.js +6 -2
- package/es/common/hooks/use-packages.js +1 -1
- package/es/esf/components/espace-prive/index.d.ts +2 -1
- package/es/esf/components/espace-prive/index.d.ts.map +1 -1
- package/es/esf/components/espace-prive/index.js +2 -2
- package/es/esf/components/espace-prive/partenaire.d.ts +2 -1
- package/es/esf/components/espace-prive/partenaire.d.ts.map +1 -1
- package/es/esf/components/espace-prive/partenaire.js +2 -2
- package/es/esf/components/espace-prive/tunnel.d.ts +3 -1
- package/es/esf/components/espace-prive/tunnel.d.ts.map +1 -1
- package/es/esf/components/espace-prive/tunnel.js +2 -2
- package/es/esf/components/instant-search/hooks/use-search.d.ts.map +1 -1
- package/es/esf/components/instant-search/hooks/use-search.js +8 -1
- package/es/esf/components/instant-search/instant-search.d.ts.map +1 -1
- package/es/esf/components/instant-search/instant-search.js +16 -1
- package/es/esf/components/instant-search/links.d.ts +1 -1
- package/es/esf/components/instant-search/links.d.ts.map +1 -1
- package/es/esf/components/instant-search/links.js +1 -1
- package/es/esf/components/instant-search/products.d.ts +1 -1
- package/es/esf/components/instant-search/products.d.ts.map +1 -1
- package/es/esf/components/instant-search/products.js +1 -1
- package/es/esf/components/instant-search/results.d.ts +1 -1
- package/es/esf/components/instant-search/results.d.ts.map +1 -1
- package/es/esf/components/instant-search/results.js +2 -2
- package/es/esf/components/instructors-book/sheet.d.ts.map +1 -1
- package/es/esf/components/instructors-book/sheet.js +16 -1
- package/es/esf/components/levels/levels.d.ts +3 -1
- package/es/esf/components/levels/levels.d.ts.map +1 -1
- package/es/esf/components/levels/levels.js +24 -3
- package/es/esf/components/magic-box/booking.d.ts +3 -1
- package/es/esf/components/magic-box/booking.d.ts.map +1 -1
- package/es/esf/components/magic-box/booking.js +12 -3
- package/es/esf/components/magic-box/filter.d.ts.map +1 -1
- package/es/esf/components/magic-box/filter.js +8 -8
- package/es/esf/components/magic-box/magic-box.d.ts +2 -1
- package/es/esf/components/magic-box/magic-box.d.ts.map +1 -1
- package/es/esf/components/magic-box/magic-box.js +7 -9
- package/es/esf/components/magic-box/services/api.d.ts.map +1 -1
- package/es/esf/components/magic-box/services/api.js +1 -0
- package/es/esf/components/period-picker/period-picker.d.ts.map +1 -1
- package/es/esf/components/period-picker/period-picker.js +1 -1
- package/es/esf/components/period-picker/weeks.module.css +8 -5
- package/es/esf/hooks/use-booking-links.d.ts.map +1 -1
- package/es/esf/hooks/use-booking-links.js +11 -7
- package/es/esf/hooks/use-gesco-referral.d.ts +2 -0
- package/es/esf/hooks/use-gesco-referral.d.ts.map +1 -0
- package/es/esf/hooks/use-gesco-referral.js +18 -0
- package/es/future/components/event-analytics/instant-search.d.ts +10 -0
- package/es/future/components/event-analytics/instant-search.d.ts.map +1 -0
- package/es/future/components/event-analytics/instant-search.js +41 -0
- package/es/future/components/msem/index.d.ts +2 -1
- package/es/future/components/msem/index.d.ts.map +1 -1
- package/es/future/components/msem/index.js +2 -1
- package/es/future/components/msem/tunnel-new.d.ts +32 -0
- package/es/future/components/msem/tunnel-new.d.ts.map +1 -0
- package/es/future/components/msem/tunnel-new.js +27 -0
- package/es/future/components/msem/tunnel.d.ts +1 -1
- package/es/future/components/msem/tunnel.d.ts.map +1 -1
- package/es/future/components/msem/tunnel.js +8 -0
- package/es/future/components/msem/types.d.ts +1 -0
- package/es/future/components/msem/types.d.ts.map +1 -1
- package/es/future/components/msem/utils.d.ts +1 -1
- package/es/future/components/msem/utils.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/components/widget-list-item.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/components/widget-list-item.js +1 -2
- package/es/future/components/msem-preset-editor/editors/lodgings.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/editors/lodgings.js +48 -48
- package/es/future/components/msem-preset-editor/editors/lodgings.module.css +24 -0
- package/es/future/components/msem-preset-editor/editors/ski-passes.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/editors/ski-passes.js +23 -24
- package/es/future/components/msem-preset-editor/editors/ski-rental.d.ts +1 -1
- package/es/future/components/msem-preset-editor/editors/ski-rental.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/editors/ski-rental.js +161 -17
- package/es/future/components/msem-preset-editor/msem-preset-editor.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/msem-preset-editor.js +3 -1
- package/es/future/components/msem-preset-editor/services/api.d.ts +2 -0
- package/es/future/components/msem-preset-editor/services/api.d.ts.map +1 -1
- package/es/future/components/msem-preset-editor/services/api.js +8 -0
- package/es/future/components/plausible/services/callback.d.ts +2 -1
- package/es/future/components/plausible/services/callback.d.ts.map +1 -1
- package/es/future/components/plausible/services/callback.js +102 -6
- package/es/lbm/components/instant-search/faqs.d.ts +1 -1
- package/es/lbm/components/instant-search/faqs.d.ts.map +1 -1
- package/es/lbm/components/instant-search/faqs.js +1 -1
- package/es/lbm/components/instant-search/google-results.d.ts +1 -1
- package/es/lbm/components/instant-search/google-results.d.ts.map +1 -1
- package/es/lbm/components/instant-search/links.d.ts +1 -1
- package/es/lbm/components/instant-search/links.d.ts.map +1 -1
- package/es/lbm/components/instant-search/links.js +1 -1
- package/es/lbm/components/instant-search/products.d.ts +1 -1
- package/es/lbm/components/instant-search/products.d.ts.map +1 -1
- package/es/lbm/components/instant-search/products.js +1 -1
- package/es/lbm/components/instant-search/results.d.ts +1 -1
- package/es/lbm/components/instant-search/results.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/access.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/access.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/activity.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/activity.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/components/card.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/components/card.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/components/card.js +1 -1
- package/es/lbm/components/instant-search/widgets/dawn-nights-openings.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/dawn-nights-openings.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/lift.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/lift.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/lifts.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/lifts.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/msem-widget.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/msem-widget.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/openings.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/openings.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/slope.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/slope.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/slopes.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/slopes.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/snow.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/snow.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/weather.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/weather.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets/webcam.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets/webcam.d.ts.map +1 -1
- package/es/lbm/components/instant-search/widgets.d.ts +1 -1
- package/es/lbm/components/instant-search/widgets.d.ts.map +1 -1
- package/es/lbm/components/lumiplan/pois.d.ts.map +1 -1
- package/es/lbm/components/lumiplan/pois.js +6 -2
- package/es/market-place/components/instant-search/google-results.d.ts +1 -1
- package/es/market-place/components/instant-search/google-results.d.ts.map +1 -1
- package/es/market-place/components/instant-search/links.d.ts +1 -1
- package/es/market-place/components/instant-search/links.d.ts.map +1 -1
- package/es/market-place/components/instant-search/links.js +1 -1
- package/es/market-place/components/instant-search/products.d.ts +1 -1
- package/es/market-place/components/instant-search/products.d.ts.map +1 -1
- package/es/market-place/components/instant-search/products.js +1 -1
- package/es/market-place/components/instant-search/results.d.ts +1 -1
- package/es/market-place/components/instant-search/results.d.ts.map +1 -1
- package/package.json +2 -2
- package/es/common/utils/file-manager.d.ts +0 -8
- package/es/common/utils/file-manager.d.ts.map +0 -1
- package/es/common/utils/file-manager.js +0 -12
|
@@ -3,7 +3,7 @@ import { Hit } from "../../results";
|
|
|
3
3
|
type Props = {
|
|
4
4
|
doc: Hit;
|
|
5
5
|
overlayTitle?: boolean;
|
|
6
|
-
sendPlausibleGoal: (path: string) => void;
|
|
6
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
};
|
|
9
9
|
export default function Card({ doc, overlayTitle, sendPlausibleGoal, children, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../../src/lbm/components/instant-search/widgets/components/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAUpC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IACT,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../../src/lbm/components/instant-search/widgets/components/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAUpC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IACT,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;IAChD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,GAAG,EACH,YAAY,EACZ,iBAAiB,EACjB,QAAQ,GACT,EAAE,KAAK,2CAqBP"}
|
|
@@ -11,5 +11,5 @@ export default function Card({ doc, overlayTitle, sendPlausibleGoal, children, }
|
|
|
11
11
|
const { document: { title: _title, target, path }, highlight, } = doc;
|
|
12
12
|
const decodedPath = decodeURIComponent(target || path);
|
|
13
13
|
const title = Utils.getHighlight("title", highlight) || _title;
|
|
14
|
-
return (_jsxs(Link, { className: css.card, href: decodedPath, onClick:
|
|
14
|
+
return (_jsxs(Link, { className: css.card, href: decodedPath, onClick: sendPlausibleGoal(decodedPath), onMouseDown: createRipple, children: [_jsx("div", { dangerouslySetInnerHTML: { __html: title }, className: classNames(css.title, { [css.overlay]: overlayTitle }) }), children] }));
|
|
15
15
|
}
|
|
@@ -2,7 +2,7 @@ import type { Hit } from "../results";
|
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
4
|
dawn?: boolean;
|
|
5
|
-
sendPlausibleGoal: (path: string) => void;
|
|
5
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
6
6
|
};
|
|
7
7
|
declare const DawnNightOpenings: ({ dawn, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default DawnNightOpenings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dawn-nights-openings.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/dawn-nights-openings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAStC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"dawn-nights-openings.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/dawn-nights-openings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAStC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,iBAAiB,uBAAwB,KAAK,4CAuDnD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Hit } from "../results";
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
|
-
sendPlausibleGoal: (path: string) => void;
|
|
4
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
5
5
|
};
|
|
6
6
|
declare const Lift: ({ doc, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Lift;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lift.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/lift.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAwBtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"lift.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/lift.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAwBtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,IAAI,sBAAuB,KAAK,4CA4CrC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Hit } from "../results";
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
|
-
sendPlausibleGoal: (path: string) => void;
|
|
4
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
5
5
|
};
|
|
6
6
|
declare const Lifts: ({ doc, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Lifts;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifts.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/lifts.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAItC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"lifts.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/lifts.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAItC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,KAAK,sBAAuB,KAAK,4CAkCtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Hit } from "../results";
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
|
-
sendPlausibleGoal: (path: string) => void;
|
|
4
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
5
5
|
};
|
|
6
6
|
export default function MsemWidget({ doc }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msem-widget.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/msem-widget.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAuDjC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"msem-widget.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/msem-widget.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAuDjC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,GAAG,EAAE,EAAE,KAAK,2CA4BhD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Hit } from "../results";
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
|
-
sendPlausibleGoal: (path: string) => void;
|
|
4
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
5
5
|
};
|
|
6
6
|
declare const Openings: ({ ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Openings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openings.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/openings.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAWtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"openings.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/openings.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAWtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,QAAQ,iBAAkB,KAAK,4CAoCpC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Hit } from "../results";
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
|
-
sendPlausibleGoal: (path: string) => void;
|
|
4
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
5
5
|
};
|
|
6
6
|
declare const Slope: ({ doc, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Slope;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slope.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/slope.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AA+CtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"slope.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/slope.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AA+CtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,KAAK,sBAAuB,KAAK,4CAqCtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Hit } from "../results";
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
|
-
sendPlausibleGoal: (path: string) => void;
|
|
4
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
5
5
|
};
|
|
6
6
|
declare const Slopes: ({ ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Slopes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slopes.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/slopes.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAKtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"slopes.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/slopes.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAKtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,MAAM,iBAAkB,KAAK,4CAkClC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { Hit } from "../results";
|
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
4
|
summit?: boolean;
|
|
5
|
-
sendPlausibleGoal: (path: string) => void;
|
|
5
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
6
6
|
};
|
|
7
7
|
declare const Snow: ({ doc, summit, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default Snow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snow.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/snow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAKtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"snow.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/snow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAKtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,IAAI,8BAA+B,KAAK,4CA8B7C,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { Hit } from "../results";
|
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
4
|
summit?: boolean;
|
|
5
|
-
sendPlausibleGoal: (path: string) => void;
|
|
5
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
6
6
|
};
|
|
7
7
|
declare const Weather: ({ doc, summit, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default Weather;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"weather.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/weather.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAQtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"weather.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/weather.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAQtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,OAAO,8BAA+B,KAAK,4CA6DhD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Hit } from "../results";
|
|
2
2
|
type Props = {
|
|
3
3
|
doc: Hit;
|
|
4
|
-
sendPlausibleGoal: (path: string) => void;
|
|
4
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
5
5
|
};
|
|
6
6
|
declare const Webcam: ({ doc, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Webcam;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webcam.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/webcam.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"webcam.d.ts","sourceRoot":"","sources":["../../../../../src/lbm/components/instant-search/widgets/webcam.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGtC,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,GAAG,CAAC;IAET,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AACF,QAAA,MAAM,MAAM,sBAAuB,KAAK,4CAUvC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -3,7 +3,7 @@ type Props = {
|
|
|
3
3
|
lang: string;
|
|
4
4
|
widgets: Hit[];
|
|
5
5
|
loading: boolean;
|
|
6
|
-
sendPlausibleGoal: (path: string) => void;
|
|
6
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
7
7
|
faqsMaximized: boolean;
|
|
8
8
|
};
|
|
9
9
|
export default function Widgets({ widgets, loading, faqsMaximized, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widgets.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/instant-search/widgets.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAkBrC,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"widgets.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/instant-search/widgets.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAkBrC,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;IAChD,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,OAAO,EACP,OAAO,EACP,aAAa,EACb,GAAG,KAAK,EACT,EAAE,KAAK,2CA+DP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pois.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/pois.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EAAO,QAAQ,EAAQ,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"pois.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/pois.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EAAO,QAAQ,EAAQ,MAAM,SAAS,CAAC;AA6DnD,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACxB,CAAC;AAeF,QAAA,MAAM,IAAI,8EAoQR,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
|
@@ -43,11 +43,11 @@ const TRAIL_ICONS = {
|
|
|
43
43
|
ENDURO: TrailIcons.VTT,
|
|
44
44
|
FREERIDE_AREA_OFF_PIST: TrailIcons.SkiAlpin,
|
|
45
45
|
FREERIDE_SKI_ITINERARY: TrailIcons.SkiAlpin,
|
|
46
|
-
FUN_ZONE: TrailIcons.
|
|
46
|
+
FUN_ZONE: TrailIcons.Pieton,
|
|
47
47
|
GATE: TrailIcons.Freeride,
|
|
48
48
|
GLADES: TrailIcons.Freeride,
|
|
49
49
|
ILLUMINATED_TRAIL: TrailIcons.PisteEclairee,
|
|
50
|
-
MULTI_USE_TRAIL: TrailIcons.
|
|
50
|
+
MULTI_USE_TRAIL: TrailIcons.Pieton,
|
|
51
51
|
MTB_ENDURO: TrailIcons.VTT,
|
|
52
52
|
PATH: TrailIcons.Pieton,
|
|
53
53
|
PEDESTRIAN: TrailIcons.Pieton,
|
|
@@ -60,6 +60,7 @@ const TRAIL_ICONS = {
|
|
|
60
60
|
SNOWTUBING: TrailIcons.Snowtubing,
|
|
61
61
|
TERRAIN_PARK: TrailIcons.Snowpark,
|
|
62
62
|
TERRAIN_PARK_US: TrailIcons.Snowpark,
|
|
63
|
+
THEME_TRAIL: TrailIcons.Pieton,
|
|
63
64
|
TRAIL_RUNNING: TrailIcons.Pieton,
|
|
64
65
|
TREETOP_ADVENTURE_PARK: TrailIcons.Accrobranche,
|
|
65
66
|
TYROLEAN: TrailIcons.Tyrolienne,
|
|
@@ -77,6 +78,9 @@ const SPECIAL_TRAILS = {
|
|
|
77
78
|
"Schlitte Mountain": `${lumiplanApi}/pistes-ludiques/schlitte-mountain.png`,
|
|
78
79
|
Boris: `${lumiplanApi}/pistes-ludiques/boris.png`,
|
|
79
80
|
"Rail Park": `${lumiplanApi}/pistes-ludiques/rail-park.png`,
|
|
81
|
+
"Mountain Kart": `${lumiplanApi}/activites-ete/mountain-kart.png`,
|
|
82
|
+
"Labell'aire": `${lumiplanApi}/activites-ete/labellaire.svg`,
|
|
83
|
+
"Roule Ma Boule": `${lumiplanApi}/activites-ete/roule-ma-boule.png`,
|
|
80
84
|
};
|
|
81
85
|
const Pois = React.forwardRef(({ pois }, ref) => {
|
|
82
86
|
const { lang } = useUbloContext();
|
|
@@ -2,7 +2,7 @@ import { type GoogleSearchResult } from "./services/api";
|
|
|
2
2
|
type Props = {
|
|
3
3
|
links: GoogleSearchResult[];
|
|
4
4
|
loading: boolean;
|
|
5
|
-
sendPlausibleGoal: (path: string) => void;
|
|
5
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
6
6
|
};
|
|
7
7
|
export default function OTLinks({ links, loading, sendPlausibleGoal }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-results.d.ts","sourceRoot":"","sources":["../../../../src/market-place/components/instant-search/google-results.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGzD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"google-results.d.ts","sourceRoot":"","sources":["../../../../src/market-place/components/instant-search/google-results.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGzD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,KAAK,2CAoD3E"}
|
|
@@ -4,7 +4,7 @@ type Props = {
|
|
|
4
4
|
links: Hit[];
|
|
5
5
|
pageTitleAsTitle?: boolean;
|
|
6
6
|
loading: boolean;
|
|
7
|
-
sendPlausibleGoal: (path: string) => void;
|
|
7
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
8
8
|
};
|
|
9
9
|
export default function Links({ icon, linksTitle, links, pageTitleAsTitle, loading, sendPlausibleGoal, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../src/market-place/components/instant-search/links.tsx"],"names":[],"mappings":"AAWA,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;IAChD,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../src/market-place/components/instant-search/links.tsx"],"names":[],"mappings":"AAWA,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;IAChD,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;CACjD,CAAC;AAMF,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,IAAI,EACJ,UAAU,EACV,KAAK,EACL,gBAAgB,EAChB,OAAO,EACP,iBAAiB,GAClB,EAAE,KAAK,2CAoEP"}
|
|
@@ -30,6 +30,6 @@ export default function Links({ icon, linksTitle, links, pageTitleAsTitle, loadi
|
|
|
30
30
|
link.document[titleProperty];
|
|
31
31
|
const linkText = Utils.getHighlight("text", link.highlight, true) ||
|
|
32
32
|
Utils.sliceText(text);
|
|
33
|
-
return (_jsxs(Link, { href: decodedPath, className: css.link, onClick:
|
|
33
|
+
return (_jsxs(Link, { href: decodedPath, className: css.link, onClick: sendPlausibleGoal(decodedPath), onMouseDown: createRipple, children: [_jsx(Icon, { className: css.linkIcon }), _jsxs("div", { className: css.linkContent, children: [parentTitle && (_jsx("div", { className: css.linkParent, dangerouslySetInnerHTML: { __html: parentTitle } })), _jsx("div", { className: css.linkTitle, dangerouslySetInnerHTML: { __html: linkTitle } }), linkText && (_jsx("div", { className: css.linkText, dangerouslySetInnerHTML: { __html: linkText } }))] })] }, id));
|
|
34
34
|
})] })] }));
|
|
35
35
|
}
|
|
@@ -4,7 +4,7 @@ type Props = {
|
|
|
4
4
|
products: Hit[];
|
|
5
5
|
weekNumber: number | null;
|
|
6
6
|
loading: boolean;
|
|
7
|
-
sendPlausibleGoal: (path: string) => void;
|
|
7
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
8
8
|
otherResultsRef: React.RefObject<HTMLDivElement>;
|
|
9
9
|
isOtherResultsEmpty: boolean;
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../../src/market-place/components/instant-search/products.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,GAAG,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../../src/market-place/components/instant-search/products.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,GAAG,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IAEjB,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;IAChD,eAAe,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACjD,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AASF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,eAAe,EACf,mBAAmB,GACpB,EAAE,KAAK,2CAoIP"}
|
|
@@ -42,7 +42,7 @@ export default function Products({ lang, products, weekNumber, loading, sendPlau
|
|
|
42
42
|
const showPrice = price !== undefined;
|
|
43
43
|
const imagePlaceholderStategy = imagePlaceholder ? "blur" : "empty";
|
|
44
44
|
const showImage = Boolean(image);
|
|
45
|
-
return (_jsxs(Link, { className: css.product, href: decodedPath, onClick:
|
|
45
|
+
return (_jsxs(Link, { className: css.product, href: decodedPath, onClick: sendPlausibleGoal(decodedPath), onMouseDown: createRipple, children: [showImage ? (_jsx(Image, { className: css.productImage, src: image, alt: title, width: 220, height: 180, placeholder: imagePlaceholderStategy, blurDataURL: imagePlaceholder })) : (_jsx(Placeholder, { lang: lang, type: type })), _jsxs("div", { className: css.productContent, children: [parentTitle && (_jsx("div", { className: css.productParent, dangerouslySetInnerHTML: { __html: parentTitle } })), _jsx("div", { className: css.productTitle, dangerouslySetInnerHTML: { __html: productTitle } }), _jsx("div", { className: css.productSubtitle, dangerouslySetInnerHTML: { __html: productSubTitle } }), _jsx("div", { className: css.productTime, dangerouslySetInnerHTML: { __html: productTime } }), _jsx("div", { className: css.productText, dangerouslySetInnerHTML: { __html: productText } }), showPrice && (_jsx("div", { className: css.productPrice, dangerouslySetInnerHTML: { __html: price } }))] })] }, id));
|
|
46
46
|
}), !noProduct && !isOtherResultsEmpty && (_jsx("div", { className: css.otherProducts, children: _jsxs(Button, { className: css.otherProductsButton, onClick: scrollToOtherResults, children: [message(lang, "showOtherResults"), _jsx(ArrowDownIcon, {})] }) }))] }));
|
|
47
47
|
}
|
|
48
48
|
function Placeholder({ type }) {
|
|
@@ -12,7 +12,7 @@ type Props = {
|
|
|
12
12
|
search_time_ms?: number;
|
|
13
13
|
};
|
|
14
14
|
weekNumber: number | null;
|
|
15
|
-
sendPlausibleGoal: (path: string) => void;
|
|
15
|
+
sendPlausibleGoal: (path: string) => () => void;
|
|
16
16
|
loading: boolean;
|
|
17
17
|
};
|
|
18
18
|
export default function Results({ lang, text, results, weekNumber, loading, sendPlausibleGoal, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../../../../src/market-place/components/instant-search/results.tsx"],"names":[],"mappings":"AAQA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACP,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,cAAc,CAAC,EAAE,aAAa,CAAC;QAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../../../../src/market-place/components/instant-search/results.tsx"],"names":[],"mappings":"AAQA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACP,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,cAAc,CAAC,EAAE,aAAa,CAAC;QAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,IAAI,CAAC;IAChD,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,UAAU,EACV,OAAO,EACP,iBAAiB,GAClB,EAAE,KAAK,2CAsGP"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ublo-lib",
|
|
3
|
-
"version": "1.47.
|
|
3
|
+
"version": "1.47.91.rc0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"classnames": "^2.5.1",
|
|
6
6
|
"dt-design-system": "^3.12.0",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@typescript-eslint/parser": "^7.18.0",
|
|
29
29
|
"classnames": "^2.5.1",
|
|
30
30
|
"cpx2": "^7.0.2",
|
|
31
|
-
"dt-design-system": "^3.14.
|
|
31
|
+
"dt-design-system": "^3.14.3",
|
|
32
32
|
"eslint": "^8.57.1",
|
|
33
33
|
"eslint-plugin-react": "^7.37.4",
|
|
34
34
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-manager.d.ts","sourceRoot":"","sources":["../../../src/common/utils/file-manager.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,SAAS,EAAE,GAAG,CAAC;QACf,eAAe,EAAE,GAAG,CAAC;KACtB;CACF;AAED,eAAO,MAAM,eAAe,gBAAsB,OAAO,kBASxD,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { loadJS } from "./load-js";
|
|
2
|
-
export const loadFileManager = async (uploadOnly = true) => {
|
|
3
|
-
const { url, token } = window.CmsConfig.filemanager;
|
|
4
|
-
if (!url || !token)
|
|
5
|
-
return;
|
|
6
|
-
await loadJS(`${url}/static/js/file-manager.js`, "file-picker");
|
|
7
|
-
window.openFileManager({
|
|
8
|
-
fileManagerAPIURL: url,
|
|
9
|
-
token: token,
|
|
10
|
-
uploadOnly,
|
|
11
|
-
});
|
|
12
|
-
};
|