@lystech/core 3.0.127 → 3.0.129
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/dist/index.d.ts +9 -2
- package/dist/lystech-core-provider.es.js +11814 -11780
- package/dist/lystech-core-provider.umd.js +168 -168
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -885,7 +885,10 @@ declare type Props_2 = {
|
|
|
885
885
|
noShopOrInvitationFoundText?: string;
|
|
886
886
|
pleaseLogInText?: string;
|
|
887
887
|
returnToLocationAfterLogin?: boolean;
|
|
888
|
-
|
|
888
|
+
/** `info.auto` : la page l'a choisie seule (une seule commande ouverte) — remplacer l'adresse plutôt que l'empiler. */
|
|
889
|
+
onCollectionSelected: (collectionUID: string, info?: {
|
|
890
|
+
auto: boolean;
|
|
891
|
+
}) => void;
|
|
889
892
|
onClickReturnToLogin?: () => void;
|
|
890
893
|
};
|
|
891
894
|
|
|
@@ -899,10 +902,14 @@ declare type Props_4 = {
|
|
|
899
902
|
};
|
|
900
903
|
|
|
901
904
|
declare type Props_5 = {
|
|
902
|
-
|
|
905
|
+
/** `auto` : choisie par la page (une seule commande ouverte), pas par un clic — à remplacer dans l'historique du navigateur, pas à empiler. */
|
|
906
|
+
onCollectionSelected?: (collectionUID: string, info?: {
|
|
907
|
+
auto: boolean;
|
|
908
|
+
}) => void;
|
|
903
909
|
currentCollectionUID?: string;
|
|
904
910
|
collectionsSelectorTitle?: string;
|
|
905
911
|
showOptions?: boolean;
|
|
912
|
+
/** Vrai : s'il n'y a qu'UNE commande ouverte et qu'aucune n'est choisie, elle s'ouvre d'elle-même. Plusieurs : le client choisit. */
|
|
906
913
|
allowAutoSelect?: boolean;
|
|
907
914
|
};
|
|
908
915
|
|