@solcre-org/core-ui 2.13.3 → 2.13.5
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/index.d.ts
CHANGED
|
@@ -1152,17 +1152,11 @@ declare class TimeFieldComponent<T extends DataBaseModelInterface> {
|
|
|
1152
1152
|
valueChange: _angular_core.OutputEmitterRef<string | TimeFieldValue | null>;
|
|
1153
1153
|
onBlurEvent: _angular_core.OutputEmitterRef<keyof T>;
|
|
1154
1154
|
onEnterEvent: _angular_core.OutputEmitterRef<keyof T>;
|
|
1155
|
-
startTimeChange: _angular_core.OutputEmitterRef<string | null>;
|
|
1156
|
-
endTimeChange: _angular_core.OutputEmitterRef<string | null>;
|
|
1157
|
-
startTimeBlur: _angular_core.OutputEmitterRef<void>;
|
|
1158
|
-
endTimeBlur: _angular_core.OutputEmitterRef<void>;
|
|
1159
1155
|
ModalMode: typeof ModalMode;
|
|
1160
1156
|
selectedStartTime: _angular_core.WritableSignal<string | null>;
|
|
1161
1157
|
selectedEndTime: _angular_core.WritableSignal<string | null>;
|
|
1162
1158
|
private hasStartValue;
|
|
1163
1159
|
private hasEndValue;
|
|
1164
|
-
startTimeErrors: _angular_core.WritableSignal<string[]>;
|
|
1165
|
-
endTimeErrors: _angular_core.WritableSignal<string[]>;
|
|
1166
1160
|
config: _angular_core.Signal<TimeFieldConfig>;
|
|
1167
1161
|
isStartPlaceholderVisible: _angular_core.Signal<boolean>;
|
|
1168
1162
|
isEndPlaceholderVisible: _angular_core.Signal<boolean>;
|
|
@@ -1185,24 +1179,28 @@ declare class TimeFieldComponent<T extends DataBaseModelInterface> {
|
|
|
1185
1179
|
isDisabled: _angular_core.Signal<boolean>;
|
|
1186
1180
|
hasError: _angular_core.Signal<boolean>;
|
|
1187
1181
|
hasRequiredValidators: _angular_core.Signal<boolean>;
|
|
1188
|
-
|
|
1189
|
-
|
|
1182
|
+
startTimeErrors: _angular_core.Signal<string[]>;
|
|
1183
|
+
endTimeErrors: _angular_core.Signal<string[]>;
|
|
1184
|
+
hasStartTimeError: _angular_core.Signal<boolean>;
|
|
1185
|
+
hasEndTimeError: _angular_core.Signal<boolean>;
|
|
1186
|
+
hasStartTimeRequiredValidator: _angular_core.Signal<boolean>;
|
|
1187
|
+
hasEndTimeRequiredValidator: _angular_core.Signal<boolean>;
|
|
1190
1188
|
private getCurrentValidators;
|
|
1191
1189
|
private evaluateReadonly;
|
|
1192
|
-
private userInteracted;
|
|
1193
1190
|
constructor();
|
|
1194
1191
|
private initializeFromValue;
|
|
1195
1192
|
private generateTimeOptions;
|
|
1196
1193
|
onStartTimeChange(value: string | null): void;
|
|
1197
1194
|
onEndTimeChange(value: string | null): void;
|
|
1198
1195
|
private emitValue;
|
|
1196
|
+
private validateIndividualFields;
|
|
1199
1197
|
onStartTimeBlur(): void;
|
|
1200
1198
|
onEndTimeBlur(): void;
|
|
1201
1199
|
private isTimeBeforeOrEqual;
|
|
1202
1200
|
private isEmptyValue;
|
|
1203
1201
|
private applyDefaultValues;
|
|
1204
1202
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimeFieldComponent<any>, never>;
|
|
1205
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeFieldComponent<any>, "core-time-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": true; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "rowData": { "alias": "rowData"; "required": false; "isSignal": true; }; "formValue": { "alias": "formValue"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "onBlurEvent": "onBlurEvent"; "onEnterEvent": "onEnterEvent";
|
|
1203
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeFieldComponent<any>, "core-time-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": true; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "rowData": { "alias": "rowData"; "required": false; "isSignal": true; }; "formValue": { "alias": "formValue"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "onBlurEvent": "onBlurEvent"; "onEnterEvent": "onEnterEvent"; }, never, never, true, [{ directive: typeof CoreHostDirective; inputs: {}; outputs: {}; }]>;
|
|
1206
1204
|
}
|
|
1207
1205
|
|
|
1208
1206
|
interface ExtendedModalFieldConfig<T> extends ModalFieldConfig<T> {
|
|
@@ -4879,17 +4877,6 @@ declare class DocumentFieldValidators {
|
|
|
4879
4877
|
static requiredAndValid: ValidatorFn;
|
|
4880
4878
|
}
|
|
4881
4879
|
|
|
4882
|
-
declare class TimeFieldValidators {
|
|
4883
|
-
static required: ValidatorFn;
|
|
4884
|
-
static requiredBoth: ValidatorFn;
|
|
4885
|
-
static requiredStartTime: ValidatorFn;
|
|
4886
|
-
static requiredEndTime: ValidatorFn;
|
|
4887
|
-
static noValidation: ValidatorFn;
|
|
4888
|
-
static requiredBothSmart: ValidatorFn;
|
|
4889
|
-
static endTimeAfterStart: ValidatorFn;
|
|
4890
|
-
static createValidator(includeEndTime: boolean, enforceEndTimeAfterStart?: boolean): ValidatorFn;
|
|
4891
|
-
}
|
|
4892
|
-
|
|
4893
4880
|
declare function HttpLoaderFactory(http: HttpClient): TranslateHttpLoader;
|
|
4894
4881
|
declare function provideTranslateLoader(): _angular_core.EnvironmentProviders;
|
|
4895
4882
|
declare function provideCoreUiTranslateLoader(config?: {
|
|
@@ -5204,5 +5191,5 @@ declare const AgeValidationHelper: {
|
|
|
5204
5191
|
|
|
5205
5192
|
declare const ageValidator: (minimumAge: number) => ValidatorFn;
|
|
5206
5193
|
|
|
5207
|
-
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, DEFAULT_COUNTRIES, DataListComponent, DataListItemComponent, 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, GalleryAnimationType, GalleryLayoutType, GalleryModalComponent, GalleryModalGlobalService, GenericButtonComponent, GenericChatComponent, GenericChatService, GenericDocumentationComponent, GenericGalleryComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericSkeletonComponent, GenericStepsComponent, 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, ModalMode, ModelApiService, MultiEntryFieldComponent, MultiEntryOutputFormat, NumberFieldComponent, NumberFieldConfigType, NumberFieldType, NumberRange, PERMISSION_ACTIONS_PROVIDER, PERMISSION_PROVIDER, PERMISSION_RESOURCES_PROVIDER, PaginationService, PasswordFieldComponent, PermissionEnumsService, PermissionModel, PermissionService, PermissionWrapperService, PermissionsActions, 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, TableSortService, TextAreaFieldComponent, TextFieldComponent, TimeFieldComponent,
|
|
5194
|
+
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, DEFAULT_COUNTRIES, DataListComponent, DataListItemComponent, 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, GalleryAnimationType, GalleryLayoutType, GalleryModalComponent, GalleryModalGlobalService, GenericButtonComponent, GenericChatComponent, GenericChatService, GenericDocumentationComponent, GenericGalleryComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericSkeletonComponent, GenericStepsComponent, 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, ModalMode, ModelApiService, MultiEntryFieldComponent, MultiEntryOutputFormat, NumberFieldComponent, NumberFieldConfigType, NumberFieldType, NumberRange, PERMISSION_ACTIONS_PROVIDER, PERMISSION_PROVIDER, PERMISSION_RESOURCES_PROVIDER, PaginationService, PasswordFieldComponent, PermissionEnumsService, PermissionModel, PermissionService, PermissionWrapperService, PermissionsActions, 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, 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 };
|
|
5208
5195
|
export type { ActiveFilterItem, ActiveFiltersConfig, AdditionalPermissionResources, AddressModel, AgeComparisonMode, AgeValidationInput, AgeValidationOptions, Alert, ApiConfig, ApiResponse, BottomNavItem, ButtonActionEvent, ButtonConfig, CarouselConfig, CarouselImage, ChatConfig, ChatMessage, CheckboxFieldConfig, CheckboxModalFieldConfig, CheckboxOption, ColumnConfig, ColumnDisabledConfig, CompanyInfo, ConfirmUploadRequest, ConfirmationDialogConfig, CountryOption, CustomAction, DataListItem, DateFieldConfig, DateModalFieldConfig, DocumentActionEvent, DocumentConfig, DocumentFieldConfig, DocumentFieldValue, DocumentItem, DocumentOption, DynamicFieldsHelperConfig, DynamicFieldsHelperMethods, DynamicFieldsHelperState, ExpansionConfig, ExtendedModalFieldConfig, ExtendedPermissionProvider, FileFieldConfig, FilePreviewAction, FilePreviewConfig, FilePreviewItem, FileUploadConfig, FilterConfig, FilterParams, GalleryConfig, GalleryImage, GenericTab, GenericTabClickEvent, GenericTabConfig, GlobalAction, HeaderActionConfig, HeaderConfig, HeaderElementConfig, HeaderOrderConfig, ImageModalData, InlineEditConfig, LayoutConfig, LayoutDataAttributes, LogoImagesConfig, ManualRefreshConfig, ModalButtonConfig, ModalFieldConfig, ModalStepConfig, ModalTabConfig, ModalValidationResult, MoreDataConfig, MultiEntryFieldConfig, MultiEntryFieldValue, NavConfig, NavItem, NumberFieldConfig, NumberModalFieldConfig, PaginatedResponse, PaginationEvent, PaginationInfo, PermissionActionsProvider, PermissionProvider, PermissionResourcesProvider, PhoneFieldConfig, PhoneModalFieldConfig, PresignedDownloadUrlResponse, PresignedUrlRequest, PresignedUrlResponse, PreviewFileUrl, RatingConfig, RatingStar, RatingSubmitEvent, RowStyleConfig, RowVisibilityConfig, SearchResponse, SelectServerSideConfig, SidebarBackButton, SidebarComponentConfig, SidebarComponentEvents, SidebarConfig, SidebarCustomModalConfig, SidebarItem, SidebarResponsiveConfig, SidebarSubItem, SidebarTemplateContext, SkeletonConfig, SkeletonItemConfig, SortConfig, StepChangeEvent, StepClickEvent, StepItemConfig, StepsConfig, SwitchFieldConfig, SwitchModalFieldConfig, TableActionConfig, TableSortConfig, TimeFieldConfig, TimeFieldValue, TimeOption, TimelineConfig, TimelineItem, UruguayanDocumentInput };
|