Socket
Socket
Sign inDemoInstall

@depict-ai/ui

Package Overview
Dependencies
Maintainers
6
Versions
363
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depict-ai/ui - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

dist/locales/index.d.ts

1380

dist/index.d.ts

@@ -1,3 +0,2 @@

import { Accessor, JSX, Setter, Signal } from "solid-js";
import { Display, Node_Array, Elem, Extended_RR_Options, LayoutOptions, TwoLetterMarket, RR_PostProcessor, RR_PreProcessor } from "@depict-ai/utilishared";
import { Elem, Display, InfoForProcessing, Node_Array, RR_PostProcessor, RR_PreProcessor } from "@depict-ai/utilishared";
import { SearchResponse } from "@depict-ai/types/api/SearchResponse";

@@ -10,30 +9,80 @@ import { SearchRequest, SearchFilter } from "@depict-ai/types/api/SearchRequest";

import { ProductListingResponse, BaseCategoryDisplay } from "@depict-ai/types/api/ProductListingResponse";
import { Accessor, JSX, Setter, Signal } from "solid-js";
import { JSX as _JSX1 } from "solid-js/types/jsx";
import { InfoForProcessing } from "@depict-ai/utilishared/src";
export const CategoryTitle: ({ category_title_, product_count_, }: {
category_title_: Accessor<string | undefined>;
product_count_: JSX.Element;
}) => HTMLElement;
import { InfoForProcessing as _InfoForProcessing1 } from "@depict-ai/utilishared/src";
export const version = "0.0.23";
/**
* Embeds number of products between sort and filter buttons on mobile if possible, only supported for category pages right now. Pass it as category_title_ to Category.
* Note: this will add an invisible element as first element in depict-search-page which will confuse the flex-gap SCSS mixin a bit so you'll get some extra spacing at the beginning of the search page
* If you see “ResizeObserver loop limit exceeded”, this is probably doing it. More context here: https://depictaiworkspace.slack.com/archives/C02KVDZ8YHZ/p1667315647758829
* PLP internationalisation shared between search and category listing
*/
export const embedded_num_products: ({ make_product_count_, set_observed_results_filters_elements_, is_slim_, sort_and_filter_element_, extra_sort_and_filter_args_, }: {
make_product_count_: () => JSX.Element;
set_observed_results_filters_elements_: Setter<JSX.Element>;
sort_and_filter_element_: Accessor<HTMLDivElement | undefined>;
is_slim_: Accessor<boolean>;
extra_sort_and_filter_args_: {
get_extra_sorting_button_?: ((extra_button: JSX.Element) => unknown) | undefined;
get_extra_filters_button_?: ((extra_button: JSX.Element) => unknown) | undefined;
sort_button_width_?: Accessor<number | undefined> | undefined;
filter_button_width_?: Accessor<number | undefined> | undefined;
type plp_shared_i18n = {
scroll_to_top_: string;
back_: string;
open_sorting_: string;
close_sorting_: string;
open_filters_: string;
close_filters_: string;
close_: string;
ok_: string;
filters_cleared_: string;
we_cleared_your_filters_: string;
restore_: string;
sorting_text_: string;
filter_text_: string;
selected_filters_title_: string;
filters_: string;
view_less_: string;
view_more_: string;
clear_all_from_filter_crumbs_: string;
clear_individual_filter_: string;
of_: string;
clear_all_filters_from_big_button_: string;
try_without_filters_: string;
range_filter_low_point_aria_label_: string;
range_filter_high_point_aria_label_: string;
morphing_sign_expanded_aria_label_: string;
morphing_sign_collapsed_aria_label_: string;
price_formatting_: {
pre_: string;
post_: string;
decimal_places_delimiter_: string;
thousands_delimiter_: string;
places_after_comma_: number | "auto";
};
}) => {
only_show_filters_opener_: Accessor<boolean>;
middle_elements_: Accessor<JSX.Element>;
on_filters_constructed_: () => void;
};
export const version = "0.0.22";
/**
* Search internationalisation
*/
interface search_i18n extends plp_shared_i18n {
placeholder_text_: string;
show_n_results_: (number_of_results: HTMLElement) => Elem[];
no_results_text_: string;
search_recs_title_: string;
clear_filters_query_sorting_after_submit_: string;
modal_view_all_results_: (number_of_results: HTMLElement) => Elem[];
modal_discover_more_: string;
get_showing_results_for_: (query: HTMLElement, number_of_results: HTMLElement) => Elem[];
previous_searches_text_: string;
category_: string;
suggestions_: string;
search_submit_button_aria_label_: string;
query_input_field_aria_label_: string;
previous_searches_delete_entry_from_history_: string;
}
/**
* Category internationalisation
*/
interface category_i18n extends plp_shared_i18n {
show_n_products_: (number_of_results: HTMLElement) => Elem[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
breadcrumbs_separator_: string;
}
/**
* Depict UI internationalisation
*/
export interface Locale extends category_i18n, search_i18n {
}
export function add_to_version_info(stuff_to_add: {

@@ -60,2 +109,22 @@ [key: string]: string;

}
/**
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
*/
export function media_query_to_accessor(media_query: string): import("solid-js").Accessor<boolean>;
export type WithRequired<T, K extends keyof T> = T & {
[P in K]-?: T[P];
};
/**
* Like standard_price_format except that the price and the formatting are reactive accessors
*/
export function solid_format_price({ price_, price_formatting_, }: {
price_: Accessor<number>;
price_formatting_: Accessor<{
pre_: string;
post_: string;
decimal_places_delimiter_: string;
thousands_delimiter_: string;
places_after_comma_: number | "auto";
}>;
}): Accessor<string>;
export function show_toast({ children, on_close_, close_after_, ...more_attributes }: {

@@ -69,6 +138,2 @@ children?: JSX.Element;

/**
* Calls history.pushState wiht the current url BUT the query parameter with name url_param_name has been set to value (or deleted if no value is provided) and url_transformer has been executed on the URL object that we're pushing
*/
export function push_state_with_query_param_value(url_param_name: string, value?: string, url_transformer?: (url_object: URL) => unknown): void;
/**
* Disables scrolling until the solidjs reactive scoped is disposed (onCleanup)

@@ -78,10 +143,76 @@ * @returns A cleanup function to manually re-enable scrolling.

export function disable_scrolling(): () => void;
export const CategoryTitle: ({ category_title_, product_count_, }: {
category_title_: Accessor<string | undefined>;
product_count_: JSX.Element;
}) => HTMLElement;
/**
* Embeds number of products between sort and filter buttons on mobile if possible, only supported for category pages right now. Pass it as category_title_ to Category.
* Note: this will add an invisible element as first element in depict-search-page which will confuse the flex-gap SCSS mixin a bit so you'll get some extra spacing at the beginning of the search page
* If you see “ResizeObserver loop limit exceeded”, this is probably doing it. More context here: https://depictaiworkspace.slack.com/archives/C02KVDZ8YHZ/p1667315647758829
*/
export const embedded_num_products: ({ make_product_count_, set_observed_results_filters_elements_, is_slim_, sort_and_filter_element_, extra_sort_and_filter_args_, }: {
make_product_count_: () => JSX.Element;
set_observed_results_filters_elements_: Setter<JSX.Element>;
sort_and_filter_element_: Accessor<HTMLDivElement | undefined>;
is_slim_: Accessor<boolean>;
extra_sort_and_filter_args_: {
get_extra_sorting_button_?: ((extra_button: JSX.Element) => unknown) | undefined;
get_extra_filters_button_?: ((extra_button: JSX.Element) => unknown) | undefined;
sort_button_width_?: Accessor<number | undefined> | undefined;
filter_button_width_?: Accessor<number | undefined> | undefined;
};
}) => {
only_show_filters_opener_: Accessor<boolean>;
middle_elements_: Accessor<JSX.Element>;
on_filters_constructed_: () => void;
};
type SDKGridSpacing = string | {
horizontal: string;
vertical: string;
};
type SDKColsAtSize = [number, number?][];
type DepictCategoryConstructorOptions = {
market: string;
merchant: string;
localization: category_i18n;
on_navigation?: (href: string, ev: MouseEvent, display: BaseCategoryDisplay) => unknown;
api?: DepictAPI;
};
export class DepictCategory {
#private;
get localization(): category_i18n;
set localization(locale_obj: category_i18n);
get category_id(): string;
set category_id(id: string);
get merchant(): string;
set merchant(merchant: string);
get market(): string;
set market(market: string);
constructor({ api, on_navigation, ...props_on_class }: DepictCategoryConstructorOptions);
}
export function CategoryPage({ depict_category, grid_spacing, cols_at_size, product_card_template, get_product_id, show_breadcrumbs, show_quicklinks, category_title, }: {
depict_category: DepictCategory;
grid_spacing: SDKGridSpacing;
cols_at_size: SDKColsAtSize;
product_card_template: (display: Display, info: InfoForProcessing) => Promise<Node_Array> | Node_Array;
get_product_id: (url?: string) => string | Promise<string>;
show_quicklinks?: boolean;
show_breadcrumbs?: boolean;
category_title: typeof CategoryTitle | typeof embedded_num_products;
}): Node_Array;
export function BreadCrumbs({ depict_category }: {
depict_category: DepictCategory;
}): HTMLElement;
export function QuickLinks({ depict_category }: {
depict_category: DepictCategory;
}): HTMLElement;
export function get_categories(tenant: string, market: string): Promise<string[]>;
type InstantCard = (display: unknown, context: {
index: number;
i18n: search_i18n;
merchant: string;
market: string;
}) => JSX.Element;
export function DefaultInstantCardPlaceholder(): HTMLDivElement;
/**
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
*/
export function media_query_to_accessor(media_query: string): import("solid-js").Accessor<boolean>;
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
/**
* Useful for aligning the search modal to an element, like an existing input field

@@ -96,1136 +227,6 @@ * @param modal_body_style a signal containing the style properties that will be applied to the modal body. You provide it to open_modal_ as `style_props_` when using SearchModal

export function align_field(modal_body_style: Signal<_JSX1.CSSProperties>, input_field: HTMLElement, width_transformer?: (arg0: number) => number, includeScroll?: boolean, one_axies_only?: "top" | "left"): () => void;
export interface PageReplacer {
readonly render_: (is_prerendering: boolean) => Node_Array;
readonly is_page_: (url: URL) => boolean;
readonly title_?: string;
readonly selector_: string;
readonly append_instead_of_replace_?: boolean;
}
export class PageReplacer extends EventTarget {
#private;
get open_(): boolean;
destroy_(): void;
constructor(options: Omit<PageReplacer, "destroy_" | "addEventListener" | "removeEventListener" | "dispatchEvent" | "open_">);
}
/**
* makes so that links to the previous page close the search instead of closing the search and reloading the page (to be used with non-spas)
* Calls history.pushState wiht the current url BUT the query parameter with name url_param_name has been set to value (or deleted if no value is provided) and url_transformer has been executed on the URL object that we're pushing
*/
export function setup_fast_leave(pr: PageReplacer): void;
export const english_category_translation: {
readonly show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly no_products_text_: "No products here, sorry";
readonly product_: "product";
readonly products_: "products";
readonly breadcrumbs_aria_label_: "Breadcrumbs";
readonly quicklinks_aria_label_: "Categories";
readonly breadcrumbs_separator_: "/";
readonly of_: "of";
readonly sorting_text_: "Sort";
readonly filter_text_: "Filter";
readonly filters_: "Filters";
readonly clear_all_from_filter_crumbs_: "Clear all";
readonly clear_all_filters_from_big_button_: "Clear all filters";
readonly view_more_: "View more";
readonly view_less_: "View less";
readonly selected_filters_title_: "Filters";
readonly try_without_filters_: "Try again without filters";
readonly clear_individual_filter_: "Clear";
readonly range_filter_low_point_aria_label_: "Range filter lower value";
readonly range_filter_high_point_aria_label_: "Range filter higher value";
readonly morphing_sign_expanded_aria_label_: "Collapse section";
readonly morphing_sign_collapsed_aria_label_: "Expand section";
readonly close_: "Close";
readonly ok_: "OK";
readonly filters_cleared_: "Filters cleared";
readonly we_cleared_your_filters_: "We cleared your filters";
readonly restore_: "Restore";
readonly open_sorting_: "Open sorting";
readonly close_sorting_: "Close sorting";
readonly open_filters_: "Open filters";
readonly close_filters_: "Close filters";
readonly back_: "Back";
readonly scroll_to_top_: "Scroll to top";
};
export const english_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Other alternatives";
readonly category_: "Category";
readonly modal_discover_more_: "Discover more";
readonly previous_searches_text_: "Your previous searches";
readonly suggestions_: "Suggestions";
readonly no_results_text_: "No results";
readonly clear_filters_query_sorting_after_submit_: "Clear query. Also clear sorting and filters after next submit.";
readonly placeholder_text_: "Search";
readonly search_submit_button_aria_label_: "Search";
readonly query_input_field_aria_label_: "Search query field";
readonly previous_searches_delete_entry_from_history_: "Remove query from history";
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly of_: "of";
readonly sorting_text_: "Sort";
readonly filter_text_: "Filter";
readonly filters_: "Filters";
readonly clear_all_from_filter_crumbs_: "Clear all";
readonly clear_all_filters_from_big_button_: "Clear all filters";
readonly view_more_: "View more";
readonly view_less_: "View less";
readonly selected_filters_title_: "Filters";
readonly try_without_filters_: "Try again without filters";
readonly clear_individual_filter_: "Clear";
readonly range_filter_low_point_aria_label_: "Range filter lower value";
readonly range_filter_high_point_aria_label_: "Range filter higher value";
readonly morphing_sign_expanded_aria_label_: "Collapse section";
readonly morphing_sign_collapsed_aria_label_: "Expand section";
readonly close_: "Close";
readonly ok_: "OK";
readonly filters_cleared_: "Filters cleared";
readonly we_cleared_your_filters_: "We cleared your filters";
readonly restore_: "Restore";
readonly open_sorting_: "Open sorting";
readonly close_sorting_: "Close sorting";
readonly open_filters_: "Open filters";
readonly close_filters_: "Close filters";
readonly back_: "Back";
readonly scroll_to_top_: "Scroll to top";
};
export const czech_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "z";
sorting_text_: "Třídit";
filter_text_: "Filtr";
filters_: "Filtry";
clear_all_from_filter_crumbs_: "Vymazat vše";
clear_all_filters_from_big_button_: "Vymazat všechny filtry";
view_more_: "Zobrazit více";
view_less_: "Zobrazit méně";
selected_filters_title_: "Filtry";
try_without_filters_: "Zkusit znovu bez filtrů";
clear_individual_filter_: "Vymazat";
range_filter_low_point_aria_label_: "Dolní hodnota rozsahu filtru";
range_filter_high_point_aria_label_: "Horní hodnota rozsahu viltru";
morphing_sign_expanded_aria_label_: "Sbalit oddíl";
morphing_sign_collapsed_aria_label_: "Rozbalit oddíl";
close_: "Zavřít";
ok_: "OK";
filters_cleared_: "Filtry vyčištěny";
we_cleared_your_filters_: "Vyčistili jsme vaše filtry";
restore_: "Obnovit";
open_sorting_: "Otevřít řazení";
close_sorting_: "Zavřít řazení";
open_filters_: "Otevřít filtry";
close_filters_: "Zavřít filtry";
back_: "Zpět";
scroll_to_top_: "Přejít nahoru";
breadcrumbs_separator_: "/";
};
export const czech_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Další možnosti";
readonly category_: "Kategorie";
readonly modal_discover_more_: "Objevte více";
readonly previous_searches_text_: "Vaše předchozí hledání";
readonly suggestions_: "Návrhy";
readonly no_results_text_: "Žádné výsledky";
readonly clear_filters_query_sorting_after_submit_: "Vymazat dotaz. Vymazat i třídění a filtry po příštím odeslání.";
readonly placeholder_text_: "Hledání";
readonly search_submit_button_aria_label_: "Hledání";
readonly query_input_field_aria_label_: "Políčko dotazu hledání";
readonly previous_searches_delete_entry_from_history_: "Odebrat dotaz z historie";
readonly of_: "z";
readonly sorting_text_: "Třídit";
readonly filter_text_: "Filtr";
readonly filters_: "Filtry";
readonly clear_all_from_filter_crumbs_: "Vymazat vše";
readonly clear_all_filters_from_big_button_: "Vymazat všechny filtry";
readonly view_more_: "Zobrazit více";
readonly view_less_: "Zobrazit méně";
readonly selected_filters_title_: "Filtry";
readonly try_without_filters_: "Zkusit znovu bez filtrů";
readonly clear_individual_filter_: "Vymazat";
readonly range_filter_low_point_aria_label_: "Dolní hodnota rozsahu filtru";
readonly range_filter_high_point_aria_label_: "Horní hodnota rozsahu viltru";
readonly morphing_sign_expanded_aria_label_: "Sbalit oddíl";
readonly morphing_sign_collapsed_aria_label_: "Rozbalit oddíl";
readonly close_: "Zavřít";
readonly ok_: "OK";
readonly filters_cleared_: "Filtry vyčištěny";
readonly we_cleared_your_filters_: "Vyčistili jsme vaše filtry";
readonly restore_: "Obnovit";
readonly open_sorting_: "Otevřít řazení";
readonly close_sorting_: "Zavřít řazení";
readonly open_filters_: "Otevřít filtry";
readonly close_filters_: "Zavřít filtry";
readonly back_: "Zpět";
readonly scroll_to_top_: "Přejít nahoru";
};
export const danish_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "af";
sorting_text_: "Sorter";
filter_text_: "Filter";
filters_: "Filtre";
clear_all_from_filter_crumbs_: "Ryd alt";
clear_all_filters_from_big_button_: "Ryd alle filtre";
view_more_: "Vis mere";
view_less_: "Vis mindre";
selected_filters_title_: "Filtre";
try_without_filters_: "Prøv igen uden filtre";
clear_individual_filter_: "Ryd";
range_filter_low_point_aria_label_: "Områdefiltrets lavere værdi";
range_filter_high_point_aria_label_: "Områdefiltrets højere værdi";
morphing_sign_expanded_aria_label_: "Skjul afsnit";
morphing_sign_collapsed_aria_label_: "Udvid afsnit";
close_: "Luk";
ok_: "OK";
filters_cleared_: "Filtre ryddet";
we_cleared_your_filters_: "Vi har ryddet dine filtre";
restore_: "Gendan";
open_sorting_: "Åben sortering";
close_sorting_: "Luk sortering";
open_filters_: "Åbn filtre";
close_filters_: "Luk filtre";
back_: "Tilbage";
scroll_to_top_: "Rul til top";
breadcrumbs_separator_: "/";
};
export const danish_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly clear_filters_query_sorting_after_submit_: "Ryd søgning. Ryd også sortering og filtre før næste forsøg.";
readonly no_results_text_: "Ingen resultater";
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Andre alternativer";
readonly category_: "Kategori";
readonly suggestions_: "Forslag";
readonly modal_discover_more_: "Opdag mere";
readonly previous_searches_text_: "Dine tidligere søgninger";
readonly placeholder_text_: "Søgning";
readonly search_submit_button_aria_label_: "Søgning";
readonly query_input_field_aria_label_: "Felt til søgning";
readonly previous_searches_delete_entry_from_history_: "Fjern forespørgsel fra historik";
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly of_: "af";
readonly sorting_text_: "Sorter";
readonly filter_text_: "Filter";
readonly filters_: "Filtre";
readonly clear_all_from_filter_crumbs_: "Ryd alt";
readonly clear_all_filters_from_big_button_: "Ryd alle filtre";
readonly view_more_: "Vis mere";
readonly view_less_: "Vis mindre";
readonly selected_filters_title_: "Filtre";
readonly try_without_filters_: "Prøv igen uden filtre";
readonly clear_individual_filter_: "Ryd";
readonly range_filter_low_point_aria_label_: "Områdefiltrets lavere værdi";
readonly range_filter_high_point_aria_label_: "Områdefiltrets højere værdi";
readonly morphing_sign_expanded_aria_label_: "Skjul afsnit";
readonly morphing_sign_collapsed_aria_label_: "Udvid afsnit";
readonly close_: "Luk";
readonly ok_: "OK";
readonly filters_cleared_: "Filtre ryddet";
readonly we_cleared_your_filters_: "Vi har ryddet dine filtre";
readonly restore_: "Gendan";
readonly open_sorting_: "Åben sortering";
readonly close_sorting_: "Luk sortering";
readonly open_filters_: "Åbn filtre";
readonly close_filters_: "Luk filtre";
readonly back_: "Tilbage";
readonly scroll_to_top_: "Rul til top";
};
export const dutch_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "van";
sorting_text_: "Sorteren";
filter_text_: "Filter";
filters_: "Filters";
clear_all_from_filter_crumbs_: "Alles wissen";
clear_all_filters_from_big_button_: "Alle filters wissen";
view_more_: "Toon meer";
view_less_: "Toon minder";
selected_filters_title_: "Filters";
try_without_filters_: "Nieuwe poging zonder filters";
clear_individual_filter_: "Wissen";
range_filter_low_point_aria_label_: "Bereikfilter lagere waarde";
range_filter_high_point_aria_label_: "Bereikfilter hogere waarde";
morphing_sign_expanded_aria_label_: "Sectie samenvouwen";
morphing_sign_collapsed_aria_label_: "Sectie openvouwen";
close_: "Sluiten";
ok_: "OK";
filters_cleared_: "Filters zijn gewist";
we_cleared_your_filters_: "We hebben u filters gewist";
restore_: "Herstellen";
open_sorting_: "Sorteren openen";
close_sorting_: "Sorteren sluiten";
open_filters_: "Filters openen";
close_filters_: "Filters sluiten";
back_: "Terug";
scroll_to_top_: "Naar boven scrollen";
breadcrumbs_separator_: "/";
};
export const dutch_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Andere opties";
readonly category_: "Categorie";
readonly modal_discover_more_: "Ontdek meer";
readonly previous_searches_text_: "vorige zoekopdrachten";
readonly suggestions_: "Suggesties";
readonly no_results_text_: "Geen resultaten";
readonly clear_filters_query_sorting_after_submit_: "Zoekopdracht wissen. Wis ook sortering en filters na volgende verzending.";
readonly placeholder_text_: "Zoeken";
readonly search_submit_button_aria_label_: "Zoeken";
readonly query_input_field_aria_label_: "Zoeken met zoekveld";
readonly previous_searches_delete_entry_from_history_: "Verwijder zoekopdracht uit geschiedenis";
readonly of_: "van";
readonly sorting_text_: "Sorteren";
readonly filter_text_: "Filter";
readonly filters_: "Filters";
readonly clear_all_from_filter_crumbs_: "Alles wissen";
readonly clear_all_filters_from_big_button_: "Alle filters wissen";
readonly view_more_: "Toon meer";
readonly view_less_: "Toon minder";
readonly selected_filters_title_: "Filters";
readonly try_without_filters_: "Nieuwe poging zonder filters";
readonly clear_individual_filter_: "Wissen";
readonly range_filter_low_point_aria_label_: "Bereikfilter lagere waarde";
readonly range_filter_high_point_aria_label_: "Bereikfilter hogere waarde";
readonly morphing_sign_expanded_aria_label_: "Sectie samenvouwen";
readonly morphing_sign_collapsed_aria_label_: "Sectie openvouwen";
readonly close_: "Sluiten";
readonly ok_: "OK";
readonly filters_cleared_: "Filters zijn gewist";
readonly we_cleared_your_filters_: "We hebben u filters gewist";
readonly restore_: "Herstellen";
readonly open_sorting_: "Sorteren openen";
readonly close_sorting_: "Sorteren sluiten";
readonly open_filters_: "Filters openen";
readonly close_filters_: "Filters sluiten";
readonly back_: "Terug";
readonly scroll_to_top_: "Naar boven scrollen";
};
export const finnish_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "/";
sorting_text_: "Lajittele";
filter_text_: "Suodata";
filters_: "Suodattimet";
clear_all_from_filter_crumbs_: "Tyhjennä";
clear_all_filters_from_big_button_: "Poista valinnat";
view_more_: "Näytä Lisää";
view_less_: "Näytä Vähemmän";
selected_filters_title_: "Suodattimet";
try_without_filters_: "Hae uudestaan ilman suodattimia";
clear_individual_filter_: "Poista valinnat";
range_filter_low_point_aria_label_: "Hintasuodattimen alempi arvo";
range_filter_high_point_aria_label_: "Hintasuodattimen ylempi arvo";
morphing_sign_expanded_aria_label_: "Pienennä osio";
morphing_sign_collapsed_aria_label_: "Laajenna osio";
close_: "Sulje";
ok_: "OK";
filters_cleared_: "Suodattimet tyhjennetty";
we_cleared_your_filters_: "Tyhjensimme suodattimesi";
restore_: "Palauta";
open_sorting_: "Avaa lajittelu";
close_sorting_: "Sulje lajittelu";
open_filters_: "Avaa suodattimet";
close_filters_: "Sulje suodattimet";
back_: "Takaisin";
scroll_to_top_: "Vieritä ylös";
breadcrumbs_separator_: "/";
};
export const finnish_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly previous_searches_text_: "Aikaisemmat hakusi";
readonly suggestions_: "Ehdotukset";
readonly no_results_text_: "Ei tuloksia";
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly clear_filters_query_sorting_after_submit_: "Tyhjennä valinnat uuden haun alkaessa";
readonly category_: "Kategoria";
readonly modal_discover_more_: "Katso lisää";
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Muita vaihtoehtoja";
readonly placeholder_text_: "Hae";
readonly search_submit_button_aria_label_: "Hae";
readonly query_input_field_aria_label_: "Hakukenttä";
readonly previous_searches_delete_entry_from_history_: "Poista haku historiasta";
readonly of_: "/";
readonly sorting_text_: "Lajittele";
readonly filter_text_: "Suodata";
readonly filters_: "Suodattimet";
readonly clear_all_from_filter_crumbs_: "Tyhjennä";
readonly clear_all_filters_from_big_button_: "Poista valinnat";
readonly view_more_: "Näytä Lisää";
readonly view_less_: "Näytä Vähemmän";
readonly selected_filters_title_: "Suodattimet";
readonly try_without_filters_: "Hae uudestaan ilman suodattimia";
readonly clear_individual_filter_: "Poista valinnat";
readonly range_filter_low_point_aria_label_: "Hintasuodattimen alempi arvo";
readonly range_filter_high_point_aria_label_: "Hintasuodattimen ylempi arvo";
readonly morphing_sign_expanded_aria_label_: "Pienennä osio";
readonly morphing_sign_collapsed_aria_label_: "Laajenna osio";
readonly close_: "Sulje";
readonly ok_: "OK";
readonly filters_cleared_: "Suodattimet tyhjennetty";
readonly we_cleared_your_filters_: "Tyhjensimme suodattimesi";
readonly restore_: "Palauta";
readonly open_sorting_: "Avaa lajittelu";
readonly close_sorting_: "Sulje lajittelu";
readonly open_filters_: "Avaa suodattimet";
readonly close_filters_: "Sulje suodattimet";
readonly back_: "Takaisin";
readonly scroll_to_top_: "Vieritä ylös";
};
export const french_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "de";
sorting_text_: "Trier";
filter_text_: "Filtre";
filters_: "Filtres";
clear_all_from_filter_crumbs_: "Effacer tout";
clear_all_filters_from_big_button_: "Effacer tous les filtres";
view_more_: "Afficher plus";
view_less_: "Afficher moins";
selected_filters_title_: "Filtres";
try_without_filters_: "Réessayer sans les filtres";
clear_individual_filter_: "Effacer";
range_filter_low_point_aria_label_: "Valeur inférieure du filtre de la gamme";
range_filter_high_point_aria_label_: "Valeur supérieure du filtre de la gamme";
morphing_sign_expanded_aria_label_: "Réduire la section";
morphing_sign_collapsed_aria_label_: "Agrandir la section";
close_: "Fermer";
ok_: "OK";
filters_cleared_: "Filtres effacés";
we_cleared_your_filters_: "Nous avons effacé vos filtres";
restore_: "Restaurer";
open_sorting_: "Ouvrir le tri";
close_sorting_: "Fermer le tri";
open_filters_: "Ouvrir les filtres";
close_filters_: "Fermer les filtres";
back_: "Retour";
scroll_to_top_: "Faire défiler vers le haut";
breadcrumbs_separator_: "/";
};
export const french_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Autres alternatives";
readonly category_: "Catégorie";
readonly modal_discover_more_: "Découvrir plus";
readonly previous_searches_text_: "Vos recherches précédentes";
readonly suggestions_: "Suggestions";
readonly no_results_text_: "Aucun résultat";
readonly clear_filters_query_sorting_after_submit_: "Effacer la demande. Effacer aussi le tri et les filtres après le prochain envoi.";
readonly placeholder_text_: "Rechercher";
readonly search_submit_button_aria_label_: "Rechercher";
readonly query_input_field_aria_label_: "Champ de requête Rechercher";
readonly previous_searches_delete_entry_from_history_: "Supprimer une requête de l’historique";
readonly of_: "de";
readonly sorting_text_: "Trier";
readonly filter_text_: "Filtre";
readonly filters_: "Filtres";
readonly clear_all_from_filter_crumbs_: "Effacer tout";
readonly clear_all_filters_from_big_button_: "Effacer tous les filtres";
readonly view_more_: "Afficher plus";
readonly view_less_: "Afficher moins";
readonly selected_filters_title_: "Filtres";
readonly try_without_filters_: "Réessayer sans les filtres";
readonly clear_individual_filter_: "Effacer";
readonly range_filter_low_point_aria_label_: "Valeur inférieure du filtre de la gamme";
readonly range_filter_high_point_aria_label_: "Valeur supérieure du filtre de la gamme";
readonly morphing_sign_expanded_aria_label_: "Réduire la section";
readonly morphing_sign_collapsed_aria_label_: "Agrandir la section";
readonly close_: "Fermer";
readonly ok_: "OK";
readonly filters_cleared_: "Filtres effacés";
readonly we_cleared_your_filters_: "Nous avons effacé vos filtres";
readonly restore_: "Restaurer";
readonly open_sorting_: "Ouvrir le tri";
readonly close_sorting_: "Fermer le tri";
readonly open_filters_: "Ouvrir les filtres";
readonly close_filters_: "Fermer les filtres";
readonly back_: "Retour";
readonly scroll_to_top_: "Faire défiler vers le haut";
};
export const german_category_translation: {
readonly show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly no_products_text_: "Keine Produkte hier, tut uns leid";
readonly product_: "Produkt";
readonly products_: "Produkte";
readonly breadcrumbs_aria_label_: "Brotkrumennavigation";
readonly quicklinks_aria_label_: "Kategorien";
readonly of_: "von";
readonly sorting_text_: "Sortieren";
readonly filter_text_: "Filtern";
readonly filters_: "Filtern";
readonly clear_all_from_filter_crumbs_: "Alle löschen";
readonly clear_all_filters_from_big_button_: "Alle Filter löschen";
readonly view_more_: "Mehr anzeigen";
readonly view_less_: "Weniger anzeigen";
readonly selected_filters_title_: "Filter";
readonly try_without_filters_: "Versuche erneut ohne Filter";
readonly clear_individual_filter_: "Löschen";
readonly range_filter_low_point_aria_label_: "Filterbereich niedrigster Wert";
readonly range_filter_high_point_aria_label_: "Filterbereich höchster Wert";
readonly morphing_sign_expanded_aria_label_: "Abschnitt einklappen";
readonly morphing_sign_collapsed_aria_label_: "Abschnitt ausklappen";
readonly close_: "Schließen";
readonly ok_: "OK";
readonly filters_cleared_: "Filter gelöscht";
readonly we_cleared_your_filters_: "Wir haben die Filter gelöscht";
readonly restore_: "Wiederherstellen";
readonly open_sorting_: "Sortierung öffnen";
readonly close_sorting_: "Sortierung schließen";
readonly open_filters_: "Filter öffnen";
readonly close_filters_: "Filter schließen";
readonly back_: "Zurück";
readonly scroll_to_top_: "Zum Anfang scrollen";
readonly breadcrumbs_separator_: "/";
};
export const german_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Du magst vielleicht auch";
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly no_results_text_: "Keine Ergebnisse";
readonly previous_searches_text_: "Vorherige Suchanfragen";
readonly suggestions_: "Vorschläge";
readonly category_: "Kategori";
readonly clear_filters_query_sorting_after_submit_: "Suchanfrage löschen. Sortierung und Filter nach dem nächsten Senden ebenfalls löschen.";
readonly modal_discover_more_: "Mehr erforschen";
readonly search_submit_button_aria_label_: "Suchen";
readonly previous_searches_delete_entry_from_history_: "Anfrage aus Verlauf löschen";
readonly query_input_field_aria_label_: "Suchanfragenfeld";
readonly placeholder_text_: "Suchen";
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly of_: "von";
readonly sorting_text_: "Sortieren";
readonly filter_text_: "Filtern";
readonly filters_: "Filtern";
readonly clear_all_from_filter_crumbs_: "Alle löschen";
readonly clear_all_filters_from_big_button_: "Alle Filter löschen";
readonly view_more_: "Mehr anzeigen";
readonly view_less_: "Weniger anzeigen";
readonly selected_filters_title_: "Filter";
readonly try_without_filters_: "Versuche erneut ohne Filter";
readonly clear_individual_filter_: "Löschen";
readonly range_filter_low_point_aria_label_: "Filterbereich niedrigster Wert";
readonly range_filter_high_point_aria_label_: "Filterbereich höchster Wert";
readonly morphing_sign_expanded_aria_label_: "Abschnitt einklappen";
readonly morphing_sign_collapsed_aria_label_: "Abschnitt ausklappen";
readonly close_: "Schließen";
readonly ok_: "OK";
readonly filters_cleared_: "Filter gelöscht";
readonly we_cleared_your_filters_: "Wir haben die Filter gelöscht";
readonly restore_: "Wiederherstellen";
readonly open_sorting_: "Sortierung öffnen";
readonly close_sorting_: "Sortierung schließen";
readonly open_filters_: "Filter öffnen";
readonly close_filters_: "Filter schließen";
readonly back_: "Zurück";
readonly scroll_to_top_: "Zum Anfang scrollen";
};
export const italian_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "di";
sorting_text_: "Ordina";
filter_text_: "Filtro";
filters_: "Filtri";
clear_all_from_filter_crumbs_: "Elimina tutto";
clear_all_filters_from_big_button_: "Elimina tutti i filtri";
view_more_: "Mostra di più";
view_less_: "Mostra di meno";
selected_filters_title_: "Filtri";
try_without_filters_: "Riprova senza filtri";
clear_individual_filter_: "Elimina";
range_filter_low_point_aria_label_: "Valore inferiore del filtro di intervallo";
range_filter_high_point_aria_label_: "Valore superiore del filtro di intervallo";
morphing_sign_expanded_aria_label_: "Comprimi sezione";
morphing_sign_collapsed_aria_label_: "Espandi sezione";
close_: "Chiudi";
ok_: "OK";
filters_cleared_: "Filtri cancellati";
we_cleared_your_filters_: "Abbiamo cancellato i tuoi filtri";
restore_: "Ripristina";
open_sorting_: "Apri selezione";
close_sorting_: "Chiudi selezione";
open_filters_: "Apri filtri";
close_filters_: "Chiudi filtri";
back_: "Indietro";
scroll_to_top_: "Scorri verso l'alto";
breadcrumbs_separator_: "/";
};
export const italian_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Altre alternative";
readonly category_: "Categoria";
readonly modal_discover_more_: "Scopri di più";
readonly previous_searches_text_: "Le tue ricerche precedenti";
readonly suggestions_: "Suggerimenti";
readonly no_results_text_: "Nessun risultato";
readonly clear_filters_query_sorting_after_submit_: "Cancella query. Cancella anche selezione e filtri dopo il prossimo invio.";
readonly placeholder_text_: "Ricerca";
readonly search_submit_button_aria_label_: "Ricerca";
readonly query_input_field_aria_label_: "Cerca campo query";
readonly previous_searches_delete_entry_from_history_: "Rimuovi query dalla cronologia";
readonly of_: "di";
readonly sorting_text_: "Ordina";
readonly filter_text_: "Filtro";
readonly filters_: "Filtri";
readonly clear_all_from_filter_crumbs_: "Elimina tutto";
readonly clear_all_filters_from_big_button_: "Elimina tutti i filtri";
readonly view_more_: "Mostra di più";
readonly view_less_: "Mostra di meno";
readonly selected_filters_title_: "Filtri";
readonly try_without_filters_: "Riprova senza filtri";
readonly clear_individual_filter_: "Elimina";
readonly range_filter_low_point_aria_label_: "Valore inferiore del filtro di intervallo";
readonly range_filter_high_point_aria_label_: "Valore superiore del filtro di intervallo";
readonly morphing_sign_expanded_aria_label_: "Comprimi sezione";
readonly morphing_sign_collapsed_aria_label_: "Espandi sezione";
readonly close_: "Chiudi";
readonly ok_: "OK";
readonly filters_cleared_: "Filtri cancellati";
readonly we_cleared_your_filters_: "Abbiamo cancellato i tuoi filtri";
readonly restore_: "Ripristina";
readonly open_sorting_: "Apri selezione";
readonly close_sorting_: "Chiudi selezione";
readonly open_filters_: "Apri filtri";
readonly close_filters_: "Chiudi filtri";
readonly back_: "Indietro";
readonly scroll_to_top_: "Scorri verso l'alto";
};
export const norwegian_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "af";
sorting_text_: "Sorter";
filter_text_: "Filter";
filters_: "Filtre";
clear_all_from_filter_crumbs_: "Fjern alt";
clear_all_filters_from_big_button_: "Fjern alle filtre";
view_more_: "Vis mer";
view_less_: "Vis mindre";
selected_filters_title_: "Filtere";
try_without_filters_: "Prøv igjen uten filtre";
clear_individual_filter_: "Fjern";
range_filter_low_point_aria_label_: "Nedre verdi for områdefilter";
range_filter_high_point_aria_label_: "Øvre verdi for områdefilter";
morphing_sign_expanded_aria_label_: "Skjul del";
morphing_sign_collapsed_aria_label_: "Utvid del";
close_: "Lukk";
ok_: "OK";
filters_cleared_: "Filtrene er tømt";
we_cleared_your_filters_: "Vi har tømt filtrene";
restore_: "Gjenopprett";
open_sorting_: "Åpne sortering";
close_sorting_: "Lukk sortering";
open_filters_: "Åpne filtre";
close_filters_: "Lukk filtre";
back_: "Tilbake";
scroll_to_top_: "Rull til toppen";
breadcrumbs_separator_: "/";
};
export const norwegian_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly clear_filters_query_sorting_after_submit_: "Tøm søkefeltet. Tøm også sortering og filtrene etter neste innsending.";
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Andre alternativer";
readonly modal_discover_more_: "Oppdag mer";
readonly category_: "Kategori";
readonly suggestions_: "Forslag";
readonly previous_searches_text_: "Tidligere søk";
readonly no_results_text_: "Ingen resultater";
readonly placeholder_text_: "Søk";
readonly search_submit_button_aria_label_: "Søk";
readonly previous_searches_delete_entry_from_history_: "Slett spørsmål fra loggen";
readonly query_input_field_aria_label_: "Søk spørsmålfelt";
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly of_: "af";
readonly sorting_text_: "Sorter";
readonly filter_text_: "Filter";
readonly filters_: "Filtre";
readonly clear_all_from_filter_crumbs_: "Fjern alt";
readonly clear_all_filters_from_big_button_: "Fjern alle filtre";
readonly view_more_: "Vis mer";
readonly view_less_: "Vis mindre";
readonly selected_filters_title_: "Filtere";
readonly try_without_filters_: "Prøv igjen uten filtre";
readonly clear_individual_filter_: "Fjern";
readonly range_filter_low_point_aria_label_: "Nedre verdi for områdefilter";
readonly range_filter_high_point_aria_label_: "Øvre verdi for områdefilter";
readonly morphing_sign_expanded_aria_label_: "Skjul del";
readonly morphing_sign_collapsed_aria_label_: "Utvid del";
readonly close_: "Lukk";
readonly ok_: "OK";
readonly filters_cleared_: "Filtrene er tømt";
readonly we_cleared_your_filters_: "Vi har tømt filtrene";
readonly restore_: "Gjenopprett";
readonly open_sorting_: "Åpne sortering";
readonly close_sorting_: "Lukk sortering";
readonly open_filters_: "Åpne filtre";
readonly close_filters_: "Lukk filtre";
readonly back_: "Tilbake";
readonly scroll_to_top_: "Rull til toppen";
};
export const polish_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "z";
sorting_text_: "Sortuj";
filter_text_: "Filtruj";
filters_: "Filtry";
clear_all_from_filter_crumbs_: "Wyczyść wszystkie";
clear_all_filters_from_big_button_: "Wyczyść wszystkie filtry";
view_more_: "Zobacz więcej";
view_less_: "Zobacz mniej";
selected_filters_title_: "Filtry";
try_without_filters_: "Spróbuj ponownie bez filtrów";
clear_individual_filter_: "Wyczyść";
range_filter_low_point_aria_label_: "Dolna wartość filtra zakresu";
range_filter_high_point_aria_label_: "Górna wartość filtra zakresu";
morphing_sign_expanded_aria_label_: "Zwiń sekcję";
morphing_sign_collapsed_aria_label_: "Rozwiń sekcję";
close_: "Zamknij";
ok_: "OK";
filters_cleared_: "Filtry wyczyszczone";
we_cleared_your_filters_: "Wyczyściliśmy twoje filtry";
restore_: "Przywróć";
open_sorting_: "Otwórz sortowanie";
close_sorting_: "Zamknij sortowanie";
open_filters_: "Otwórz filtry";
close_filters_: "Zamknij filtry";
back_: "Wstecz";
scroll_to_top_: "Przewiń do góry";
breadcrumbs_separator_: "/";
};
export const polish_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Inne alternatywy";
readonly category_: "Kategoria";
readonly modal_discover_more_: "Zobacz więcej";
readonly previous_searches_text_: "Twoje poprzednie wyszukiwania";
readonly suggestions_: "Sugestie";
readonly no_results_text_: "Brak wyników";
readonly clear_filters_query_sorting_after_submit_: "Wyczyść zapytanie. Wyczyść również sortowanie i filtry po następnym przesłaniu.";
readonly placeholder_text_: "Wyszukaj";
readonly search_submit_button_aria_label_: "Wyszukaj";
readonly query_input_field_aria_label_: "Pole wyszukiwania";
readonly previous_searches_delete_entry_from_history_: "Usuń zapytanie z historii";
readonly of_: "z";
readonly sorting_text_: "Sortuj";
readonly filter_text_: "Filtruj";
readonly filters_: "Filtry";
readonly clear_all_from_filter_crumbs_: "Wyczyść wszystkie";
readonly clear_all_filters_from_big_button_: "Wyczyść wszystkie filtry";
readonly view_more_: "Zobacz więcej";
readonly view_less_: "Zobacz mniej";
readonly selected_filters_title_: "Filtry";
readonly try_without_filters_: "Spróbuj ponownie bez filtrów";
readonly clear_individual_filter_: "Wyczyść";
readonly range_filter_low_point_aria_label_: "Dolna wartość filtra zakresu";
readonly range_filter_high_point_aria_label_: "Górna wartość filtra zakresu";
readonly morphing_sign_expanded_aria_label_: "Zwiń sekcję";
readonly morphing_sign_collapsed_aria_label_: "Rozwiń sekcję";
readonly close_: "Zamknij";
readonly ok_: "OK";
readonly filters_cleared_: "Filtry wyczyszczone";
readonly we_cleared_your_filters_: "Wyczyściliśmy twoje filtry";
readonly restore_: "Przywróć";
readonly open_sorting_: "Otwórz sortowanie";
readonly close_sorting_: "Zamknij sortowanie";
readonly open_filters_: "Otwórz filtry";
readonly close_filters_: "Zamknij filtry";
readonly back_: "Wstecz";
readonly scroll_to_top_: "Przewiń do góry";
};
export const portuguese_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "de";
sorting_text_: "Ordenar";
filter_text_: "Filtrar";
filters_: "Filtros";
clear_all_from_filter_crumbs_: "Limpar tudo";
clear_all_filters_from_big_button_: "Limpar todos os filtros";
view_more_: "Ver mais";
view_less_: "Ver menos";
selected_filters_title_: "Filtros";
try_without_filters_: "Voltar a tentar sem filtros";
clear_individual_filter_: "Limpar";
range_filter_low_point_aria_label_: "Filtro com valor mais baixo";
range_filter_high_point_aria_label_: "Filtro com valor mais alto";
morphing_sign_expanded_aria_label_: "Minimizar secção";
morphing_sign_collapsed_aria_label_: "Expandir secção";
breadcrumbs_separator_: "/";
close_: "Close";
ok_: "OK";
filters_cleared_: "Filters cleared";
we_cleared_your_filters_: "We cleared your filters";
restore_: "Restore";
open_sorting_: "Open sorting";
close_sorting_: "Close sorting";
open_filters_: "Open filters";
close_filters_: "Close filters";
back_: "Back";
scroll_to_top_: "Scroll to top";
};
export const portuguese_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Outras alternativas";
readonly category_: "Categoria";
readonly modal_discover_more_: "Descobrir mais";
readonly previous_searches_text_: "As suas pesquisas anteriores";
readonly suggestions_: "Sugestões";
readonly no_results_text_: "Sem resultados";
readonly clear_filters_query_sorting_after_submit_: "Limpar consulta. Limpar a seleção e os filtros depois do próximo envio.";
readonly placeholder_text_: "Pesquisa";
readonly search_submit_button_aria_label_: "Pesquisa";
readonly query_input_field_aria_label_: "Campo de consulta de pesquisa";
readonly previous_searches_delete_entry_from_history_: "Remover consultas do histórico";
readonly of_: "de";
readonly sorting_text_: "Ordenar";
readonly filter_text_: "Filtrar";
readonly filters_: "Filtros";
readonly clear_all_from_filter_crumbs_: "Limpar tudo";
readonly clear_all_filters_from_big_button_: "Limpar todos os filtros";
readonly view_more_: "Ver mais";
readonly view_less_: "Ver menos";
readonly selected_filters_title_: "Filtros";
readonly try_without_filters_: "Voltar a tentar sem filtros";
readonly clear_individual_filter_: "Limpar";
readonly range_filter_low_point_aria_label_: "Filtro com valor mais baixo";
readonly range_filter_high_point_aria_label_: "Filtro com valor mais alto";
readonly morphing_sign_expanded_aria_label_: "Minimizar secção";
readonly morphing_sign_collapsed_aria_label_: "Expandir secção";
readonly close_: "Close";
readonly ok_: "OK";
readonly filters_cleared_: "Filters cleared";
readonly we_cleared_your_filters_: "We cleared your filters";
readonly restore_: "Restore";
readonly open_sorting_: "Open sorting";
readonly close_sorting_: "Close sorting";
readonly open_filters_: "Open filters";
readonly close_filters_: "Close filters";
readonly back_: "Back";
readonly scroll_to_top_: "Scroll to top";
};
export const spanish_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "de";
sorting_text_: "Clasificar";
filter_text_: "Filtrar";
filters_: "Filtros";
clear_all_from_filter_crumbs_: "Limpiar todo";
clear_all_filters_from_big_button_: "Borrar todos los filtros";
view_more_: "Ver más";
view_less_: "Ver menos";
selected_filters_title_: "Filtros";
try_without_filters_: "Inténtalo de nuevo sin filtros";
clear_individual_filter_: "Limpiar";
range_filter_low_point_aria_label_: "Valor más bajo del filtro de rango";
range_filter_high_point_aria_label_: "Valor más alto del filtro de rango";
morphing_sign_expanded_aria_label_: "Contraer sección";
morphing_sign_collapsed_aria_label_: "Ampliar sección";
close_: "Cerrar";
ok_: "OK";
filters_cleared_: "Filtros borrados";
we_cleared_your_filters_: "Hemos borrado los filtros";
restore_: "Restaurar";
open_sorting_: "Abrir clasificación";
close_sorting_: "Cerrar clasificación";
open_filters_: "Abrir filtros";
close_filters_: "Cerrar filtros";
back_: "Atrás";
scroll_to_top_: "Ir al principio";
breadcrumbs_separator_: "/";
};
export const spanish_search_translation: {
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Otras alternativas";
readonly category_: "Categoría";
readonly modal_discover_more_: "Descubrir más";
readonly previous_searches_text_: "Tus búsquedas anteriores";
readonly suggestions_: "Sugerencias";
readonly no_results_text_: "No hay resultados";
readonly clear_filters_query_sorting_after_submit_: "Borrar consulta. Eliminar también la selección y los filtros después del próximo envío.";
readonly placeholder_text_: "Búsqueda";
readonly search_submit_button_aria_label_: "Búsqueda";
readonly query_input_field_aria_label_: "Campo de consulta de búsqueda";
readonly previous_searches_delete_entry_from_history_: "Eliminar consulta del historial";
readonly of_: "de";
readonly sorting_text_: "Clasificar";
readonly filter_text_: "Filtrar";
readonly filters_: "Filtros";
readonly clear_all_from_filter_crumbs_: "Limpiar todo";
readonly clear_all_filters_from_big_button_: "Borrar todos los filtros";
readonly view_more_: "Ver más";
readonly view_less_: "Ver menos";
readonly selected_filters_title_: "Filtros";
readonly try_without_filters_: "Inténtalo de nuevo sin filtros";
readonly clear_individual_filter_: "Limpiar";
readonly range_filter_low_point_aria_label_: "Valor más bajo del filtro de rango";
readonly range_filter_high_point_aria_label_: "Valor más alto del filtro de rango";
readonly morphing_sign_expanded_aria_label_: "Contraer sección";
readonly morphing_sign_collapsed_aria_label_: "Ampliar sección";
readonly close_: "Cerrar";
readonly ok_: "OK";
readonly filters_cleared_: "Filtros borrados";
readonly we_cleared_your_filters_: "Hemos borrado los filtros";
readonly restore_: "Restaurar";
readonly open_sorting_: "Abrir clasificación";
readonly close_sorting_: "Cerrar clasificación";
readonly open_filters_: "Abrir filtros";
readonly close_filters_: "Cerrar filtros";
readonly back_: "Atrás";
readonly scroll_to_top_: "Ir al principio";
};
export const swedish_category_translation: {
show_n_products_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
no_products_text_: string;
product_: string;
products_: string;
breadcrumbs_aria_label_: string;
quicklinks_aria_label_: string;
of_: "av";
sorting_text_: "Sortera";
filter_text_: "Filtrera";
filters_: "Filtrera";
clear_all_from_filter_crumbs_: "Rensa alla";
clear_all_filters_from_big_button_: "Rensa alla filter";
view_more_: "Visa fler";
view_less_: "Visa färre";
selected_filters_title_: "Filter";
try_without_filters_: "Prova igen utan filter";
clear_individual_filter_: "Rensa";
range_filter_low_point_aria_label_: "Intervallfilter från värde";
range_filter_high_point_aria_label_: "Intervallfilter till värde";
morphing_sign_expanded_aria_label_: "Fäll ihop sektion";
morphing_sign_collapsed_aria_label_: "Expandera sektion";
close_: "Stäng";
ok_: "OK";
filters_cleared_: "Filter rensade";
we_cleared_your_filters_: "Vi rensade dina filter";
restore_: "Återställ";
open_sorting_: "Öppna sortering";
close_sorting_: "Stäng sortering";
open_filters_: "Öppna filter";
close_filters_: "Stäng filter";
back_: "Tillbaka";
scroll_to_top_: "Scrolla upp";
breadcrumbs_separator_: "/";
};
export const swedish_search_translation: {
readonly no_results_text_: "Inga resultat";
readonly modal_view_all_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly search_recs_title_: "Andra alternativ";
readonly clear_filters_query_sorting_after_submit_: "Rensa förfråga och filter + sorting efter ny förfråga";
readonly previous_searches_text_: "Dina tidigare sökningar";
readonly category_: "Kategori";
readonly suggestions_: "Förslag";
readonly modal_discover_more_: "Utforska mer";
readonly placeholder_text_: "Sök";
readonly search_submit_button_aria_label_: "Sök";
readonly query_input_field_aria_label_: "Sökfält";
readonly previous_searches_delete_entry_from_history_: "Ta bort förfråga från historiken";
readonly get_showing_results_for_: (q: HTMLElement, number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly show_n_results_: (number_of_results: HTMLElement) => (string | HTMLElement)[];
readonly of_: "av";
readonly sorting_text_: "Sortera";
readonly filter_text_: "Filtrera";
readonly filters_: "Filtrera";
readonly clear_all_from_filter_crumbs_: "Rensa alla";
readonly clear_all_filters_from_big_button_: "Rensa alla filter";
readonly view_more_: "Visa fler";
readonly view_less_: "Visa färre";
readonly selected_filters_title_: "Filter";
readonly try_without_filters_: "Prova igen utan filter";
readonly clear_individual_filter_: "Rensa";
readonly range_filter_low_point_aria_label_: "Intervallfilter från värde";
readonly range_filter_high_point_aria_label_: "Intervallfilter till värde";
readonly morphing_sign_expanded_aria_label_: "Fäll ihop sektion";
readonly morphing_sign_collapsed_aria_label_: "Expandera sektion";
readonly close_: "Stäng";
readonly ok_: "OK";
readonly filters_cleared_: "Filter rensade";
readonly we_cleared_your_filters_: "Vi rensade dina filter";
readonly restore_: "Återställ";
readonly open_sorting_: "Öppna sortering";
readonly close_sorting_: "Stäng sortering";
readonly open_filters_: "Öppna filter";
readonly close_filters_: "Stäng filter";
readonly back_: "Tillbaka";
readonly scroll_to_top_: "Scrolla upp";
};
/**
* Like standard_price_format except that the price and the formatting are reactive accessors
*/
export function solid_format_price({ price_, price_formatting_, }: {
price_: Accessor<number>;
price_formatting_: Accessor<{
pre_: string;
post_: string;
decimal_places_delimiter_: string;
thousands_delimiter_: string;
places_after_comma_: number | "auto";
}>;
}): Accessor<string>;
export type plp_shared_i18n = {
scroll_to_top_: Accessor<string>;
back_: Accessor<string>;
open_sorting_: Accessor<string>;
close_sorting_: Accessor<string>;
open_filters_: Accessor<string>;
close_filters_: Accessor<string>;
close_: Accessor<string>;
ok_: Accessor<string>;
filters_cleared_: Accessor<string>;
we_cleared_your_filters_: Accessor<string>;
restore_: Accessor<string>;
sorting_text_: Accessor<string>;
filter_text_: Accessor<string>;
selected_filters_title_: Accessor<string>;
filters_: Accessor<string>;
view_less_: Accessor<string>;
view_more_: Accessor<string>;
clear_all_from_filter_crumbs_: Accessor<string>;
clear_individual_filter_: Accessor<string>;
of_: Accessor<string>;
clear_all_filters_from_big_button_: Accessor<string>;
try_without_filters_: Accessor<string>;
range_filter_low_point_aria_label_: Accessor<string>;
range_filter_high_point_aria_label_: Accessor<string>;
morphing_sign_expanded_aria_label_: Accessor<string>;
morphing_sign_collapsed_aria_label_: Accessor<string>;
price_formatting_: Accessor<{
pre_: string;
post_: string;
decimal_places_delimiter_: string;
thousands_delimiter_: string;
places_after_comma_: number | "auto";
}>;
};
export interface search_i18n extends plp_shared_i18n {
placeholder_text_: Accessor<string>;
show_n_results_: Accessor<(number_of_results: HTMLElement) => Elem[]>;
no_results_text_: Accessor<string>;
search_recs_title_: Accessor<string>;
clear_filters_query_sorting_after_submit_: Accessor<string>;
modal_view_all_results_: Accessor<(number_of_results: HTMLElement) => Elem[]>;
modal_discover_more_: Accessor<string>;
get_showing_results_for_: Accessor<(query: HTMLElement, number_of_results: HTMLElement) => Elem[]>;
previous_searches_text_: Accessor<string>;
category_: Accessor<string>;
suggestions_: Accessor<string>;
search_submit_button_aria_label_: Accessor<string>;
query_input_field_aria_label_: Accessor<string>;
previous_searches_delete_entry_from_history_: Accessor<string>;
}
export interface category_i18n extends plp_shared_i18n {
show_n_products_: Accessor<(number_of_results: HTMLElement) => Elem[]>;
no_products_text_: Accessor<string>;
product_: Accessor<string>;
products_: Accessor<string>;
breadcrumbs_aria_label_: Accessor<string>;
quicklinks_aria_label_: Accessor<string>;
breadcrumbs_separator_: Accessor<string>;
}
export type WithRequired<T, K extends keyof T> = T & {
[P in K]-?: T[P];
};
type ConstructorOptions = {
append_instead_of_replace_?: boolean;
page_title_?: string;
is_category_page_: (url: URL) => boolean;
get_query_id_: (url: URL) => string;
slider_arrow_button_: SVGElement | HTMLElement;
selector_for_page_to_replace_: string;
page_replacer_ref_: (pr: PageReplacer) => void;
category_title_: typeof CategoryTitle | typeof embedded_num_products;
show_quicklinks_: boolean;
show_breadcrumbs_: boolean;
on_category_link_click_?: (e: MouseEvent, display: BaseCategoryDisplay) => unknown;
wrap_category_page_?: (category_page_elements_: Node_Array) => Node_Array;
depict_api_: DepictAPI;
layout_options_: Omit<LayoutOptions, "container_element" | "layout" | "rows">;
rr_options_: Omit<Extended_RR_Options, "type" | "recs" | "category_id" | "product_id" | "product_ids">;
get_product_id_: (url?: string) => string | Promise<string>;
};
/**
* TODO: this is not yet the SDK, we still have to change this to conform to the SDK docs
*/
export class Category {
#private;
constructor(opts: ConstructorOptions);
get locale_(): {
[K in keyof category_i18n]: ReturnType<category_i18n[K]>;
};
set locale_(locale_obj: {
[K in keyof category_i18n]: ReturnType<category_i18n[K]>;
});
get tenant_(): string;
set tenant_(tenant: string);
get market_(): TwoLetterMarket;
set market_(market: TwoLetterMarket);
BreadCrumbs_: () => HTMLElement;
QuickLinks_: () => HTMLElement;
boot_: () => Promise<{
page_replacer_: PageReplacer;
}>;
}
export function push_state_with_query_param_value(url_param_name: string, value?: string, url_transformer?: (url_object: URL) => unknown): void;
/** A function that renders category suggestion cards. Set to false to disable category suggestions. */

@@ -1237,16 +238,7 @@ export type RenderCategorySuggestion = (category_suggestion: Accessor<CategorySuggestion>, index: number, selected_filters_: Signal<{

}[]>) => JSX.Element;
type InstantCard = (display: unknown, context: {
index: number;
i18n: search_i18n;
merchant: string;
market: string;
}) => JSX.Element;
type SDKColsAtSize = [number, number?][];
type _ConstructorOptions1 = {
type ConstructorOptions = {
search_query_url_param_name?: string;
market: string;
merchant: string;
localization: {
[K in keyof search_i18n]: ReturnType<search_i18n[K]>;
};
localization: search_i18n;
on_navigation?: (href: string) => unknown;

@@ -1268,16 +260,8 @@ url_transformer?: (url_object: URL) => unknown;

];
type SDKGridSpacing = string | {
horizontal: string;
vertical: string;
};
export const get_search_query_updating_blocked_signal: (depict_search: DepictSearch) => Signal<boolean> | undefined;
export class DepictSearch {
#private;
constructor({ search_query_url_param_name, url_transformer, on_navigation, enable_category_suggestions, disable_scrolling_during_modal, api, bottom_distance_under_modal_, render_instant_card, ...props_on_class }: _ConstructorOptions1);
get localization(): {
[K in keyof search_i18n]: ReturnType<search_i18n[K]>;
};
set localization(locale_obj: {
[K in keyof search_i18n]: ReturnType<search_i18n[K]>;
});
constructor({ search_query_url_param_name, url_transformer, on_navigation: raw_on_navigation, enable_category_suggestions, disable_scrolling_during_modal, api, bottom_distance_under_modal_, render_instant_card, ...props_on_class }: ConstructorOptions);
get localization(): search_i18n;
set localization(locale_obj: search_i18n);
get modal_open(): OpenModalArguments | boolean;

@@ -1298,3 +282,3 @@ set modal_open(new_state: OpenModalArguments | boolean);

cols_at_size: SDKColsAtSize;
product_card_template: (display: Display, info: InfoForProcessing) => Promise<Node_Array> | Node_Array;
product_card_template: (display: Display, info: _InfoForProcessing1) => Promise<Node_Array> | Node_Array;
get_product_id: (url?: string) => string | Promise<string>;

@@ -1312,1 +296,19 @@ extra_depict_options?: {

}): Node_Array;
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
export interface PageReplacer {
readonly render_: (is_prerendering: boolean) => Node_Array;
readonly is_page_: (url: URL) => boolean;
readonly title_?: string;
readonly selector_: string;
readonly append_instead_of_replace_?: boolean;
}
export class PageReplacer extends EventTarget {
#private;
get open_(): boolean;
destroy_(): void;
constructor(options: Omit<PageReplacer, "destroy_" | "addEventListener" | "removeEventListener" | "dispatchEvent" | "open_">);
}
/**
* makes so that links to the previous page close the search instead of closing the search and reloading the page (to be used with non-spas)
*/
export function setup_fast_leave(pr: PageReplacer): void;
{
"name": "@depict-ai/ui",
"version": "0.0.22",
"version": "0.0.23",
"packageManager": "yarn@3.2.2",
"source": "src/index.ts",
"source": [
"src/index.ts",
"src/locales/index.ts"
],
"main": "dist/main.js",
"module": "dist/module.js",
"types": "dist/index.d.ts",
"context": "node",
"engines": {
"browsers": "last 1 chrome version"
},
"license": "MIT",

@@ -23,6 +29,3 @@ "publishConfig": {

"isLibrary": true,
"context": "node",
"engines": {
"browsers": "last 1 chrome version"
},
"source": "src/index.ts",
"optimize": false

@@ -32,7 +35,33 @@ },

"isLibrary": true,
"context": "node",
"engines": {
"browsers": "last 1 chrome version"
},
"source": "src/index.ts",
"optimize": false
},
"localesModule": {
"isLibrary": true,
"optimize": false,
"source": "src/locales/index.ts",
"distDir": "locales/module",
"outputFormat": "esmodule"
},
"localesCommonJS": {
"isLibrary": true,
"optimize": false,
"source": "src/locales/index.ts",
"distDir": "locales/main",
"outputFormat": "commonjs"
},
"types": {}
},
"exports": {
".": {
"import": "./module.js",
"require": "./main.js",
"types": "./dist/index.d.ts",
"default": "./module.js"
},
"./locales/": {
"types": "./locales/index.d.ts",
"import": "./locales/index.js",
"require": "./locales/require.js",
"default": "./locales/index.js"
}

@@ -60,3 +89,4 @@ },

"ts-jest": "^29.0.3"
}
},
"types": "dist/index.d.ts"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc