@pi-spi/app 1.6.0 → 2.1.0
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/README.md +64 -30
- package/example/App.tsx +27 -24
- package/lib/module/core/api.js +14 -5
- package/lib/module/core/api.js.map +1 -1
- package/lib/module/core/assets.js +0 -7
- package/lib/module/core/assets.js.map +1 -1
- package/lib/module/core/di.js +17 -8
- package/lib/module/core/di.js.map +1 -1
- package/lib/module/core/pi_spi_custom_theme.js +22 -10
- package/lib/module/core/pi_spi_custom_theme.js.map +1 -1
- package/lib/module/core/pi_spi_sdk_config.js +22 -8
- package/lib/module/core/pi_spi_sdk_config.js.map +1 -1
- package/lib/module/core/theme.js +345 -225
- package/lib/module/core/theme.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/l10n/app_localizations.js.map +1 -1
- package/lib/module/l10n/app_localizations_en.js +22 -0
- package/lib/module/l10n/app_localizations_en.js.map +1 -1
- package/lib/module/l10n/app_localizations_fr.js +22 -0
- package/lib/module/l10n/app_localizations_fr.js.map +1 -1
- package/lib/module/l10n/app_localizations_pt.js +22 -0
- package/lib/module/l10n/app_localizations_pt.js.map +1 -1
- package/lib/module/modules/categorie/presentation/pages/categorie_edit_icon_btn.js +25 -35
- package/lib/module/modules/categorie/presentation/pages/categorie_edit_icon_btn.js.map +1 -1
- package/lib/module/modules/config/domain/models/config_keys.js +3 -1
- package/lib/module/modules/config/domain/models/config_keys.js.map +1 -1
- package/lib/module/modules/config/domain/services/config_service.js +31 -2
- package/lib/module/modules/config/domain/services/config_service.js.map +1 -1
- package/lib/module/modules/home/presentation/pages/home_tab_compte.js +0 -1
- package/lib/module/modules/home/presentation/pages/home_tab_compte.js.map +1 -1
- package/lib/module/modules/home/presentation/pages/home_tab_compte_more_menu.js +38 -37
- package/lib/module/modules/home/presentation/pages/home_tab_compte_more_menu.js.map +1 -1
- package/lib/module/modules/profile/presentation/pages/parametre/profile_parametre_page.js +2 -2
- package/lib/module/modules/profile/presentation/pages/parametre/profile_parametre_page.js.map +1 -1
- package/lib/module/modules/profile/presentation/pages/parametre/profile_parametre_page_qrcode.js +2 -2
- package/lib/module/modules/profile/presentation/pages/parametre/profile_parametre_page_qrcode.js.map +1 -1
- package/lib/module/modules/profile/presentation/pages/parametre/profile_parametre_page_theme.js +135 -199
- package/lib/module/modules/profile/presentation/pages/parametre/profile_parametre_page_theme.js.map +1 -1
- package/lib/module/modules/profile/presentation/pages/profile_menu.js +4 -3
- package/lib/module/modules/profile/presentation/pages/profile_menu.js.map +1 -1
- package/lib/module/modules/profile/presentation/pages/profile_page_avatar.js +6 -28
- package/lib/module/modules/profile/presentation/pages/profile_page_avatar.js.map +1 -1
- package/lib/module/modules/profile/presentation/pages/profile_page_contacts.js +0 -1
- package/lib/module/modules/profile/presentation/pages/profile_page_contacts.js.map +1 -1
- package/lib/module/modules/profile/presentation/pages/profile_page_contacts_actions.js +122 -162
- package/lib/module/modules/profile/presentation/pages/profile_page_contacts_actions.js.map +1 -1
- package/lib/module/modules/qrcode/presentation/pages/qrcode_alias_page.js +0 -1
- package/lib/module/modules/qrcode/presentation/pages/qrcode_alias_page.js.map +1 -1
- package/lib/module/modules/qrcode/presentation/pages/qrcode_alias_page_share.js +26 -38
- package/lib/module/modules/qrcode/presentation/pages/qrcode_alias_page_share.js.map +1 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_details/subscription_details_page.js +0 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_details/subscription_details_page.js.map +1 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_details/subscription_details_page_actions.js +0 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_details/subscription_details_page_actions.js.map +1 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_details/subscription_details_page_note_sheet.js +38 -93
- package/lib/module/modules/subscription/presentation/pages/subscription_details/subscription_details_page_note_sheet.js.map +1 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_list/subscription_list_empty_widget.js +0 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_list/subscription_list_empty_widget.js.map +1 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_list/subscription_list_widget.js +0 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_list/subscription_list_widget.js.map +1 -1
- package/lib/module/modules/subscription/presentation/pages/subscription_menu_widget.js +23 -42
- package/lib/module/modules/subscription/presentation/pages/subscription_menu_widget.js.map +1 -1
- package/lib/module/modules/transactions/infra/transaction_output_remote.js +2 -1
- package/lib/module/modules/transactions/infra/transaction_output_remote.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions.js +0 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_cancel.js +34 -61
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_cancel.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_return.js +49 -62
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_return.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_recu.js +3 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_recu.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_ticket.js +68 -88
- package/lib/module/modules/transactions/presentation/pages/transaction_details/transaction_details_page_ticket.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_form/transaction_form_input_pays.js +77 -0
- package/lib/module/modules/transactions/presentation/pages/transaction_form/transaction_form_input_pays.js.map +1 -0
- package/lib/module/modules/transactions/presentation/pages/transaction_form/transaction_form_input_psp.js +49 -155
- package/lib/module/modules/transactions/presentation/pages/transaction_form/transaction_form_input_psp.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_form/transaction_form_page_othr.js +8 -28
- package/lib/module/modules/transactions/presentation/pages/transaction_form/transaction_form_page_othr.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_form/transaction_form_page_verification.js +0 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_form/transaction_form_page_verification.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_recents/transaction_recents_nombre_widget.js +50 -42
- package/lib/module/modules/transactions/presentation/pages/transaction_recents/transaction_recents_nombre_widget.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_recents/transaction_recents_widget.js +0 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_recents/transaction_recents_widget.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions.js +0 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions_reject.js +37 -67
- package/lib/module/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions_reject.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_search/transaction_search_page_filters.js +5 -4
- package/lib/module/modules/transactions/presentation/pages/transaction_search/transaction_search_page_filters.js.map +1 -1
- package/lib/module/modules/transactions/presentation/pages/transaction_split/transaction_split_page_repartition.js +2 -2
- package/lib/module/modules/transactions/presentation/pages/transaction_split/transaction_split_page_repartition.js.map +1 -1
- package/lib/module/pi_spi_sdk_entry.js +7 -2
- package/lib/module/pi_spi_sdk_entry.js.map +1 -1
- package/lib/module/shared/widgets/confirm_action_sheet_widget.js +34 -67
- package/lib/module/shared/widgets/confirm_action_sheet_widget.js.map +1 -1
- package/lib/module/shared/widgets/custom_progressbar.js +3 -2
- package/lib/module/shared/widgets/custom_progressbar.js.map +1 -1
- package/lib/module/shared/widgets/image_select_widget.js +43 -107
- package/lib/module/shared/widgets/image_select_widget.js.map +1 -1
- package/lib/module/shared/widgets/notification_dialog.js +25 -35
- package/lib/module/shared/widgets/notification_dialog.js.map +1 -1
- package/lib/module/shared/widgets/selection.js +382 -6
- package/lib/module/shared/widgets/selection.js.map +1 -1
- package/lib/typescript/src/core/api.d.ts +6 -0
- package/lib/typescript/src/core/api.d.ts.map +1 -1
- package/lib/typescript/src/core/assets.d.ts +0 -7
- package/lib/typescript/src/core/assets.d.ts.map +1 -1
- package/lib/typescript/src/core/di.d.ts.map +1 -1
- package/lib/typescript/src/core/pi_spi_custom_theme.d.ts +17 -8
- package/lib/typescript/src/core/pi_spi_custom_theme.d.ts.map +1 -1
- package/lib/typescript/src/core/pi_spi_sdk_config.d.ts +22 -8
- package/lib/typescript/src/core/pi_spi_sdk_config.d.ts.map +1 -1
- package/lib/typescript/src/core/theme.d.ts +123 -53
- package/lib/typescript/src/core/theme.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/l10n/app_localizations.d.ts +44 -0
- package/lib/typescript/src/l10n/app_localizations.d.ts.map +1 -1
- package/lib/typescript/src/l10n/app_localizations_en.d.ts.map +1 -1
- package/lib/typescript/src/l10n/app_localizations_fr.d.ts.map +1 -1
- package/lib/typescript/src/l10n/app_localizations_pt.d.ts.map +1 -1
- package/lib/typescript/src/modules/categorie/presentation/pages/categorie_edit_icon_btn.d.ts.map +1 -1
- package/lib/typescript/src/modules/config/domain/models/config_keys.d.ts +3 -1
- package/lib/typescript/src/modules/config/domain/models/config_keys.d.ts.map +1 -1
- package/lib/typescript/src/modules/config/domain/services/config_service.d.ts +7 -0
- package/lib/typescript/src/modules/config/domain/services/config_service.d.ts.map +1 -1
- package/lib/typescript/src/modules/home/presentation/pages/home_tab_compte_more_menu.d.ts +2 -0
- package/lib/typescript/src/modules/home/presentation/pages/home_tab_compte_more_menu.d.ts.map +1 -1
- package/lib/typescript/src/modules/profile/presentation/pages/parametre/profile_parametre_page.d.ts.map +1 -1
- package/lib/typescript/src/modules/profile/presentation/pages/parametre/profile_parametre_page_theme.d.ts +1 -1
- package/lib/typescript/src/modules/profile/presentation/pages/parametre/profile_parametre_page_theme.d.ts.map +1 -1
- package/lib/typescript/src/modules/profile/presentation/pages/profile_page_avatar.d.ts.map +1 -1
- package/lib/typescript/src/modules/profile/presentation/pages/profile_page_contacts.d.ts.map +1 -1
- package/lib/typescript/src/modules/profile/presentation/pages/profile_page_contacts_actions.d.ts.map +1 -1
- package/lib/typescript/src/modules/qrcode/presentation/pages/qrcode_alias_page.d.ts.map +1 -1
- package/lib/typescript/src/modules/qrcode/presentation/pages/qrcode_alias_page_share.d.ts.map +1 -1
- package/lib/typescript/src/modules/subscription/presentation/pages/subscription_details/subscription_details_page.d.ts.map +1 -1
- package/lib/typescript/src/modules/subscription/presentation/pages/subscription_details/subscription_details_page_actions.d.ts.map +1 -1
- package/lib/typescript/src/modules/subscription/presentation/pages/subscription_details/subscription_details_page_note_sheet.d.ts +2 -2
- package/lib/typescript/src/modules/subscription/presentation/pages/subscription_details/subscription_details_page_note_sheet.d.ts.map +1 -1
- package/lib/typescript/src/modules/subscription/presentation/pages/subscription_menu_widget.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/infra/transaction_output_remote.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_cancel.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_return.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_form/transaction_form_input_pays.d.ts +17 -0
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_form/transaction_form_input_pays.d.ts.map +1 -0
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_form/transaction_form_input_psp.d.ts +6 -2
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_form/transaction_form_input_psp.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_form/transaction_form_page_othr.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_form/transaction_form_page_verification.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_recents/transaction_recents_nombre_widget.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions.d.ts.map +1 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions_reject.d.ts.map +1 -1
- package/lib/typescript/src/shared/widgets/confirm_action_sheet_widget.d.ts +4 -1
- package/lib/typescript/src/shared/widgets/confirm_action_sheet_widget.d.ts.map +1 -1
- package/lib/typescript/src/shared/widgets/custom_progressbar.d.ts.map +1 -1
- package/lib/typescript/src/shared/widgets/image_select_widget.d.ts +6 -4
- package/lib/typescript/src/shared/widgets/image_select_widget.d.ts.map +1 -1
- package/lib/typescript/src/shared/widgets/notification_dialog.d.ts +2 -2
- package/lib/typescript/src/shared/widgets/notification_dialog.d.ts.map +1 -1
- package/lib/typescript/src/shared/widgets/selection.d.ts +69 -2
- package/lib/typescript/src/shared/widgets/selection.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/api.ts +11 -2
- package/src/core/assets.ts +0 -7
- package/src/core/di.ts +13 -8
- package/src/core/pi_spi_custom_theme.ts +22 -15
- package/src/core/pi_spi_sdk_config.ts +27 -9
- package/src/core/theme.ts +381 -269
- package/src/index.ts +1 -1
- package/src/l10n/app_localizations.ts +44 -0
- package/src/l10n/app_localizations_en.ts +22 -0
- package/src/l10n/app_localizations_fr.ts +22 -0
- package/src/l10n/app_localizations_pt.ts +22 -0
- package/src/modules/categorie/presentation/pages/categorie_edit_icon_btn.tsx +25 -27
- package/src/modules/config/domain/models/config_keys.ts +3 -1
- package/src/modules/config/domain/services/config_service.ts +31 -2
- package/src/modules/home/presentation/pages/home_tab_compte.tsx +1 -1
- package/src/modules/home/presentation/pages/home_tab_compte_more_menu.tsx +34 -42
- package/src/modules/profile/presentation/pages/parametre/profile_parametre_page.tsx +2 -5
- package/src/modules/profile/presentation/pages/parametre/profile_parametre_page_qrcode.tsx +2 -2
- package/src/modules/profile/presentation/pages/parametre/profile_parametre_page_theme.tsx +105 -148
- package/src/modules/profile/presentation/pages/profile_menu.tsx +2 -2
- package/src/modules/profile/presentation/pages/profile_page_avatar.tsx +6 -12
- package/src/modules/profile/presentation/pages/profile_page_contacts.tsx +0 -1
- package/src/modules/profile/presentation/pages/profile_page_contacts_actions.tsx +111 -117
- package/src/modules/qrcode/presentation/pages/qrcode_alias_page.tsx +0 -1
- package/src/modules/qrcode/presentation/pages/qrcode_alias_page_share.tsx +32 -40
- package/src/modules/subscription/presentation/pages/subscription_details/subscription_details_page.tsx +0 -1
- package/src/modules/subscription/presentation/pages/subscription_details/subscription_details_page_actions.tsx +0 -1
- package/src/modules/subscription/presentation/pages/subscription_details/subscription_details_page_note_sheet.tsx +20 -59
- package/src/modules/subscription/presentation/pages/subscription_list/subscription_list_empty_widget.tsx +1 -1
- package/src/modules/subscription/presentation/pages/subscription_list/subscription_list_widget.tsx +1 -1
- package/src/modules/subscription/presentation/pages/subscription_menu_widget.tsx +25 -39
- package/src/modules/transactions/infra/transaction_output_remote.ts +6 -1
- package/src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions.tsx +0 -1
- package/src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_cancel.tsx +39 -41
- package/src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_return.tsx +41 -46
- package/src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_recu.tsx +3 -1
- package/src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_ticket.tsx +46 -40
- package/src/modules/transactions/presentation/pages/transaction_form/transaction_form_input_pays.tsx +92 -0
- package/src/modules/transactions/presentation/pages/transaction_form/transaction_form_input_psp.tsx +48 -94
- package/src/modules/transactions/presentation/pages/transaction_form/transaction_form_page_othr.tsx +4 -17
- package/src/modules/transactions/presentation/pages/transaction_form/transaction_form_page_verification.tsx +0 -1
- package/src/modules/transactions/presentation/pages/transaction_recents/transaction_recents_nombre_widget.tsx +49 -42
- package/src/modules/transactions/presentation/pages/transaction_recents/transaction_recents_widget.tsx +1 -1
- package/src/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions.tsx +0 -1
- package/src/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions_reject.tsx +47 -48
- package/src/modules/transactions/presentation/pages/transaction_search/transaction_search_page_filters.tsx +4 -4
- package/src/modules/transactions/presentation/pages/transaction_split/transaction_split_page_repartition.tsx +2 -2
- package/src/pi_spi_sdk_entry.tsx +9 -2
- package/src/shared/widgets/confirm_action_sheet_widget.tsx +30 -34
- package/src/shared/widgets/custom_progressbar.tsx +3 -2
- package/src/shared/widgets/image_select_widget.tsx +46 -61
- package/src/shared/widgets/notification_dialog.tsx +66 -70
- package/src/shared/widgets/selection.tsx +293 -5
- package/assets/images/theme_light_blue.jpeg +0 -0
- package/assets/images/theme_light_green.jpeg +0 -0
- package/assets/images/theme_light_orange.jpeg +0 -0
- package/assets/images/theme_light_pink.jpeg +0 -0
- package/assets/images/theme_light_purple.jpeg +0 -0
- package/assets/images/theme_light_red.jpeg +0 -0
- package/assets/images/theme_light_yellow.jpeg +0 -0
- package/lib/module/modules/transactions/presentation/pages/transaction_details/sheet_box.js +0 -47
- package/lib/module/modules/transactions/presentation/pages/transaction_details/sheet_box.js.map +0 -1
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_details/sheet_box.d.ts +0 -10
- package/lib/typescript/src/modules/transactions/presentation/pages/transaction_details/sheet_box.d.ts.map +0 -1
- package/src/modules/transactions/presentation/pages/transaction_details/sheet_box.tsx +0 -30
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app_localizations_en.d.ts","sourceRoot":"","sources":["../../../../src/l10n/app_localizations_en.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAqB,CAAC;AAE5D,sCAAsC;AACtC,eAAO,MAAM,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"app_localizations_en.d.ts","sourceRoot":"","sources":["../../../../src/l10n/app_localizations_en.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAqB,CAAC;AAE5D,sCAAsC;AACtC,eAAO,MAAM,kBAAkB,EAAE,gBA+tBhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app_localizations_fr.d.ts","sourceRoot":"","sources":["../../../../src/l10n/app_localizations_fr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAqB,CAAC;AAE5D,sCAAsC;AACtC,eAAO,MAAM,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"app_localizations_fr.d.ts","sourceRoot":"","sources":["../../../../src/l10n/app_localizations_fr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAqB,CAAC;AAE5D,sCAAsC;AACtC,eAAO,MAAM,kBAAkB,EAAE,gBA8tBhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app_localizations_pt.d.ts","sourceRoot":"","sources":["../../../../src/l10n/app_localizations_pt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAqB,CAAC;AAE5D,sCAAsC;AACtC,eAAO,MAAM,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"app_localizations_pt.d.ts","sourceRoot":"","sources":["../../../../src/l10n/app_localizations_pt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAqB,CAAC;AAE5D,sCAAsC;AACtC,eAAO,MAAM,kBAAkB,EAAE,gBA+tBhC,CAAC"}
|
package/lib/typescript/src/modules/categorie/presentation/pages/categorie_edit_icon_btn.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categorie_edit_icon_btn.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/categorie/presentation/pages/categorie_edit_icon_btn.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"categorie_edit_icon_btn.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/categorie/presentation/pages/categorie_edit_icon_btn.tsx"],"names":[],"mappings":"AAmBA,8EAA8E;AAC9E,wBAAgB,oBAAoB,gCAYnC"}
|
|
@@ -4,8 +4,10 @@ export declare enum ConfigKey {
|
|
|
4
4
|
all = "ALL",
|
|
5
5
|
/** l'utilisateur a passé l'introduction */
|
|
6
6
|
introductionPassed = "INTRODUCTION_PASSED",
|
|
7
|
-
/** theme de l'utilisateur */
|
|
7
|
+
/** theme de l'utilisateur : système, clair ou sombre */
|
|
8
8
|
preferedTheme = "PREFERED_THEME",
|
|
9
|
+
/** Couleur d'accentuation (PI-SPI par défaut) */
|
|
10
|
+
preferedAccent = "PREFERED_ACCENT",
|
|
9
11
|
/** Permission notification */
|
|
10
12
|
permissionNotification = "PERMISSION_NOTIFICATION",
|
|
11
13
|
/** Permission contact autorisée ou pas */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config_keys.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/config/domain/models/config_keys.ts"],"names":[],"mappings":"AAAA,iHAAiH;AACjH,oBAAY,SAAS;IACnB,uCAAuC;IACvC,GAAG,QAAQ;IAEX,2CAA2C;IAC3C,kBAAkB,wBAAwB;IAE1C,
|
|
1
|
+
{"version":3,"file":"config_keys.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/config/domain/models/config_keys.ts"],"names":[],"mappings":"AAAA,iHAAiH;AACjH,oBAAY,SAAS;IACnB,uCAAuC;IACvC,GAAG,QAAQ;IAEX,2CAA2C;IAC3C,kBAAkB,wBAAwB;IAE1C,wDAAwD;IACxD,aAAa,mBAAmB;IAChC,iDAAiD;IACjD,cAAc,oBAAoB;IAElC,8BAA8B;IAC9B,sBAAsB,4BAA4B;IAClD,0CAA0C;IAC1C,iBAAiB,uBAAuB;IACxC,gDAAgD;IAChD,uBAAuB,8BAA8B;IAErD,kDAAkD;IAClD,aAAa,mBAAmB;IAChC,4EAA4E;IAC5E,OAAO,aAAa;IAEpB,8CAA8C;IAC9C,UAAU,gBAAgB;IAE1B,uCAAuC;IACvC,kBAAkB,wBAAwB;IAC1C,iBAAiB,uBAAuB;IACxC,sBAAsB,6BAA6B;IACnD,0BAA0B,iCAAiC;IAC3D,yBAAyB,gCAAgC;IAEzD,yEAAyE;IACzE,yBAAyB,4BAA4B;IAErD,8DAA8D;IAC9D,0BAA0B,iCAAiC;CAC5D;AAED,2EAA2E;AAC3E,eAAO,MAAM,eAAe,EAAE,SAAS,SAAS,EAA6B,CAAC"}
|
|
@@ -9,7 +9,14 @@ export declare class ConfigService implements ConfigInputPort {
|
|
|
9
9
|
* et recuperer les paramètres de configuration
|
|
10
10
|
*/
|
|
11
11
|
constructor(configOutputPort: ConfigOutputPort);
|
|
12
|
+
/**
|
|
13
|
+
* Anciens thèmes de couleur, remplacés par le thème clair et une couleur
|
|
14
|
+
* d'accentuation (le jaune, trop proche de l'ambre, devient PI-SPI)
|
|
15
|
+
*/
|
|
16
|
+
static readonly anciensThemes: Readonly<Record<string, string>>;
|
|
12
17
|
recuperer(): ConfigParams;
|
|
18
|
+
/** Convertit une seule fois un ancien thème de couleur en thème clair et couleur d'accentuation, et l'enregistre */
|
|
19
|
+
private migrerTheme;
|
|
13
20
|
modifier(key: string, value: string): Promise<void>;
|
|
14
21
|
}
|
|
15
22
|
//# sourceMappingURL=config_service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config_service.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/config/domain/services/config_service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAAuC,CAAC;AAE9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAAyB,CAAC;AAE5D,iEAAiE;AACjE,qBAAa,aAAc,YAAW,eAAe;IAKvC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB;IAJvD;;;OAGG;gBACkB,gBAAgB,EAAE,gBAAgB;IAEvD,SAAS,IAAI,YAAY;
|
|
1
|
+
{"version":3,"file":"config_service.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/config/domain/services/config_service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAqC,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAAuC,CAAC;AAE9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAAyB,CAAC;AAE5D,iEAAiE;AACjE,qBAAa,aAAc,YAAW,eAAe;IAKvC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB;IAJvD;;;OAGG;gBACkB,gBAAgB,EAAE,gBAAgB;IAEvD;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAU7D;IAEF,SAAS,IAAI,YAAY;IAOzB,oHAAoH;IACpH,OAAO,CAAC,WAAW;IAUb,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG1D"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Menu « Plus » de l'accueil. Le participant peut personnaliser ce menu
|
|
3
3
|
* pour y ajouter des fonctionnalités propres à son système.
|
|
4
|
+
* Même feuille que celles du profil : à ouvrir avec showModalBottomSheet
|
|
5
|
+
* sans `themed`, la feuille dessine elle-même son fond.
|
|
4
6
|
*/
|
|
5
7
|
export declare function HomeTabCompteMoreMenu(): import("react").JSX.Element;
|
|
6
8
|
//# sourceMappingURL=home_tab_compte_more_menu.d.ts.map
|
package/lib/typescript/src/modules/home/presentation/pages/home_tab_compte_more_menu.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home_tab_compte_more_menu.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/home/presentation/pages/home_tab_compte_more_menu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"home_tab_compte_more_menu.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/home/presentation/pages/home_tab_compte_more_menu.tsx"],"names":[],"mappings":"AAQA;;;;;GAKG;AACH,wBAAgB,qBAAqB,gCA4CpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile_parametre_page.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/profile/presentation/pages/parametre/profile_parametre_page.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profile_parametre_page.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/profile/presentation/pages/parametre/profile_parametre_page.tsx"],"names":[],"mappings":"AAkEA,8DAA8D;AAC9D,wBAAgB,oBAAoB,gCA4BnC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/** Choix du thème de
|
|
1
|
+
/** Choix du thème (système, clair, sombre) et de la couleur d'accentuation (route `profileParametreTheme`). */
|
|
2
2
|
export declare function ProfileParametrePageTheme(): import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=profile_parametre_page_theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile_parametre_page_theme.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/profile/presentation/pages/parametre/profile_parametre_page_theme.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profile_parametre_page_theme.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/profile/presentation/pages/parametre/profile_parametre_page_theme.tsx"],"names":[],"mappings":"AAmCA,+GAA+G;AAC/G,wBAAgB,yBAAyB,gCAsHxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile_page_avatar.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/profile/presentation/pages/profile_page_avatar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profile_page_avatar.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/profile/presentation/pages/profile_page_avatar.tsx"],"names":[],"mappings":"AAwBA,4DAA4D;AAC5D,wBAAgB,iBAAiB,gCAqFhC"}
|
package/lib/typescript/src/modules/profile/presentation/pages/profile_page_contacts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile_page_contacts.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/profile/presentation/pages/profile_page_contacts.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wCAAqC,CAAC;AAQrE;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;CAAE,+
|
|
1
|
+
{"version":3,"file":"profile_page_contacts.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/profile/presentation/pages/profile_page_contacts.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wCAAqC,CAAC;AAQrE;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;CAAE,+BAqElF"}
|
package/lib/typescript/src/modules/profile/presentation/pages/profile_page_contacts_actions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile_page_contacts_actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/profile/presentation/pages/profile_page_contacts_actions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profile_page_contacts_actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/profile/presentation/pages/profile_page_contacts_actions.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAqC,CAAC;AAChE,OAAO,EAAe,KAAK,YAAY,EAAE,MAAM,2CAAwC,CAAC;AAgBxF;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,KAAK,EACL,SAAS,GACV,EAAE;IACD,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAC9B,+BAoKA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qrcode_alias_page.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/qrcode/presentation/pages/qrcode_alias_page.tsx"],"names":[],"mappings":"AAgCA,kFAAkF;AAClF,wBAAgB,eAAe,
|
|
1
|
+
{"version":3,"file":"qrcode_alias_page.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/qrcode/presentation/pages/qrcode_alias_page.tsx"],"names":[],"mappings":"AAgCA,kFAAkF;AAClF,wBAAgB,eAAe,gCAkH9B"}
|
package/lib/typescript/src/modules/qrcode/presentation/pages/qrcode_alias_page_share.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qrcode_alias_page_share.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/qrcode/presentation/pages/qrcode_alias_page_share.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"qrcode_alias_page_share.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/qrcode/presentation/pages/qrcode_alias_page_share.tsx"],"names":[],"mappings":"AAOA,oEAAoE;AACpE,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,KAAK,EACL,WAAW,GACZ,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,+BAkCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_details_page.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/subscription/presentation/pages/subscription_details/subscription_details_page.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAqC,CAAC;AAoBxE,sFAAsF;AACtF,wBAAgB,uBAAuB,CAAC,EACtC,YAAY,EAAE,mBAAmB,EACjC,gBAAgB,GACjB,EAAE;IACD,YAAY,EAAE,YAAY,CAAC;IAC3B,2BAA2B;IAC3B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,+
|
|
1
|
+
{"version":3,"file":"subscription_details_page.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/subscription/presentation/pages/subscription_details/subscription_details_page.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAqC,CAAC;AAoBxE,sFAAsF;AACtF,wBAAgB,uBAAuB,CAAC,EACtC,YAAY,EAAE,mBAAmB,EACjC,gBAAgB,GACjB,EAAE;IACD,YAAY,EAAE,YAAY,CAAC;IAC3B,2BAA2B;IAC3B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,+BA+KA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_details_page_actions.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/subscription/presentation/pages/subscription_details/subscription_details_page_actions.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"subscription_details_page_actions.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/subscription/presentation/pages/subscription_details/subscription_details_page_actions.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAqC,CAAC;AAexE,kDAAkD;AAClD,wBAAgB,8BAA8B,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,EAAE,YAAY,CAAA;CAAE,+BAkE9F"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Modifier la note de l'abonnement (feuille du bas, se ferme avec la
|
|
3
|
-
* nouvelle note).
|
|
4
|
-
*
|
|
3
|
+
* nouvelle note). La note défile, Enregistrer reste visible au-dessus du
|
|
4
|
+
* clavier.
|
|
5
5
|
*/
|
|
6
6
|
export declare function SubscriptionDetailsPageNoteSheet({ note }: {
|
|
7
7
|
note?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_details_page_note_sheet.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/subscription/presentation/pages/subscription_details/subscription_details_page_note_sheet.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription_details_page_note_sheet.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/subscription/presentation/pages/subscription_details/subscription_details_page_note_sheet.tsx"],"names":[],"mappings":"AAaA;;;;GAIG;AACH,wBAAgB,gCAAgC,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,+BAwClF"}
|
package/lib/typescript/src/modules/subscription/presentation/pages/subscription_menu_widget.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription_menu_widget.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/subscription/presentation/pages/subscription_menu_widget.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription_menu_widget.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/subscription/presentation/pages/subscription_menu_widget.tsx"],"names":[],"mappings":"AAOA,8FAA8F;AAC9F,wBAAgB,sBAAsB,gCAgCrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_output_remote.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/transactions/infra/transaction_output_remote.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAsB,CAAC;AAE9C,OAAO,EAA2B,KAAK,MAAM,EAAE,MAAM,yBAAsB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAqB,MAAM,iCAA8B,CAAC;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA4C,CAAC;AAC1F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAoC,CAAC;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kEAA+D,CAAC;AAC/G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+DAA4D,CAAC;AACzG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,wEAAqE,CAAC;AAE1H,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAAyC,CAAC;AAoBrF,mCAAmC;AACnC,qBAAa,uBAAuB;IAClC,QAAQ,CAAC,MAAM,SAAgB;IAE/B,8BAA8B;IACxB,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,qBAAqB,EAAE,aAAa,GAAG,YAAY,CAAC,GAAG;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAsB7H,gCAAgC;IAC1B,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAKlD,8BAA8B;IACxB,QAAQ,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,WAAW,CAAC;IAMrE,iCAAiC;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,8BAA8B,GAAG,OAAO,CAAC,WAAW,CAAC;IAMjG,wCAAwC;IACxC,OAAO,CAAC,UAAU;
|
|
1
|
+
{"version":3,"file":"transaction_output_remote.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/transactions/infra/transaction_output_remote.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAsB,CAAC;AAE9C,OAAO,EAA2B,KAAK,MAAM,EAAE,MAAM,yBAAsB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAqB,MAAM,iCAA8B,CAAC;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA4C,CAAC;AAC1F,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAoC,CAAC;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kEAA+D,CAAC;AAC/G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+DAA4D,CAAC;AACzG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,wEAAqE,CAAC;AAE1H,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAAyC,CAAC;AAoBrF,mCAAmC;AACnC,qBAAa,uBAAuB;IAClC,QAAQ,CAAC,MAAM,SAAgB;IAE/B,8BAA8B;IACxB,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,qBAAqB,EAAE,aAAa,GAAG,YAAY,CAAC,GAAG;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAsB7H,gCAAgC;IAC1B,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAKlD,8BAA8B;IACxB,QAAQ,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,WAAW,CAAC;IAMrE,iCAAiC;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,8BAA8B,GAAG,OAAO,CAAC,WAAW,CAAC;IAMjG,wCAAwC;IACxC,OAAO,CAAC,UAAU;IASlB,0FAA0F;IACpF,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IA6BnG,8DAA8D;IACxD,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IAoCzE;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAiCtB,8CAA8C;IACxC,MAAM,CAAC,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,WAAW,CAAC;IAM7F,oEAAoE;IAC9D,MAAM,CAAC,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;CAK7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_details_page_actions.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAsC,KAAK,WAAW,EAAE,MAAM,uCAAoC,CAAC;AAc1G;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"transaction_details_page_actions.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAsC,KAAK,WAAW,EAAE,MAAM,uCAAoC,CAAC;AAc1G;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE,sCAkH1F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_details_page_actions_cancel.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_cancel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transaction_details_page_actions_cancel.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_cancel.tsx"],"names":[],"mappings":"AAaA,mFAAmF;AACnF,wBAAgB,mCAAmC,gCA4ClD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_details_page_actions_return.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_return.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transaction_details_page_actions_return.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_details/transaction_details_page_actions_return.tsx"],"names":[],"mappings":"AAaA,kFAAkF;AAClF,wBAAgB,mCAAmC,gCAqDlD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UEMOACountry } from '../../../../../shared/models/uemoa_countries.js';
|
|
2
|
+
import type { TransactionSendCommand } from '../../../domain/models/transaction_send/transaction_send_command.js';
|
|
3
|
+
import type { TransactionSendBloc } from '../../bloc/transaction_send/transaction_send_bloc.js';
|
|
4
|
+
/**
|
|
5
|
+
* Pays de l'institution financière : champ qui ouvre une feuille de
|
|
6
|
+
* sélection, avec recherche par nom ou par code. Changer de pays efface
|
|
7
|
+
* l'institution choisie.
|
|
8
|
+
*/
|
|
9
|
+
export declare function TransactionSendFormInputPays({ command, transactionSendBloc, }: {
|
|
10
|
+
command: TransactionSendCommand;
|
|
11
|
+
transactionSendBloc: TransactionSendBloc;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
|
+
/** Feuille de sélection d'un pays de l'UEMOA ; renvoie le pays choisi. */
|
|
14
|
+
export declare function SelectPays({ selected }: {
|
|
15
|
+
selected?: UEMOACountry;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=transaction_form_input_pays.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction_form_input_pays.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_form/transaction_form_input_pays.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,iDAA8C,CAAC;AAU5E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qEAAkE,CAAC;AAC/G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAmD,CAAC;AAG7F;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,OAAO,EACP,mBAAmB,GACpB,EAAE;IACD,OAAO,EAAE,sBAAsB,CAAC;IAChC,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C,+BAyBA;AAED,0EAA0E;AAC1E,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,YAAY,CAAA;CAAE,+BAiCnE"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { Participant } from '../../../domain/models/participant/participant.js';
|
|
2
2
|
import type { TransactionSendCommand } from '../../../domain/models/transaction_send/transaction_send_command.js';
|
|
3
3
|
import type { TransactionSendBloc } from '../../bloc/transaction_send/transaction_send_bloc.js';
|
|
4
|
-
/**
|
|
4
|
+
/** Institution financière du bénéficiaire : champ qui ouvre la liste des participants du pays choisi, avec recherche. */
|
|
5
5
|
export declare function TransactionSendFormInputPsp({ command, transactionSendBloc, participants, }: {
|
|
6
6
|
command: TransactionSendCommand;
|
|
7
7
|
transactionSendBloc: TransactionSendBloc;
|
|
8
8
|
participants: Participant[];
|
|
9
9
|
}): import("react").JSX.Element;
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Feuille de choix d'un participant, avec recherche ; renvoie le
|
|
12
|
+
* participant choisi. Les participants indisponibles sont grisés et ne
|
|
13
|
+
* peuvent pas être choisis, sauf avec [canSelectDisablePsp].
|
|
14
|
+
*/
|
|
11
15
|
export declare function SelectPsp({ canSelectDisablePsp, participants, pays, selected, }: {
|
|
12
16
|
canSelectDisablePsp?: boolean;
|
|
13
17
|
participants: Participant[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_form_input_psp.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_form/transaction_form_input_psp.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transaction_form_input_psp.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_form/transaction_form_input_psp.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mDAAgD,CAAC;AAClF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qEAAkE,CAAC;AAC/G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAmD,CAAC;AAG7F,yHAAyH;AACzH,wBAAgB,2BAA2B,CAAC,EAC1C,OAAO,EACP,mBAAmB,EACnB,YAAY,GACb,EAAE;IACD,OAAO,EAAE,sBAAsB,CAAC;IAChC,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B,+BAwBA;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EACxB,mBAA2B,EAC3B,YAAY,EACZ,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC/B,+BAuCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_form_page_othr.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_form/transaction_form_page_othr.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transaction_form_page_othr.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_form/transaction_form_page_othr.tsx"],"names":[],"mappings":"AAyBA;;;GAGG;AACH,wBAAgB,uBAAuB,uCA8FtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_form_page_verification.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_form/transaction_form_page_verification.tsx"],"names":[],"mappings":"AA8BA,0FAA0F;AAC1F,wBAAgB,2BAA2B,
|
|
1
|
+
{"version":3,"file":"transaction_form_page_verification.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_form/transaction_form_page_verification.tsx"],"names":[],"mappings":"AA8BA,0FAA0F;AAC1F,wBAAgB,2BAA2B,gCAmM1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_recents_nombre_widget.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_recents/transaction_recents_nombre_widget.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transaction_recents_nombre_widget.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_recents/transaction_recents_nombre_widget.tsx"],"names":[],"mappings":"AAiBA,gFAAgF;AAChF,wBAAgB,8BAA8B,gCAmD7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_rtp_page_actions.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wDAAqD,CAAC;AACxF,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,uCAAoC,CAAC;AAGzF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAiD,CAAC;AAe1F;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,EAAE,EACF,GAAG,EACH,KAAK,EACL,IAAI,EACJ,WAAW,GACZ,EAAE;IACD,EAAE,EAAE,WAAW,CAAC;IAChB,GAAG,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;CACtB,+
|
|
1
|
+
{"version":3,"file":"transaction_rtp_page_actions.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wDAAqD,CAAC;AACxF,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,uCAAoC,CAAC;AAGzF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAiD,CAAC;AAe1F;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,EAAE,EACF,GAAG,EACH,KAAK,EACL,IAAI,EACJ,WAAW,GACZ,EAAE;IACD,EAAE,EAAE,WAAW,CAAC;IAChB,GAAG,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;CACtB,+BAmFA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction_rtp_page_actions_reject.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions_reject.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transaction_rtp_page_actions_reject.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/transactions/presentation/pages/transaction_rtp/transaction_rtp_page_actions_reject.tsx"],"names":[],"mappings":"AAkCA,mEAAmE;AACnE,wBAAgB,+BAA+B,gCAoD9C"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Feuille de confirmation : [title] et [subtitle] centrés, puis Annuler et
|
|
3
|
+
* Confirmer fixés en bas (retournent `false` / `true` par défaut).
|
|
4
|
+
*/
|
|
2
5
|
export declare function ConfirmActionSheetWidget({ title, subtitle, confirmTitle, confirmAction, cancelTitle, cancelAction, }: {
|
|
3
6
|
title: string;
|
|
4
7
|
subtitle: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm_action_sheet_widget.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/confirm_action_sheet_widget.tsx"],"names":[],"mappings":"AAQA
|
|
1
|
+
{"version":3,"file":"confirm_action_sheet_widget.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/confirm_action_sheet_widget.tsx"],"names":[],"mappings":"AAQA;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,WAAW,EACX,YAAY,GACb,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,+BA8BA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom_progressbar.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/custom_progressbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,aAAa,EACb,aAAa,EACb,eAAe,EACf,IAAS,EACT,WAAiB,EACjB,QAAQ,GACT,EAAE;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,+
|
|
1
|
+
{"version":3,"file":"custom_progressbar.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/custom_progressbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,aAAa,EACb,aAAa,EACb,eAAe,EACf,IAAS,EACT,WAAiB,EACjB,QAAQ,GACT,EAAE;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,+BA2BA"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* Feuille de choix d'une image :
|
|
4
|
-
*
|
|
5
|
-
* l'utilisateur
|
|
3
|
+
* Feuille de choix d'une image : prendre une photo, la choisir dans la
|
|
4
|
+
* galerie, puis les [otherActions] (ex. SbSelectionOption « Supprimer »).
|
|
5
|
+
* [onSelect] reçoit l'URI locale de l'image (ou `null` si l'utilisateur
|
|
6
|
+
* annule).
|
|
6
7
|
*/
|
|
7
|
-
export declare function ImageSelectWidget({ title, onSelect, otherActions, }: {
|
|
8
|
+
export declare function ImageSelectWidget({ title, subtitle, onSelect, otherActions, }: {
|
|
8
9
|
title?: string;
|
|
10
|
+
subtitle?: string;
|
|
9
11
|
onSelect: (uri: string | null) => void;
|
|
10
12
|
otherActions?: ReactNode[];
|
|
11
13
|
}): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image_select_widget.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/image_select_widget.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image_select_widget.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/image_select_widget.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,YAAiB,GAClB,EAAE;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC;CAC5B,+BA0DA"}
|
|
@@ -28,8 +28,8 @@ export type NotificationDialogProps = {
|
|
|
28
28
|
btns?: NotificationBtn[];
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
31
|
+
* Feuille du bas affichant un succès / une erreur / une info : animation
|
|
32
|
+
* selon le [type], textes centrés puis bouton(s) sur toute la largeur. Le bouton retour est
|
|
33
33
|
* bloqué : seuls les boutons ferment la feuille.
|
|
34
34
|
*/
|
|
35
35
|
export declare function NotificationDialog({ type, message, title, subtitle, description, btnText, btnColor, animatedImage, btnAction, btns, }: NotificationDialogProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification_dialog.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/notification_dialog.tsx"],"names":[],"mappings":"AAWA,mEAAmE;AACnE,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,qBAAa,eAAe;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;gBAEpB,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE;CAKnF;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,WAAW,EACX,OAAO,EACP,QAAQ,EACR,aAAa,EACb,SAAS,EACT,IAAI,GACL,EAAE,uBAAuB,+
|
|
1
|
+
{"version":3,"file":"notification_dialog.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/notification_dialog.tsx"],"names":[],"mappings":"AAWA,mEAAmE;AACnE,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,qBAAa,eAAe;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;gBAEpB,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE;CAKnF;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,WAAW,EACX,OAAO,EACP,QAAQ,EACR,aAAa,EACb,SAAS,EACT,IAAI,GACL,EAAE,uBAAuB,+BAqEzB"}
|
|
@@ -1,15 +1,48 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { MaterialIcons } from '@expo/vector-icons';
|
|
2
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
3
|
+
type IconName = ComponentProps<typeof MaterialIcons>['name'];
|
|
4
|
+
/**
|
|
5
|
+
* Champ de formulaire qui ouvre une feuille de sélection ([onPress]) :
|
|
6
|
+
* [libelle] seul tant que rien n'est choisi, sinon [pastille], [libelle]
|
|
7
|
+
* en petit, [valeur] et éventuellement [detail] (code BIC…).
|
|
8
|
+
*/
|
|
9
|
+
export declare function SelectionChamp({ libelle, valeur, detail, pastille, onPress, chargement, actif, }: {
|
|
10
|
+
libelle: string;
|
|
11
|
+
valeur?: string | null;
|
|
12
|
+
detail?: string | null;
|
|
13
|
+
pastille?: ReactNode;
|
|
14
|
+
/** Absent : le champ ne réagit pas au toucher. */
|
|
15
|
+
onPress?: () => void;
|
|
16
|
+
/** Liste en cours de chargement : indicateur à la place de la flèche. */
|
|
17
|
+
chargement?: boolean;
|
|
18
|
+
/** `false` : champ grisé (ex. institution tant que le pays n'est pas choisi). */
|
|
19
|
+
actif?: boolean;
|
|
20
|
+
}): import("react").JSX.Element;
|
|
2
21
|
/**
|
|
3
22
|
* Feuille de sélection : poignée, [titre], [entete] facultatif, puis le
|
|
4
23
|
* [contenu] (qui défile s'il est trop long : utiliser un ScrollView).
|
|
5
24
|
* À ouvrir avec showModalBottomSheet.
|
|
6
25
|
*/
|
|
7
|
-
export declare function
|
|
26
|
+
export declare function SelectionSheet({ titre, titreSize, hauteurMax, entete, contenu, }: {
|
|
8
27
|
titre?: string;
|
|
9
28
|
titreSize?: number;
|
|
29
|
+
/** Hauteur maximale, en part de la hauteur de l'écran. */
|
|
30
|
+
hauteurMax?: number;
|
|
10
31
|
entete?: ReactNode;
|
|
11
32
|
contenu: ReactNode;
|
|
12
33
|
}): import("react").JSX.Element;
|
|
34
|
+
/** Liste d'une feuille de sélection : les [lignes], ou [vide] s'il n'y en a aucune. */
|
|
35
|
+
export declare function SbSelectionListe({ lignes, vide }: {
|
|
36
|
+
lignes: ReactNode[];
|
|
37
|
+
vide: string;
|
|
38
|
+
}): import("react").JSX.Element;
|
|
39
|
+
/** [texte] contient-il [motCle], sans tenir compte des accents ni de la casse ? */
|
|
40
|
+
export declare function selectionContient(texte: string | null | undefined, motCle: string): boolean;
|
|
41
|
+
/** Champ de recherche d'une feuille de sélection. */
|
|
42
|
+
export declare function SbSelectionRecherche({ hintText, onChanged }: {
|
|
43
|
+
hintText: string;
|
|
44
|
+
onChanged: (texte: string) => void;
|
|
45
|
+
}): import("react").JSX.Element;
|
|
13
46
|
/** Ligne d'une feuille de sélection : [pastille], [texte], [detail] facultatif et coche si elle est [choisie]. */
|
|
14
47
|
export declare function SbSelectionLigne({ pastille, texte, detail, choisie, onPress, }: {
|
|
15
48
|
pastille: ReactNode;
|
|
@@ -18,4 +51,38 @@ export declare function SbSelectionLigne({ pastille, texte, detail, choisie, onP
|
|
|
18
51
|
choisie: boolean;
|
|
19
52
|
onPress: () => void;
|
|
20
53
|
}): import("react").JSX.Element;
|
|
54
|
+
/** Pastille d'une ligne : un code (EUR, CIV…) ou une icône ; pleine si la ligne est choisie. */
|
|
55
|
+
export declare function SbSelectionPastille({ code, icone, choisie }: {
|
|
56
|
+
code?: string;
|
|
57
|
+
icone?: IconName;
|
|
58
|
+
choisie?: boolean;
|
|
59
|
+
}): import("react").JSX.Element;
|
|
60
|
+
/**
|
|
61
|
+
* Option d'une feuille d'actions : pastille avec [icone] ou [image]
|
|
62
|
+
* (asset), [titre], [sousTitre] et flèche vers l'écran ouvert. [couleur]
|
|
63
|
+
* remplace la couleur principale (ex. rouge pour une action destructive).
|
|
64
|
+
*/
|
|
65
|
+
export declare function SbSelectionOption({ icone, image, titre, sousTitre, onPress, couleur, }: {
|
|
66
|
+
icone?: IconName;
|
|
67
|
+
image?: number;
|
|
68
|
+
titre: string;
|
|
69
|
+
sousTitre?: string | null;
|
|
70
|
+
onPress: () => void;
|
|
71
|
+
couleur?: string;
|
|
72
|
+
}): import("react").JSX.Element;
|
|
73
|
+
/**
|
|
74
|
+
* Boutons fixés en bas d'une feuille, sous un trait : ils restent visibles
|
|
75
|
+
* quand le contenu défile ou que le clavier est ouvert. Les [boutons] sont
|
|
76
|
+
* côte à côte, sur la même largeur.
|
|
77
|
+
*/
|
|
78
|
+
export declare function SelectionBoutons({ boutons }: {
|
|
79
|
+
boutons: ReactNode[];
|
|
80
|
+
}): import("react").JSX.Element;
|
|
81
|
+
/** Choix d'une liste à choix unique (ex. motif d'annulation) : [texte] et rond coché si [choisi]. */
|
|
82
|
+
export declare function SelectionChoix({ texte, choisi, onPress }: {
|
|
83
|
+
texte: string;
|
|
84
|
+
choisi: boolean;
|
|
85
|
+
onPress: () => void;
|
|
86
|
+
}): import("react").JSX.Element;
|
|
87
|
+
export {};
|
|
21
88
|
//# sourceMappingURL=selection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/selection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../../../src/shared/widgets/selection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAmBvD,KAAK,QAAQ,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,MAAM,EACN,MAAM,EACN,QAAQ,EACR,OAAO,EACP,UAAkB,EAClB,KAAY,GACb,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,yEAAyE;IACzE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iFAAiF;IACjF,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,+BA0CA;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,SAAS,EACT,UAAiB,EACjB,MAAM,EACN,OAAO,GACR,EAAE;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,EAAE,SAAS,CAAC;CACpB,+BAqBA;AAED,uFAAuF;AACvF,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE;IAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,+BAcvF;AAED,mFAAmF;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAS3F;AAED,qDAAqD;AACrD,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,+BAiBrH;AAED,kHAAkH;AAClH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,GACR,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,+BA2BA;AAED,gGAAgG;AAChG,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAe,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,QAAQ,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,+BAa3H;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,KAAK,EACL,KAAK,EACL,SAAS,EACT,OAAO,EACP,OAAO,GACR,EAAE;IACD,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,+BAkCA;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,SAAS,EAAE,CAAA;CAAE,+BAUrE;AAED,qGAAqG;AACrG,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,+BAyBjH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-spi/app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "SDK React Native permettant d'intégrer PI-SPI (transactions, demande d'annulation, retour de fond, demande de paiement, QR Code, gestion des alias, gestion des abonnements, notifications, profil, compte) dans une application mobile existante.",
|
|
5
5
|
"homepage": "https://github.com/pisfn-sandbox/mobile-app-react-native-sdk.git",
|
|
6
6
|
"repository": {
|
package/src/core/api.ts
CHANGED
|
@@ -84,14 +84,23 @@ export class Api {
|
|
|
84
84
|
new ErrorInterceptor().attach(Api.client);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
/**
|
|
88
|
+
* En-tête de la clé d'API, seulement si elle est fournie
|
|
89
|
+
* ([PiSpiApiConfig.apiKey]) ; à ajouter aux appels vers l'API qui ne
|
|
90
|
+
* passent pas par [client] (flux SSE).
|
|
91
|
+
*/
|
|
92
|
+
static apiKeyHeaders(): Record<string, string> {
|
|
93
|
+
const { apiKey, apiKeyHeader } = Api.config.api;
|
|
94
|
+
return apiKey != null && apiKey.length > 0 ? { [apiKeyHeader]: apiKey } : {};
|
|
95
|
+
}
|
|
96
|
+
|
|
87
97
|
/** Options communes à toutes les instances axios du SDK. */
|
|
88
98
|
static baseOptions(): AxiosRequestConfig {
|
|
89
|
-
const { apiKey, apiKeyHeader } = Api.config.api;
|
|
90
99
|
return {
|
|
91
100
|
baseURL: Api.url,
|
|
92
101
|
// Clé d'API éventuelle : dans les options de base pour être aussi
|
|
93
102
|
// envoyée par les requêtes rejouées après un refresh du token.
|
|
94
|
-
headers:
|
|
103
|
+
headers: Api.apiKeyHeaders(),
|
|
95
104
|
timeout: 60_000, // 60 seconds
|
|
96
105
|
// Les listes sont envoyées comme `sens=debit&sens=credit` (comme Dio).
|
|
97
106
|
paramsSerializer: { indexes: null },
|
package/src/core/assets.ts
CHANGED
|
@@ -194,13 +194,6 @@ export class Images {
|
|
|
194
194
|
|
|
195
195
|
static readonly imageThemeSystem: number = require('../../assets/images/theme_system.png');
|
|
196
196
|
static readonly imageThemeLight: number = require('../../assets/images/theme_light.jpeg');
|
|
197
|
-
static readonly imageThemeLightBlue: number = require('../../assets/images/theme_light_blue.jpeg');
|
|
198
|
-
static readonly imageThemeLightGreen: number = require('../../assets/images/theme_light_green.jpeg');
|
|
199
|
-
static readonly imageThemeLightYellow: number = require('../../assets/images/theme_light_yellow.jpeg');
|
|
200
|
-
static readonly imageThemeLightRed: number = require('../../assets/images/theme_light_red.jpeg');
|
|
201
|
-
static readonly imageThemeLightOrange: number = require('../../assets/images/theme_light_orange.jpeg');
|
|
202
|
-
static readonly imageThemeLightPurple: number = require('../../assets/images/theme_light_purple.jpeg');
|
|
203
|
-
static readonly imageThemeLightPink: number = require('../../assets/images/theme_light_pink.jpeg');
|
|
204
197
|
static readonly imageThemeDark: number = require('../../assets/images/theme_dark.jpeg');
|
|
205
198
|
|
|
206
199
|
static readonly imageHomeThemeDefault: number = require('../../assets/images/home_default.jpeg');
|
package/src/core/di.ts
CHANGED
|
@@ -139,14 +139,19 @@ export class Di {
|
|
|
139
139
|
* aucune n'existe encore) est conservée telle quelle.
|
|
140
140
|
*/
|
|
141
141
|
private static async applyDefaultTheme(config: PiSpiSdkConfig): Promise<void> {
|
|
142
|
-
//
|
|
143
|
-
//
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
142
|
+
// La couleur d'un thème personnalisé (PiSpiAppConfig.customTheme)
|
|
143
|
+
// prime sur defaultAccent : elle est préparée ici et persistée sous
|
|
144
|
+
// son code.
|
|
145
|
+
const { customTheme, defaultTheme, defaultAccent } = config.appConfig;
|
|
146
|
+
Themer.customAccent = customTheme?.teintes() ?? null;
|
|
147
|
+
Themer.customThemeData = customTheme?.themeDataFourni ?? null;
|
|
148
|
+
Themer.resetCustomThemes();
|
|
149
|
+
if (defaultTheme != null) {
|
|
150
|
+
await Di.sharedPreferences.setString(ConfigKey.preferedTheme, defaultTheme);
|
|
151
|
+
}
|
|
152
|
+
const accent = customTheme != null ? Themer.customAccentCode : defaultAccent;
|
|
153
|
+
if (accent != null) {
|
|
154
|
+
await Di.sharedPreferences.setString(ConfigKey.preferedAccent, accent);
|
|
150
155
|
}
|
|
151
156
|
}
|
|
152
157
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Themer,
|
|
1
|
+
import { Themer, type AccentTeintes, type ThemeData } from './theme';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Thème personnalisé de l'application hôte, quand aucun des thèmes du SDK
|
|
@@ -6,18 +6,20 @@ import { Themer, lerpColor, type ThemeData } from './theme';
|
|
|
6
6
|
*
|
|
7
7
|
* Deux façons de le définir :
|
|
8
8
|
*
|
|
9
|
-
* - **Par ses couleurs** (cas courant) :
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
* - **Par ses couleurs** (cas courant) : la couleur devient la couleur
|
|
10
|
+
* d'accentuation « Thème de l'application » du SDK, en clair comme en
|
|
11
|
+
* sombre (une teinte plus lumineuse est dérivée pour le sombre). Seule
|
|
12
|
+
* `primary` est obligatoire ; les autres couleurs en sont dérivées si
|
|
13
|
+
* elles ne sont pas fournies.
|
|
13
14
|
*
|
|
14
15
|
* ```ts
|
|
15
16
|
* new PiSpiCustomTheme({ primary: '#00695C', secondary: '#B2DFDB' })
|
|
16
17
|
* ```
|
|
17
18
|
*
|
|
18
19
|
* - **Par un `ThemeData` complet** (avancé), avec
|
|
19
|
-
* `PiSpiCustomTheme.themeData`.
|
|
20
|
-
*
|
|
20
|
+
* `PiSpiCustomTheme.themeData`. Il remplace alors les thèmes clair et
|
|
21
|
+
* sombre du SDK. Partez de préférence du thème construit par le SDK,
|
|
22
|
+
* pour conserver tous les réglages dont ses écrans ont
|
|
21
23
|
* besoin (cartes, champs, boutons, textes) :
|
|
22
24
|
*
|
|
23
25
|
* ```ts
|
|
@@ -52,15 +54,20 @@ export class PiSpiCustomTheme {
|
|
|
52
54
|
return custom;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
/**
|
|
57
|
+
/** Thème complet fourni par l'hôte, `undefined` s'il est défini par ses couleurs. */
|
|
58
|
+
get themeDataFourni(): ThemeData | undefined {
|
|
59
|
+
return this.themeDataValue;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** Teintes claire et sombre de la couleur, `null` pour un thème complet. */
|
|
63
|
+
teintes(): { clair: AccentTeintes; sombre: AccentTeintes } | null {
|
|
64
|
+
if (this.themeDataValue != null) return null;
|
|
65
|
+
return Themer.teintesDepuis(this.primary!, this.secondary, this.tertiary, this.pressed);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/** Le `ThemeData` clair appliqué aux écrans du SDK. */
|
|
56
69
|
build(): ThemeData {
|
|
57
70
|
if (this.themeDataValue != null) return this.themeDataValue;
|
|
58
|
-
|
|
59
|
-
return Themer.colored(
|
|
60
|
-
main,
|
|
61
|
-
this.secondary ?? lerpColor(main, '#FFFFFF', 0.75),
|
|
62
|
-
this.tertiary ?? lerpColor(main, '#FFFFFF', 0.4),
|
|
63
|
-
this.pressed ?? lerpColor(main, '#000000', 0.2),
|
|
64
|
-
);
|
|
71
|
+
return Themer.depuisTeintes(this.teintes()!.clair);
|
|
65
72
|
}
|
|
66
73
|
}
|