@indigina/ui-kit 1.1.331 → 1.1.333
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/fesm2022/indigina-ui-kit.mjs +66 -41
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +24 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -458,6 +458,7 @@ declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
458
458
|
readonly icon: InputSignal<KitSvgIcon | undefined>;
|
|
459
459
|
readonly clearButton: InputSignal<boolean>;
|
|
460
460
|
readonly showStateIcon: InputSignal<boolean>;
|
|
461
|
+
readonly readonly: InputSignal<boolean>;
|
|
461
462
|
/**
|
|
462
463
|
* An action which is emitted when input field lost focus
|
|
463
464
|
*/
|
|
@@ -492,20 +493,20 @@ declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
492
493
|
* Function that is called when input value changed
|
|
493
494
|
*/
|
|
494
495
|
onInputChange(value: string): void;
|
|
495
|
-
updateValue(value: string): void;
|
|
496
496
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxComponent, never>;
|
|
497
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "messageTemplate": { "alias": "messageTemplate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "clearButton": { "alias": "clearButton"; "required": false; "isSignal": true; }; "showStateIcon": { "alias": "showStateIcon"; "required": false; "isSignal": true; }; }, { "defaultValue": "defaultValueChange"; "disabled": "disabledChange"; "blured": "blured"; "focused": "focused"; "changed": "changed"; }, never, never, true, never>;
|
|
497
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "messageIcon": { "alias": "messageIcon"; "required": false; "isSignal": true; }; "messageText": { "alias": "messageText"; "required": false; "isSignal": true; }; "messageTemplate": { "alias": "messageTemplate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "clearButton": { "alias": "clearButton"; "required": false; "isSignal": true; }; "showStateIcon": { "alias": "showStateIcon"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "defaultValue": "defaultValueChange"; "disabled": "disabledChange"; "blured": "blured"; "focused": "focused"; "changed": "changed"; }, never, never, true, never>;
|
|
498
498
|
}
|
|
499
499
|
|
|
500
500
|
declare class KitTextboxActionsComponent implements OnInit, OnDestroy {
|
|
501
501
|
private readonly elementRef;
|
|
502
|
-
private readonly
|
|
503
|
-
readonly defaultValue:
|
|
502
|
+
private readonly kitFormErrors;
|
|
503
|
+
readonly defaultValue: ModelSignal<string>;
|
|
504
504
|
readonly placeholder: InputSignal<string>;
|
|
505
505
|
readonly label: InputSignal<string>;
|
|
506
506
|
readonly validators: InputSignal<ValidatorFn[]>;
|
|
507
507
|
readonly disabled: InputSignal<boolean>;
|
|
508
508
|
readonly showActions: InputSignal<boolean>;
|
|
509
|
+
readonly clearOnFocus: InputSignal<boolean>;
|
|
509
510
|
readonly saved: OutputEmitterRef<string>;
|
|
510
511
|
readonly canceled: OutputEmitterRef<void>;
|
|
511
512
|
readonly kitTextboxComponent: Signal<KitTextboxComponent>;
|
|
@@ -528,11 +529,9 @@ declare class KitTextboxActionsComponent implements OnInit, OnDestroy {
|
|
|
528
529
|
private removeDocumentClickListener;
|
|
529
530
|
private documentClick;
|
|
530
531
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxActionsComponent, never>;
|
|
531
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxActionsComponent, "kit-textbox-actions", never, { "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "showActions": { "alias": "showActions"; "required": false; "isSignal": true; }; }, { "saved": "saved"; "canceled": "canceled"; }, never, never, true, never>;
|
|
532
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxActionsComponent, "kit-textbox-actions", never, { "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "showActions": { "alias": "showActions"; "required": false; "isSignal": true; }; "clearOnFocus": { "alias": "clearOnFocus"; "required": false; "isSignal": true; }; }, { "defaultValue": "defaultValueChange"; "saved": "saved"; "canceled": "canceled"; }, never, never, true, never>;
|
|
532
533
|
}
|
|
533
534
|
|
|
534
|
-
declare const kitGetFormControlErrors: (formControl: FormControl | AbstractControl | null) => string[];
|
|
535
|
-
|
|
536
535
|
declare enum KitNumericTextboxState {
|
|
537
536
|
DEFAULT = "default",
|
|
538
537
|
WARNING = "warning",
|
|
@@ -3313,6 +3312,7 @@ declare enum KitFilterType {
|
|
|
3313
3312
|
}
|
|
3314
3313
|
declare enum KitFilterDateRange {
|
|
3315
3314
|
TODAY = "today",
|
|
3315
|
+
LAST_THREE_DAYS = "lastThreeDays",
|
|
3316
3316
|
LAST_WEEK = "lastWeek",
|
|
3317
3317
|
LAST_MONTH = "lastMonth"
|
|
3318
3318
|
}
|
|
@@ -4610,5 +4610,21 @@ declare class KitGridArchiveToggle {
|
|
|
4610
4610
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridArchiveToggle, "kit-grid-archive-toggle", never, {}, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
4611
4611
|
}
|
|
4612
4612
|
|
|
4613
|
-
|
|
4613
|
+
declare enum KitFormErrorCode {
|
|
4614
|
+
Required = "required",
|
|
4615
|
+
Email = "email",
|
|
4616
|
+
MaxLength = "maxlength"
|
|
4617
|
+
}
|
|
4618
|
+
|
|
4619
|
+
type KitFormErrorMessageGetter = (errors: unknown) => string;
|
|
4620
|
+
|
|
4621
|
+
declare class KitFormErrors {
|
|
4622
|
+
private readonly translateService;
|
|
4623
|
+
readonly errorMessagesMap: Record<KitFormErrorCode, KitFormErrorMessageGetter>;
|
|
4624
|
+
getErrors(control: FormControl | AbstractControl | null): string[];
|
|
4625
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFormErrors, never>;
|
|
4626
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitFormErrors>;
|
|
4627
|
+
}
|
|
4628
|
+
|
|
4629
|
+
export { AbstractKitCtaPanelConfirmationComponent, AddGridFilter, FetchUser, FetchUserIdentities, FetchUserPermissions, FetchUserSettings, HighlightPipe, KIT_BASE_PATH, KIT_DATETIME_FORMAT_LONG, KIT_DATE_FORMAT, KIT_GRID_CELL_DATE_FORMAT_CONFIG, KIT_GRID_COLUMN_WIDTH, KIT_GRID_PAGE_SIZE, KIT_GRID_STATE_TOKEN, KIT_USER_APPLICATIONS_PATH, KIT_USER_IDENTITIES_STATE_TOKEN, KIT_USER_PATH, KIT_USER_PERMISSIONS_PATH, KIT_USER_PERMISSIONS_STATE_TOKEN, KIT_USER_STATE_TOKEN, KitAbstractIdPayloadAction, KitAbstractPayloadAction, KitAccountService, KitAutocompleteComponent, KitAutocompleteDirective, KitAvatarComponent, KitAvatarSize, KitBadgeDirective, KitBadgeTheme, KitBreadcrumbsComponent, KitBreadcrumbsService, KitButtonComponent, KitButtonIconPosition, KitButtonKind, KitButtonState, KitButtonType, KitCardComponent, KitCardDetailsComponent, KitCardTheme, KitCheckboxComponent, KitCheckboxState, KitCollapsedListComponent, KitCollapsedListDropdownAlign, KitCopyTextComponent, KitCtaPanelAbstractConfirmationComponent, KitCtaPanelActionComponent, KitCtaPanelConfirmationComponent, KitCtaPanelItemComponent, KitCtaPanelItemType, KitDataFieldComponent, KitDataFieldState, KitDatepickerComponent, KitDatepickerSize, KitDaterangeComponent, KitDaterangeType, KitDatetimepickerComponent, KitDialogActionsComponent, KitDialogComponent, KitDialogService, KitDialogTitlebarComponent, KitDialogType, KitDropdownComponent, KitDropdownItemTemplateDirective, KitDropdownSize, KitEmptySectionComponent, KitEntityGridComponent, KitEntitySectionComponent, KitEntitySectionContainerComponent, KitEntityTitleComponent, KitFileCardComponent, KitFileCardMessagesComponent, KitFileUploadComponent, KitFilterCheckboxComponent, KitFilterDateRange, KitFilterLogic, KitFilterOperator, KitFilterType, KitForbiddenComponent, KitFormErrors, KitGlobalSearchComponent, KitGridArchiveToggle, KitGridCellComponent, KitGridCellService, KitGridCellTemplateDirective, KitGridColumnComponent, KitGridColumnManagerComponent, KitGridComponent, KitGridDetailTemplateDirective, KitGridDetailsButtonComponent, KitGridExportComponent, KitGridFiltersComponent, KitGridLiveUpdatesControlComponent, KitGridSearchComponent, KitGridSortSettingsMode, KitGridState, KitGridUrlStateService, KitGridViewType, KitGridViewsComponent, KitGridViewsState, KitInputLabelComponent, KitInputMessageComponent, KitListComponent, KitLoaderComponent, KitLocationStepperComponent, KitMobileHeaderComponent, KitMobileMenuComponent, KitMobileMenuState, KitMultiselectComponent, KitNavigationMenuComponent, KitNavigationMenuService, KitNavigationMenuSubmenuComponent, KitNavigationTabsComponent, KitNavigationTabsType, KitNotFoundComponent, KitNoteComponent, KitNotificationComponent, KitNotificationService, KitNotificationType, KitNumericTextboxComponent, KitNumericTextboxSize, KitNumericTextboxState, KitOptionToggleComponent, KitPageLayoutComponent, KitPermissionDirective, KitPillComponent, KitPillTheme, KitPillType, KitPopupAlignHorizontal, KitPopupAlignVertical, KitPopupComponent, KitPopupPositionMode, KitProfileMenuComponent, KitQueryParamsName, KitQueryParamsService, KitRadioButtonComponent, KitRadioButtonType, KitRoutePathComponent, KitSchedulerComponent, KitSchedulerMonthEventTemplateDirective, KitSchedulerWeekEventTemplateDirective, KitScrollNavigationComponent, KitScrollNavigationSectionComponent, KitSearchBarComponent, KitSidebarComponent, KitSkeletonAnimation, KitSkeletonComponent, KitSkeletonGridComponent, KitSkeletonShape, KitSortDirection, KitSortableComponent, KitSplitContainerComponent, KitStatusLabelColor, KitStatusLabelComponent, KitStatusLabelSize, KitSvgIcon, KitSvgIconComponent, KitSvgIconType, KitSvgSpriteComponent, KitSwitchComponent, KitSwitchMode, KitSwitchState, KitTabComponent, KitTabContentDirective, KitTabsComponent, KitTabsSize, KitTabsType, KitTextLabelComponent, KitTextLabelState, KitTextareaAutoresizeDirective, KitTextareaComponent, KitTextareaState, KitTextboxActionsComponent, KitTextboxComponent, KitTextboxSize, KitTextboxState, KitThemeService, KitThemes, KitTileLayoutComponent, KitTileLayoutItemComponent, KitTimelineCardComponent, KitTimelineComponent, KitTimelineTheme, KitTimelineType, KitTimepickerComponent, KitTitleTemplateDirective, KitToastrModule, KitToastrPosition, KitToastrService, KitToastrType, KitToggleComponent, KitToggleSize, KitTooltipDirective, KitTooltipPosition, KitTopBarComponent, KitTrackingCardComponent, KitTrackingTimelineComponent, KitTranslateLoader, KitTranslateService, KitTruncateTextComponent, KitUnitsTextboxComponent, KitUnitsTextboxDropdownPosition, KitUnitsTextboxType, KitUserApplicationsState, KitUserIdentitiesInterceptor, KitUserIdentitiesSelector, KitUserIdentitiesState, KitUserPermissionsState, KitUserSettingsComponent, KitUserSettingsKeys, KitUserSettingsState, KitUserState, KitUserType, RemoveGridFilter, SetGridColumns, SetGridFilters, SetGridSearch, SetGridSkip, SetGridSort, SetGridTake, SetUserIdentity, UpdateGridFilter, buildRandomUUID, changeFilterField, createDataFetcherFactory, findMatches, kitApiResponseDefaultEntities, kitBuildFilterBooleanOptions, kitBuildFilterListOptions, kitBuildFilters, kitBuildGridColumn, kitBuildGridDataResults, kitBuildOdataFilter, kitBuildSortString, kitDataStateToODataString, kitEncodeViewNameToUrl, kitExportExcel, kitFetchGridData, kitFilterBy, kitFormatStringForSearch, kitGetPermissionTypesByCategory, kitHasPermission, kitTranslations, kitUserPermissionsGuard, mapGlobalSearchResult, trimTrailingSlash };
|
|
4614
4630
|
export type { GlobalSearchFilter, GlobalSearchLineItem, GlobalSearchPrompt, GlobalSearchResult, GlobalSearchRouteConfig, GlobalSearchSelectedFilter, KitApiResponseState, KitAutocompleteItem, KitBreadcrumbsItem, KitCard, KitCardDetailsState, KitCardItem, KitCardLink, KitCollapsedListItem, KitCompositeFilterDescriptor, KitCtaPanelConfirmation, KitCtaPanelConfirmationValue, KitCtaPanelCopyItem, KitCtaPanelItem, KitCurrentUser, KitDataResult, KitDataState, KitDaterangeValue, KitDropdownItem, KitFetchGridDataOptions, KitFileUploadFile, KitFileUploadFileRestrictions, KitFileUploadFileRestrictionsMessages, KitFilterDescriptor, KitFilterItem, KitFilterListConfig, KitFilterListOption, KitFilterValue, KitGridCellClickEvent, KitGridCellTranslationMap, KitGridColumn, KitGridColumnConfig, KitGridColumns, KitGridDataResult, KitGridDataState, KitGridDataStateChangeEvent, KitGridDetailCollapseEvent, KitGridDetailExpandEvent, KitGridPageChangeEvent, KitGridRowClassArgs, KitGridSortSettings, KitGridView, KitGridViewColumn, KitKendoDrawPdf, KitLocationStepperItem, KitLocationStepperItemDate, KitMainMenuItem, KitMobileMenuItem, KitMultiselectItem, KitNavigationMenuAppItem, KitNavigationMenuItem, KitNavigationTabsItem, KitNavigationTabsItemLink, KitOptionToggleOption, KitPDFOptions, KitPermission, KitPopupAlign, KitProfileMenuItem, KitQueryParams, KitRadioButton, KitScheduleDateChangeEvent, KitScheduleEventClickEvent, KitScheduleSlotClickEvent, KitSchedulerEvent, KitSortDescriptor, KitSwitchItem, KitSwitchItemSelection, KitTabsSelectEvent, KitTileLayoutColumnsConfig, KitTimelineItem, KitTimelineItemDate, KitToastrConfig, KitTrackingCardTabs, KitTrackingTimelineItem, KitUser, KitUserIdentities, KitUserIdentity, KitUserMenuItem, KitUserPermissions, KitUserSettings };
|