@indigina/ui-kit 1.1.332 → 1.1.334
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 +102 -46
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +25 -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",
|
|
@@ -4487,6 +4486,7 @@ declare class KitCardDetailsComponent<T extends KitCardDataModel> implements OnI
|
|
|
4487
4486
|
readonly newCreatedCards: WritableSignal<T[]>;
|
|
4488
4487
|
readonly skipNewCreatedCardFilter: Signal<KitCompositeFilterDescriptor>;
|
|
4489
4488
|
private shouldAppendFetchedData;
|
|
4489
|
+
showDetails: boolean;
|
|
4490
4490
|
ngOnInit(): void;
|
|
4491
4491
|
loadMoreData(): void;
|
|
4492
4492
|
onCardClick(card: T): void;
|
|
@@ -4503,6 +4503,7 @@ declare class KitCardDetailsComponent<T extends KitCardDataModel> implements OnI
|
|
|
4503
4503
|
private getStateFromUrl;
|
|
4504
4504
|
private setQueryParamsToUrl;
|
|
4505
4505
|
private navigateToCard;
|
|
4506
|
+
private selectNewLoadedCard;
|
|
4506
4507
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitCardDetailsComponent<any>, never>;
|
|
4507
4508
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitCardDetailsComponent<any>, "kit-card-details", never, { "cardData$": { "alias": "cardData$"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "dataStateChanged": "dataStateChanged"; "cardClicked": "cardClicked"; }, ["cardElement", "headerActions", "details"], never, true, never>;
|
|
4508
4509
|
}
|
|
@@ -4611,5 +4612,21 @@ declare class KitGridArchiveToggle {
|
|
|
4611
4612
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridArchiveToggle, "kit-grid-archive-toggle", never, {}, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
4612
4613
|
}
|
|
4613
4614
|
|
|
4614
|
-
|
|
4615
|
+
declare enum KitFormErrorCode {
|
|
4616
|
+
Required = "required",
|
|
4617
|
+
Email = "email",
|
|
4618
|
+
MaxLength = "maxlength"
|
|
4619
|
+
}
|
|
4620
|
+
|
|
4621
|
+
type KitFormErrorMessageGetter = (errors: unknown) => string;
|
|
4622
|
+
|
|
4623
|
+
declare class KitFormErrors {
|
|
4624
|
+
private readonly translateService;
|
|
4625
|
+
readonly errorMessagesMap: Record<KitFormErrorCode, KitFormErrorMessageGetter>;
|
|
4626
|
+
getErrors(control: FormControl | AbstractControl | null): string[];
|
|
4627
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFormErrors, never>;
|
|
4628
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitFormErrors>;
|
|
4629
|
+
}
|
|
4630
|
+
|
|
4631
|
+
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 };
|
|
4615
4632
|
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 };
|