@solcre-org/core-ui 2.15.32 → 2.15.34

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.
@@ -142,7 +142,7 @@
142
142
  },
143
143
  "scheduler": {
144
144
  "rooms": "Meeting room booking",
145
- "people": "personas",
145
+ "people": "empleados",
146
146
  "january": "Enero",
147
147
  "february": "Febrero",
148
148
  "march": "Marzo",
@@ -798,8 +798,8 @@
798
798
  }
799
799
  },
800
800
  "peoples": {
801
- "title": "Personas",
802
- "list": "Lista de personas",
801
+ "title": "Empleados",
802
+ "list": "Lista de empleados",
803
803
  "name": "Name",
804
804
  "id": "ID",
805
805
  "full_name": "Name completo",
@@ -879,7 +879,7 @@
879
879
  "company_azf_procedure": "Planilla de procedimiento AZF",
880
880
  "company_legals": "Planilla de legales",
881
881
  "file_template": "Plantilla",
882
- "company_employees_bulk": "Planilla de carga masiva de personas"
882
+ "company_employees_bulk": "Planilla de carga masiva de empleados"
883
883
  },
884
884
  "name_placeholder": "Ingrese el nombre de la plantilla",
885
885
  "details_placeholder": "Ingrese los detalles de la plantilla",
@@ -906,13 +906,13 @@
906
906
  "title": "Onboarding",
907
907
  "subnav": {
908
908
  "company_data": "Datos de la empresa",
909
- "people": "Personas",
909
+ "people": "Empleados",
910
910
  "status_process": "Status proceso ingreso",
911
911
  "documentation": "Documentación",
912
912
  "templates": "Plantillas"
913
913
  },
914
914
  "company_data_hint": "Por favor complete los datos de la empresa para poder iniciar el proceso de Onboarding.",
915
- "people_hint": "Puede empezar a cargar individualmente personas a su empresa a través del formulario, o masivamente usando la planilla"
915
+ "people_hint": "Puede empezar a cargar individualmente empleados a su empresa a través del formulario, o masivamente usando la planilla"
916
916
  },
917
917
  "company-data": {
918
918
  "general": {
@@ -960,9 +960,9 @@
960
960
  }
961
961
  },
962
962
  "peoples": {
963
- "charge_people": "Carga de personas",
964
- "masive_charge": "Carga masiva de personas",
965
- "charged_peoples": "Personas cargadas",
963
+ "charge_people": "Carga de empleados",
964
+ "masive_charge": "Carga masiva de empleados",
965
+ "charged_peoples": "Empleados cargadas",
966
966
  "first_name": "Name",
967
967
  "last_name": "Apellido",
968
968
  "document": "Documento",
@@ -993,7 +993,7 @@
993
993
  "is_emergency_contact": "Es contacto de emergencia",
994
994
  "mailbox_access": "Acceso a buzonera",
995
995
  "uses_garage": "Utiliza cochera",
996
- "file": "Personas a subir",
996
+ "file": "Empleados a subir",
997
997
  "file_placeholder": "Seleccione el archivo",
998
998
  "file_required": "El archivo es requerido",
999
999
  "massive_charge_description": "Utilice el siguiente documento como base para cargar masivamente:",
@@ -144,7 +144,7 @@
144
144
  },
145
145
  "scheduler": {
146
146
  "rooms": "Reserva de salas",
147
- "people": "personas",
147
+ "people": "empleados",
148
148
  "january": "Enero",
149
149
  "february": "Febrero",
150
150
  "march": "Marzo",
@@ -410,7 +410,8 @@
410
410
  "waste_collection_type_options": {
411
411
  "none": "Ninguno",
412
412
  "morning": "Matutino",
413
- "evening": "Vespertino"
413
+ "evening": "Vespertino",
414
+ "both": "Ambos"
414
415
  },
415
416
  "waste_collection_days": {
416
417
  "monday": "Lunes",
@@ -801,8 +802,8 @@
801
802
  }
802
803
  },
803
804
  "peoples": {
804
- "title": "Personas",
805
- "list": "Lista de personas",
805
+ "title": "Empleados",
806
+ "list": "Lista de empleados",
806
807
  "name": "Nombre",
807
808
  "id": "ID",
808
809
  "full_name": "Nombre completo",
@@ -883,7 +884,7 @@
883
884
  "company_azf_procedure": "Planilla de procedimiento AZF",
884
885
  "company_legals": "Planilla de legales",
885
886
  "file_template": "Plantilla",
886
- "company_employees_bulk": "Planilla de carga masiva de personas"
887
+ "company_employees_bulk": "Planilla de carga masiva de empleados"
887
888
  },
888
889
  "name_placeholder": "Ingrese el nombre de la plantilla",
889
890
  "details_placeholder": "Ingrese los detalles de la plantilla",
@@ -910,13 +911,13 @@
910
911
  "title": "Onboarding",
911
912
  "subnav": {
912
913
  "company_data": "Datos de la empresa",
913
- "people": "Personas",
914
+ "people": "Empleados",
914
915
  "status_process": "Status proceso ingreso",
915
916
  "documentation": "Documentación",
916
917
  "templates": "Plantillas"
917
918
  },
918
919
  "company_data_hint": "Por favor complete los datos de la empresa para poder iniciar el proceso de Onboarding.",
919
- "people_hint": "Puede empezar a cargar individualmente personas a su empresa a través del formulario, o masivamente usando la planilla"
920
+ "people_hint": "Puede empezar a cargar individualmente empleados a su empresa a través del formulario, o masivamente usando la planilla"
920
921
  },
921
922
  "company-data": {
922
923
  "general": {
@@ -964,9 +965,9 @@
964
965
  }
965
966
  },
966
967
  "peoples": {
967
- "charge_people": "Carga de personas",
968
- "masive_charge": "Carga masiva de personas",
969
- "charged_peoples": "Personas cargadas",
968
+ "charge_people": "Carga de empleados",
969
+ "masive_charge": "Carga masiva de empleados",
970
+ "charged_peoples": "Empleados cargadas",
970
971
  "first_name": "Nombre",
971
972
  "last_name": "Apellido",
972
973
  "document": "Documento",
@@ -997,7 +998,7 @@
997
998
  "is_emergency_contact": "Es contacto de emergencia",
998
999
  "mailbox_access": "Acceso a buzonera",
999
1000
  "uses_garage": "Utiliza cochera",
1000
- "file": "Personas a subir",
1001
+ "file": "Empleados a subir",
1001
1002
  "file_placeholder": "Seleccione el archivo",
1002
1003
  "file_required": "El archivo es requerido",
1003
1004
  "massive_charge_description": "Utilice el siguiente documento como base para cargar masivamente:",
@@ -570,6 +570,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
570
570
 
571
571
  class DateFieldComponent extends BaseFieldComponent {
572
572
  elementRef;
573
+ isPickerOpen = false;
573
574
  minDate = computed(() => {
574
575
  const fieldCfg = this.field();
575
576
  const dateConfig = fieldCfg.dateConfig;
@@ -665,8 +666,12 @@ class DateFieldComponent extends BaseFieldComponent {
665
666
  initializeDateInput() {
666
667
  const input = this.elementRef.nativeElement.querySelector('input[type="date"]');
667
668
  if (input) {
668
- input.addEventListener('click', this.showDatePicker.bind(this));
669
- input.addEventListener('focus', this.showDatePicker.bind(this));
669
+ input.addEventListener('blur', () => {
670
+ this.isPickerOpen = false;
671
+ });
672
+ input.addEventListener('change', () => {
673
+ this.isPickerOpen = false;
674
+ });
670
675
  input.addEventListener('input', this.updateHasValue.bind(this));
671
676
  this.updateHasValue({ target: input });
672
677
  }
@@ -674,19 +679,27 @@ class DateFieldComponent extends BaseFieldComponent {
674
679
  removeDateInputListeners() {
675
680
  const input = this.elementRef.nativeElement.querySelector('input[type="date"]');
676
681
  if (input) {
677
- input.removeEventListener('click', this.showDatePicker.bind(this));
678
- input.removeEventListener('focus', this.showDatePicker.bind(this));
682
+ input.removeEventListener('blur', () => {
683
+ this.isPickerOpen = false;
684
+ });
685
+ input.removeEventListener('change', () => {
686
+ this.isPickerOpen = false;
687
+ });
679
688
  input.removeEventListener('input', this.updateHasValue.bind(this));
680
689
  }
681
690
  }
682
- showDatePicker(event) {
683
- const input = event.target;
684
- try {
685
- if (input.showPicker && typeof input.showPicker === 'function') {
686
- input.showPicker();
691
+ showDatePicker(input) {
692
+ if (!this.isPickerOpen) {
693
+ try {
694
+ if (input.showPicker && typeof input.showPicker === 'function') {
695
+ input.showPicker();
696
+ this.isPickerOpen = true;
697
+ }
698
+ }
699
+ catch (error) {
700
+ this.isPickerOpen = false;
687
701
  }
688
702
  }
689
- catch (error) { }
690
703
  }
691
704
  updateHasValue(event) {
692
705
  if (event.target.value) {
@@ -700,13 +713,19 @@ class DateFieldComponent extends BaseFieldComponent {
700
713
  this.onBlur();
701
714
  }
702
715
  onCalendarClick(event) {
716
+ event.preventDefault();
717
+ event.stopPropagation();
703
718
  const button = event.target;
704
719
  const input = button?.closest('.c-entry-input')?.querySelector('input[type="date"]');
705
- if (input && input.showPicker && typeof input.showPicker === 'function') {
706
- try {
707
- input.showPicker();
720
+ if (input) {
721
+ if (this.isPickerOpen) {
722
+ input.blur();
723
+ this.isPickerOpen = false;
724
+ }
725
+ else {
726
+ input.focus();
727
+ this.showDatePicker(input);
708
728
  }
709
- catch (error) { }
710
729
  }
711
730
  }
712
731
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DateFieldComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
@@ -16197,12 +16216,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
16197
16216
  // Este archivo es generado automáticamente por scripts/update-version.js
16198
16217
  // No edites manualmente este archivo
16199
16218
  const VERSION = {
16200
- full: '2.15.32',
16219
+ full: '2.15.34',
16201
16220
  major: 2,
16202
16221
  minor: 15,
16203
- patch: 32,
16204
- timestamp: '2025-11-10T15:59:54.714Z',
16205
- buildDate: '10/11/2025'
16222
+ patch: 34,
16223
+ timestamp: '2025-11-12T16:27:37.988Z',
16224
+ buildDate: '12/11/2025'
16206
16225
  };
16207
16226
 
16208
16227
  class MainNavComponent {
@@ -18373,6 +18392,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
18373
18392
  }]
18374
18393
  }] });
18375
18394
 
18395
+ class RedirectUrlService {
18396
+ REDIRECT_URL_KEY = 'redirect_after_login';
18397
+ setRedirectUrl(url) {
18398
+ if (url && url !== '/app/auth' && url !== '/app' && !url.includes('/auth')) {
18399
+ sessionStorage.setItem(this.REDIRECT_URL_KEY, url);
18400
+ }
18401
+ }
18402
+ getRedirectUrl() {
18403
+ return sessionStorage.getItem(this.REDIRECT_URL_KEY);
18404
+ }
18405
+ getAndClearRedirectUrl() {
18406
+ const url = this.getRedirectUrl();
18407
+ this.clearRedirectUrl();
18408
+ return url;
18409
+ }
18410
+ clearRedirectUrl() {
18411
+ sessionStorage.removeItem(this.REDIRECT_URL_KEY);
18412
+ }
18413
+ hasRedirectUrl() {
18414
+ return !!this.getRedirectUrl();
18415
+ }
18416
+ setFullRedirectUrl() {
18417
+ const fullUrl = window.location.pathname + window.location.search + window.location.hash;
18418
+ this.setRedirectUrl(fullUrl);
18419
+ }
18420
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: RedirectUrlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18421
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: RedirectUrlService, providedIn: 'root' });
18422
+ }
18423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: RedirectUrlService, decorators: [{
18424
+ type: Injectable,
18425
+ args: [{
18426
+ providedIn: 'root'
18427
+ }]
18428
+ }] });
18429
+
18376
18430
  class TranslationMergeService {
18377
18431
  http;
18378
18432
  constructor(http) {
@@ -19930,5 +19984,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
19930
19984
  * Generated bundle index. Do not edit.
19931
19985
  */
19932
19986
 
19933
- export { ALL_COUNTRY_CODES, ActiveFiltersComponent, AgeValidationHelper, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, COMMON_COUNTRIES, CacheBustingInterceptor, CardComponent, CarouselComponent, ChatMessagePosition, ChatMessageType, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreManualRefreshComponent, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, CountryCode, CustomClassService, DEFAULT_COUNTRIES, DataListComponent, DataListItemComponent, DataStoreService, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DocumentFieldComponent, DocumentFieldValidators, DocumentPayloadMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, DynamicFieldsHelper, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FilePreviewActionType, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, FixedActionPosition, FixedActionsMobileModalComponent, FixedActionsMobileModalService, GalleryAnimationType, GalleryLayoutType, GalleryModalComponent, GalleryModalGlobalService, GenericButtonComponent, GenericChatComponent, GenericChatService, GenericDocumentationComponent, GenericFixedActionsComponent, GenericGalleryComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericSkeletonComponent, GenericStepsComponent, GenericSwitchComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, ImageModalService, ImagePreviewComponent, LATIN_AMERICA_COUNTRIES, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, ManualRefreshService, MobileHeaderComponent, MobileResolutionService, ModalMode, ModelApiService, MultiEntryFieldComponent, MultiEntryOutputFormat, NumberFieldComponent, NumberFieldConfigType, NumberFieldType, NumberRange, PERMISSION_ACTIONS_PROVIDER, PERMISSION_PROVIDER, PERMISSION_RESOURCES_PROVIDER, PaginationService, PasswordFieldComponent, PermissionEnumsService, PermissionModel, PermissionService, PermissionWrapperService, PermissionsActions, PermissionsCustomActions, PermissionsInterceptor, PermissionsResources, PhoneFieldComponent, ProgressBarComponent, ProgressBarSize, RatingService, RatingSize, RatingType, ResetPasswordModel, RoleModel, SOUTH_AMERICA_COUNTRIES, SelectFieldComponent, ServerSelectFieldComponent, ServerSelectService, SidebarCustomModalComponent, SidebarCustomModalService, SidebarHeight, SidebarMobileModalService, SidebarMobileType, SidebarPosition, SidebarService, SidebarState, SidebarTemplateRegistryService, SidebarVisibility, SidebarWidth, SkeletonAnimation, SkeletonService, SkeletonSize, SkeletonType, SmartFieldComponent, SortDirection, SortMode, StepSize, StepStatus, StepType, StepsService, SwitchFieldComponent, TableAction, TableActionService, TableDataService, TableFixedActionsService, TableSortService, TextAreaFieldComponent, TextFieldComponent, TimeFieldComponent, TimeInterval, TimelineService, TimelineStatus, TimelineType, TranslationMergeService, UruguayanDocumentValidationHelper, UsersModel, VERSION, ageValidator, calculateAge, equalToValidator, generateRandomUruguayanDocument, getCountryCodeStrings, getLatestBirthDateForAge, getRandomCi, getUruguayanDocumentValidationDigit, getValidationDigit, isSameDate, isValidCountryCode, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader, random, transform, transformUruguayanDocument, uruguayanDocumentValidator, validate, validateAge, validateCi, validateUruguayanDocument, validationDigit };
19987
+ export { ALL_COUNTRY_CODES, ActiveFiltersComponent, AgeValidationHelper, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, COMMON_COUNTRIES, CacheBustingInterceptor, CardComponent, CarouselComponent, ChatMessagePosition, ChatMessageType, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreManualRefreshComponent, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, CountryCode, CustomClassService, DEFAULT_COUNTRIES, DataListComponent, DataListItemComponent, DataStoreService, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DocumentFieldComponent, DocumentFieldValidators, DocumentPayloadMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, DynamicFieldsHelper, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FilePreviewActionType, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, FixedActionPosition, FixedActionsMobileModalComponent, FixedActionsMobileModalService, GalleryAnimationType, GalleryLayoutType, GalleryModalComponent, GalleryModalGlobalService, GenericButtonComponent, GenericChatComponent, GenericChatService, GenericDocumentationComponent, GenericFixedActionsComponent, GenericGalleryComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericSkeletonComponent, GenericStepsComponent, GenericSwitchComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, ImageModalService, ImagePreviewComponent, LATIN_AMERICA_COUNTRIES, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, ManualRefreshService, MobileHeaderComponent, MobileResolutionService, ModalMode, ModelApiService, MultiEntryFieldComponent, MultiEntryOutputFormat, NumberFieldComponent, NumberFieldConfigType, NumberFieldType, NumberRange, PERMISSION_ACTIONS_PROVIDER, PERMISSION_PROVIDER, PERMISSION_RESOURCES_PROVIDER, PaginationService, PasswordFieldComponent, PermissionEnumsService, PermissionModel, PermissionService, PermissionWrapperService, PermissionsActions, PermissionsCustomActions, PermissionsInterceptor, PermissionsResources, PhoneFieldComponent, ProgressBarComponent, ProgressBarSize, RatingService, RatingSize, RatingType, RedirectUrlService, ResetPasswordModel, RoleModel, SOUTH_AMERICA_COUNTRIES, SelectFieldComponent, ServerSelectFieldComponent, ServerSelectService, SidebarCustomModalComponent, SidebarCustomModalService, SidebarHeight, SidebarMobileModalService, SidebarMobileType, SidebarPosition, SidebarService, SidebarState, SidebarTemplateRegistryService, SidebarVisibility, SidebarWidth, SkeletonAnimation, SkeletonService, SkeletonSize, SkeletonType, SmartFieldComponent, SortDirection, SortMode, StepSize, StepStatus, StepType, StepsService, SwitchFieldComponent, TableAction, TableActionService, TableDataService, TableFixedActionsService, TableSortService, TextAreaFieldComponent, TextFieldComponent, TimeFieldComponent, TimeInterval, TimelineService, TimelineStatus, TimelineType, TranslationMergeService, UruguayanDocumentValidationHelper, UsersModel, VERSION, ageValidator, calculateAge, equalToValidator, generateRandomUruguayanDocument, getCountryCodeStrings, getLatestBirthDateForAge, getRandomCi, getUruguayanDocumentValidationDigit, getValidationDigit, isSameDate, isValidCountryCode, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader, random, transform, transformUruguayanDocument, uruguayanDocumentValidator, validate, validateAge, validateCi, validateUruguayanDocument, validationDigit };
19934
19988
  //# sourceMappingURL=solcre-org-core-ui.mjs.map