@dsivd/prestations-ng 19.0.8 → 19.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/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "ng-update": {
41
41
  "migrations": "./schematics/migration-collection.json"
42
42
  },
43
- "version": "19.0.8",
43
+ "version": "19.1.0",
44
44
  "module": "fesm2022/dsivd-prestations-ng.mjs",
45
45
  "typings": "types/dsivd-prestations-ng.d.ts",
46
46
  "exports": {
@@ -783,6 +783,7 @@ declare class GesdemConfirmationComponent implements OnInit, OnChanges {
783
783
  logPdfDownloadedEvent(): void;
784
784
  private getFirstPageLink;
785
785
  private gotToTop;
786
+ private buildPdfRecapUrl;
786
787
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GesdemConfirmationComponent, never>;
787
788
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<GesdemConfirmationComponent, "gesdem-confirmation", never, { "reference": { "alias": "reference"; "required": false; "isSignal": true; }; "hasEmailSent": { "alias": "hasEmailSent"; "required": false; "isSignal": true; }; "showDownloadPdfRecapButton": { "alias": "showDownloadPdfRecapButton"; "required": false; "isSignal": true; }; "showLinkToMyDemandes": { "alias": "showLinkToMyDemandes"; "required": false; "isSignal": true; }; "demandeIsClosedOnTransmit": { "alias": "demandeIsClosedOnTransmit"; "required": false; "isSignal": true; }; "actionStatut": { "alias": "actionStatut"; "required": false; "isSignal": true; }; "connectedConfirmationMessage": { "alias": "connectedConfirmationMessage"; "required": false; "isSignal": true; }; "connectedConfirmationMessageIfAbandoned": { "alias": "connectedConfirmationMessageIfAbandoned"; "required": false; "isSignal": true; }; "downloadPdfRecapButtonText": { "alias": "downloadPdfRecapButtonText"; "required": false; "isSignal": true; }; "closeButtonText": { "alias": "closeButtonText"; "required": false; "isSignal": true; }; "closeButtonConnectedText": { "alias": "closeButtonConnectedText"; "required": false; "isSignal": true; }; "baseUrlPdf": { "alias": "baseUrlPdf"; "required": false; "isSignal": true; }; "hideReference": { "alias": "hideReference"; "required": false; "isSignal": true; }; "hideFeedbackNotificationOverride": { "alias": "hideFeedbackNotificationOverride"; "required": false; "isSignal": true; }; "successLabelDicoKeyFirstStep": { "alias": "successLabelDicoKeyFirstStep"; "required": false; "isSignal": true; }; "successLabelDicoAdditionalSteps": { "alias": "successLabelDicoAdditionalSteps"; "required": false; "isSignal": true; }; "closeHref": { "alias": "closeHref"; "required": false; "isSignal": true; }; "closeHrefConnected": { "alias": "closeHrefConnected"; "required": false; "isSignal": true; }; "setPageTitle": { "alias": "setPageTitle"; "required": false; "isSignal": true; }; }, { "reference": "referenceChange"; "hasEmailSent": "hasEmailSentChange"; "showDownloadPdfRecapButton": "showDownloadPdfRecapButtonChange"; "showLinkToMyDemandes": "showLinkToMyDemandesChange"; "demandeIsClosedOnTransmit": "demandeIsClosedOnTransmitChange"; "actionStatut": "actionStatutChange"; "connectedConfirmationMessage": "connectedConfirmationMessageChange"; "connectedConfirmationMessageIfAbandoned": "connectedConfirmationMessageIfAbandonedChange"; "downloadPdfRecapButtonText": "downloadPdfRecapButtonTextChange"; "closeButtonText": "closeButtonTextChange"; "closeButtonConnectedText": "closeButtonConnectedTextChange"; "baseUrlPdf": "baseUrlPdfChange"; "hideReference": "hideReferenceChange"; "hideFeedbackNotificationOverride": "hideFeedbackNotificationOverrideChange"; "successLabelDicoKeyFirstStep": "successLabelDicoKeyFirstStepChange"; "successLabelDicoAdditionalSteps": "successLabelDicoAdditionalStepsChange"; }, never, ["*"], true, never>;
788
789
  }
@@ -1139,6 +1140,13 @@ declare abstract class FoehnCheckableGroupComponent extends FoehnInputComponent<
1139
1140
  readonly autocomplete: _angular_core.InputSignalWithTransform<string | boolean, string | boolean>;
1140
1141
  readonly defaultElementValue: _angular_core.InputSignal<string>;
1141
1142
  readonly elementsLoaded: _angular_core.OutputEmitterRef<any>;
1143
+ /**
1144
+ * Values stored in the model that are no longer present in the list of
1145
+ * elements (e.g. a locality that has been removed from the reference data).
1146
+ * Used to warn the user that a previously saved value no longer exists.
1147
+ */
1148
+ readonly missingModelValues: Signal<any[]>;
1149
+ readonly hasMissingModelValue: Signal<boolean>;
1142
1150
  groupedElements: FormSelectOptionGroup[];
1143
1151
  protected readonly httpClient: HttpClient;
1144
1152
  protected readonly multiple: Signal<boolean>;
@@ -1159,10 +1167,23 @@ declare abstract class FoehnCheckableGroupComponent extends FoehnInputComponent<
1159
1167
  getDisabled(element: any): boolean;
1160
1168
  getElementDisabled(element: any): boolean;
1161
1169
  onCheck(element: any, valueEmitted: any, fireModelChange?: boolean): void;
1170
+ /**
1171
+ * Builds a human readable representation of a model value that is no longer
1172
+ * present in the list of elements.
1173
+ */
1174
+ getMissingValueLabel(value: any): string;
1162
1175
  isElementSelected(element: any): boolean;
1163
1176
  reset(): void;
1164
1177
  refreshElementsUrl(): void;
1165
1178
  protected findIndexInModel(value: any): number;
1179
+ private isValueInElements;
1180
+ /**
1181
+ * Whether values absent from the list of elements should be reported as
1182
+ * "missing". `true` by default (select, radio, checkbox). Overridden by
1183
+ * components where an absent value can be legitimate — e.g. an autocomplete
1184
+ * accepting custom values or fed by a dynamic suggestion list.
1185
+ */
1186
+ protected detectMissingModelValues(): boolean;
1166
1187
  protected areValuesEquals(value1: any, value2: any): boolean;
1167
1188
  protected onElementsRetrieved(): void;
1168
1189
  private getGroupedElements;
@@ -1253,6 +1274,7 @@ declare class FoehnAutocompleteComponent extends FoehnCheckableGroupComponent im
1253
1274
  showSuggestionsWhenInputHasFocusAndIsEmpty(val: string): void;
1254
1275
  handleSearchInputChange(value: string): void;
1255
1276
  onDynamicElementsChange(change: SimpleChange): void;
1277
+ protected detectMissingModelValues(): boolean;
1256
1278
  private clearOnBlurTimeout;
1257
1279
  private setSelectedElement;
1258
1280
  private setInputValue;
@@ -1794,6 +1816,12 @@ declare class FormatIdePipe implements PipeTransform {
1794
1816
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<FormatIdePipe, "formatIde", true>;
1795
1817
  }
1796
1818
 
1819
+ declare class LineBreakAsHtmlPipe implements PipeTransform {
1820
+ transform(text: string): string;
1821
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineBreakAsHtmlPipe, never>;
1822
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<LineBreakAsHtmlPipe, "lineBreakAsHtml", true>;
1823
+ }
1824
+
1797
1825
  declare const GrowlType: {
1798
1826
  SUCCESS: string;
1799
1827
  INFO: string;
@@ -3704,5 +3732,5 @@ declare class SdkLogsService {
3704
3732
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<SdkLogsService>;
3705
3733
  }
3706
3734
 
3707
- export { APP_INFO_API_URL, AbstractFoehnUploaderComponent, AbstractListDetailPageComponent, AbstractMenuPageComponent, AbstractPageComponent, AbstractPageFromMenuComponent, ActionStatut, Address, AddressTypeLight, ApplicationInfo, ApplicationInfoService, BAD_PARAMS_HELP_TEXT, BoDocumentError, BoDocumentsWithErrors, BoMultiUploadService, Breadcrumb, BreadcrumbEventService, BreadcrumbItem, CAPTCHA_ERROR_NAME, CURRENCY_REGEXP, Calendar, Canton, Captcha, ChunkLoadErrorHandler, ComponentError, Configuration, Country, CurrencyHelper, CurrentWeek, DECIMALS_SEPARATOR, DEFAULT_INTERNATIONAL_AND_NO_SWISS, DEFAULT_INTERNATIONAL_AND_NO_SWISS_MOBILE, DEFAULT_INTERNATIONAL_AND_NO_SWISS_PHONE, DEFAULT_INTERNATIONAL_HELP_TEXT, DEFAULT_PREFIX, DEFAULT_SWISS_HELP_TEXT, DEFAULT_SWISS_MOBILE_PHONE_HELP_TEXT, DEFAULT_SWISS_PHONE_HELP_TEXT, DICTIONARY_BASE_URL, DateHelper, DatePickerHelper, DatePickerNavigationHelper, DayMonth, DaySlots, DemandeExpirationService, DemandeHelper, DisplayCurrencyPipe, DisplayDatePipe, District, Document, DocumentError, DocumentReference, DocumentReferenceWithFile, DocumentsWithErrors, DropdownMenuGroup, DropdownMenuItem, EPaymentService, EtapeInfo, FEEDBACK_USAGERS_LOCAL_STORAGE_PREFIX, FORM_SUPPORT_CYBER_TITLE_FALLBACK, FocusedDay, FoehnAbbrComponent, FoehnAgendaComponent, FoehnAgendaNavigationComponent, FoehnAgendaTimeslotPanelComponent, FoehnAutocompleteComponent, FoehnBoMultiUploadComponent, FoehnBooleanCheckboxComponent, FoehnBooleanRadioComponent, FoehnBreadcrumbComponent, FoehnCheckableGroupComponent, FoehnCheckboxComponent, FoehnConfirmModalComponent, FoehnConfirmModalContent, FoehnConfirmModalService, FoehnDateComponent, FoehnDatePickerButtonComponent, FoehnDatePickerComponent, FoehnDateTimeComponent, FoehnDecisionElectroniqueComponent, FoehnDisplayAddressComponent, FoehnDropdownMenuComponent, FoehnErrorPillComponent, FoehnFeedbackNotificationComponent, FoehnFormComponent, FoehnGlobalUploadProgressBarComponent, FoehnHeaderComponent, FoehnHelpModalComponent, FoehnIconCalendarComponent, FoehnIconCheckComponent, FoehnIconCheckSquareOComponent, FoehnIconChevronDownComponent, FoehnIconChevronLeftComponent, FoehnIconChevronRightComponent, FoehnIconChevronUpComponent, FoehnIconClockComponent, FoehnIconCommentDotsComponent, FoehnIconEditComponent, FoehnIconExternalLinkAltComponent, FoehnIconFilePdfComponent, FoehnIconInfoCircleComponent, FoehnIconLockComponent, FoehnIconMapMarkerComponent, FoehnIconMinusCircleComponent, FoehnIconPencilComponent, FoehnIconPlusCircleComponent, FoehnIconPlusSquareComponent, FoehnIconSearchComponent, FoehnIconTimesComponent, FoehnIconTrashAltComponent, FoehnIconUnlockAltComponent, FoehnIconUserComponent, FoehnInputAddressComponent, FoehnInputComponent, FoehnInputEmailComponent, FoehnInputForeignLocalityComponent, FoehnInputForeignStreetComponent, FoehnInputHiddenComponent, FoehnInputNav13Component, FoehnInputNumberComponent, FoehnInputPasswordComponent, FoehnInputPhoneComponent, FoehnInputPrefixedTextComponent, FoehnInputStringComponent, FoehnInputTextComponent, FoehnInputTextareaComponent, FoehnListComponent, FoehnListItem, FoehnListSummaryComponent, FoehnMenuItemComponent, FoehnMenuItemTransmitComponent, FoehnModalComponent, FoehnMultiUploadComponent, FoehnMultiselectAutocompleteComponent, FoehnNavigationComponent, FoehnNavigationService, FoehnNotfoundComponent, FoehnPageComponent, FoehnPageCounterComponent, FoehnPageExpirationTimerComponent, FoehnPageModalComponent, FoehnPageService, FoehnPictureUploadComponent, FoehnRadioComponent, FoehnRecapSectionComponent, FoehnRemainingAlertsSummaryComponent, FoehnSelectComponent, FoehnSimpleNavigationComponent, FoehnSkipLinkComponent, FoehnStatusProgressBarComponent, FoehnTableColumnConfiguration, FoehnTableComponent, FoehnTablePageChangeEvent, FoehnTimeComponent, FoehnTransmitWaitingModalComponent, FoehnTransmitWaitingModalService, FoehnUploadProgressBarComponent, FoehnUserConnectedAsComponent, FoehnValidationAlertSummaryComponent, FoehnValidationAlertsComponent, FooterLink, FormMetadata, FormPostResponse, FormSelectOption, FormatAvsPipe, FormatIdePipe, GESDEM_MAX_DATA_LENGTH, GesdemActionRecoveryLoginComponent, GesdemActionRecoveryRegistrationComponent, GesdemConfirmationComponent, GesdemErrorComponent, GesdemEventService, GesdemHandlerService, GesdemStatutUtils, GlobalUploadProgressService, GrowlBrokerService, GrowlMessage, GrowlType, HTTP_LOADER_FILTERED_URL, I18nForm, IAM_ACV_OIDC_REDIRECT_LOCATION_REGEX, IAM_ACV_REDIRECT_LOCATION_REGEX, IbanFormatterDirective, IdeFormatterDirective, IntervalHelper, Locality, MonthYear, MultiUploadService, Municipality, NDCFormatterDirective, NavigationDirection, NumberCurrencyFormatterDirective, OIDC_ENABLED, ObjectHelper, PORTAIL_BASE_URL_INT, PORTAIL_BASE_URL_PROD, PORTAIL_BASE_URL_VAL, PageChangeEvent, PageUploadLimitService, PaginationWeek, PendingFiles, PendingPaymentComponent, PendingUploadService, PlaceOfOrigin, Portail, PostalLocality, Preferences, RECAPTCHA_API_URL, RecaptchaService, RedirectComponent, RegisterNgModelService, RowElement, SESSION_INFO_API_URL, SWISS_ISO_ID, ScrollHelper, SdkDictionaryPipe, SdkDictionaryService, SdkEpaymentComponent, SdkEvent, SdkEventType, SdkEventsLoggerService, SdkLog, SdkLogLevel, SdkLogsService, SdkRecaptchaComponent, SdkStatisticsService, SelectedSlot, Session, SessionInfo, SessionInfoData, SessionInfoWithApplicationService, Street, StreetNumber, StringHelper, THOUSANDS_SEPARATOR, TRANSMIT_WAITING_MODAL_DELAY_IN_MILLISECONDS, TableSort, UploadProgress, UploadProgressService, UploaderHelper, ValidationHandlerService, formatDecimalCurrency, formatNonDecimalCurrency, formatNumberAsGiven, gesdemLoaderGuard, providePrestationsNgCore, replaceAll };
3735
+ export { APP_INFO_API_URL, AbstractFoehnUploaderComponent, AbstractListDetailPageComponent, AbstractMenuPageComponent, AbstractPageComponent, AbstractPageFromMenuComponent, ActionStatut, Address, AddressTypeLight, ApplicationInfo, ApplicationInfoService, BAD_PARAMS_HELP_TEXT, BoDocumentError, BoDocumentsWithErrors, BoMultiUploadService, Breadcrumb, BreadcrumbEventService, BreadcrumbItem, CAPTCHA_ERROR_NAME, CURRENCY_REGEXP, Calendar, Canton, Captcha, ChunkLoadErrorHandler, ComponentError, Configuration, Country, CurrencyHelper, CurrentWeek, DECIMALS_SEPARATOR, DEFAULT_INTERNATIONAL_AND_NO_SWISS, DEFAULT_INTERNATIONAL_AND_NO_SWISS_MOBILE, DEFAULT_INTERNATIONAL_AND_NO_SWISS_PHONE, DEFAULT_INTERNATIONAL_HELP_TEXT, DEFAULT_PREFIX, DEFAULT_SWISS_HELP_TEXT, DEFAULT_SWISS_MOBILE_PHONE_HELP_TEXT, DEFAULT_SWISS_PHONE_HELP_TEXT, DICTIONARY_BASE_URL, DateHelper, DatePickerHelper, DatePickerNavigationHelper, DayMonth, DaySlots, DemandeExpirationService, DemandeHelper, DisplayCurrencyPipe, DisplayDatePipe, District, Document, DocumentError, DocumentReference, DocumentReferenceWithFile, DocumentsWithErrors, DropdownMenuGroup, DropdownMenuItem, EPaymentService, EtapeInfo, FEEDBACK_USAGERS_LOCAL_STORAGE_PREFIX, FORM_SUPPORT_CYBER_TITLE_FALLBACK, FocusedDay, FoehnAbbrComponent, FoehnAgendaComponent, FoehnAgendaNavigationComponent, FoehnAgendaTimeslotPanelComponent, FoehnAutocompleteComponent, FoehnBoMultiUploadComponent, FoehnBooleanCheckboxComponent, FoehnBooleanRadioComponent, FoehnBreadcrumbComponent, FoehnCheckableGroupComponent, FoehnCheckboxComponent, FoehnConfirmModalComponent, FoehnConfirmModalContent, FoehnConfirmModalService, FoehnDateComponent, FoehnDatePickerButtonComponent, FoehnDatePickerComponent, FoehnDateTimeComponent, FoehnDecisionElectroniqueComponent, FoehnDisplayAddressComponent, FoehnDropdownMenuComponent, FoehnErrorPillComponent, FoehnFeedbackNotificationComponent, FoehnFormComponent, FoehnGlobalUploadProgressBarComponent, FoehnHeaderComponent, FoehnHelpModalComponent, FoehnIconCalendarComponent, FoehnIconCheckComponent, FoehnIconCheckSquareOComponent, FoehnIconChevronDownComponent, FoehnIconChevronLeftComponent, FoehnIconChevronRightComponent, FoehnIconChevronUpComponent, FoehnIconClockComponent, FoehnIconCommentDotsComponent, FoehnIconEditComponent, FoehnIconExternalLinkAltComponent, FoehnIconFilePdfComponent, FoehnIconInfoCircleComponent, FoehnIconLockComponent, FoehnIconMapMarkerComponent, FoehnIconMinusCircleComponent, FoehnIconPencilComponent, FoehnIconPlusCircleComponent, FoehnIconPlusSquareComponent, FoehnIconSearchComponent, FoehnIconTimesComponent, FoehnIconTrashAltComponent, FoehnIconUnlockAltComponent, FoehnIconUserComponent, FoehnInputAddressComponent, FoehnInputComponent, FoehnInputEmailComponent, FoehnInputForeignLocalityComponent, FoehnInputForeignStreetComponent, FoehnInputHiddenComponent, FoehnInputNav13Component, FoehnInputNumberComponent, FoehnInputPasswordComponent, FoehnInputPhoneComponent, FoehnInputPrefixedTextComponent, FoehnInputStringComponent, FoehnInputTextComponent, FoehnInputTextareaComponent, FoehnListComponent, FoehnListItem, FoehnListSummaryComponent, FoehnMenuItemComponent, FoehnMenuItemTransmitComponent, FoehnModalComponent, FoehnMultiUploadComponent, FoehnMultiselectAutocompleteComponent, FoehnNavigationComponent, FoehnNavigationService, FoehnNotfoundComponent, FoehnPageComponent, FoehnPageCounterComponent, FoehnPageExpirationTimerComponent, FoehnPageModalComponent, FoehnPageService, FoehnPictureUploadComponent, FoehnRadioComponent, FoehnRecapSectionComponent, FoehnRemainingAlertsSummaryComponent, FoehnSelectComponent, FoehnSimpleNavigationComponent, FoehnSkipLinkComponent, FoehnStatusProgressBarComponent, FoehnTableColumnConfiguration, FoehnTableComponent, FoehnTablePageChangeEvent, FoehnTimeComponent, FoehnTransmitWaitingModalComponent, FoehnTransmitWaitingModalService, FoehnUploadProgressBarComponent, FoehnUserConnectedAsComponent, FoehnValidationAlertSummaryComponent, FoehnValidationAlertsComponent, FooterLink, FormMetadata, FormPostResponse, FormSelectOption, FormatAvsPipe, FormatIdePipe, GESDEM_MAX_DATA_LENGTH, GesdemActionRecoveryLoginComponent, GesdemActionRecoveryRegistrationComponent, GesdemConfirmationComponent, GesdemErrorComponent, GesdemEventService, GesdemHandlerService, GesdemStatutUtils, GlobalUploadProgressService, GrowlBrokerService, GrowlMessage, GrowlType, HTTP_LOADER_FILTERED_URL, I18nForm, IAM_ACV_OIDC_REDIRECT_LOCATION_REGEX, IAM_ACV_REDIRECT_LOCATION_REGEX, IbanFormatterDirective, IdeFormatterDirective, IntervalHelper, LineBreakAsHtmlPipe, Locality, MonthYear, MultiUploadService, Municipality, NDCFormatterDirective, NavigationDirection, NumberCurrencyFormatterDirective, OIDC_ENABLED, ObjectHelper, PORTAIL_BASE_URL_INT, PORTAIL_BASE_URL_PROD, PORTAIL_BASE_URL_VAL, PageChangeEvent, PageUploadLimitService, PaginationWeek, PendingFiles, PendingPaymentComponent, PendingUploadService, PlaceOfOrigin, Portail, PostalLocality, Preferences, RECAPTCHA_API_URL, RecaptchaService, RedirectComponent, RegisterNgModelService, RowElement, SESSION_INFO_API_URL, SWISS_ISO_ID, ScrollHelper, SdkDictionaryPipe, SdkDictionaryService, SdkEpaymentComponent, SdkEvent, SdkEventType, SdkEventsLoggerService, SdkLog, SdkLogLevel, SdkLogsService, SdkRecaptchaComponent, SdkStatisticsService, SelectedSlot, Session, SessionInfo, SessionInfoData, SessionInfoWithApplicationService, Street, StreetNumber, StringHelper, THOUSANDS_SEPARATOR, TRANSMIT_WAITING_MODAL_DELAY_IN_MILLISECONDS, TableSort, UploadProgress, UploadProgressService, UploaderHelper, ValidationHandlerService, formatDecimalCurrency, formatNonDecimalCurrency, formatNumberAsGiven, gesdemLoaderGuard, providePrestationsNgCore, replaceAll };
3708
3736
  export type { BreadcrumbConfiguration, BrowserInfo, DictionaryType, FoehnListItemDescription, FoehnRecapSection, FoehnRecapSectionElement, FormError, HasCustomErrors, HelpModal, Image, Language, PlaceholderType };
Binary file