@indigina/ui-kit 1.1.229 → 1.1.231
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/assets/icons/inbound.svg +6 -0
- package/assets/icons/inventory.svg +4 -0
- package/assets/icons/logo-dark-theme.svg +15 -0
- package/assets/icons/management.svg +17 -0
- package/assets/icons/mobile-home.svg +4 -0
- package/assets/icons/mobile-user.svg +5 -0
- package/assets/icons/outbound.svg +6 -0
- package/assets/icons/returns.svg +14 -0
- package/fesm2022/indigina-ui-kit.mjs +168 -27
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +102 -10
- package/package.json +3 -2
package/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import { SortDescriptor, FilterDescriptor, CompositeFilterDescriptor } from '@pr
|
|
|
33
33
|
import { PDFOptions, PaperSize } from '@progress/kendo-drawing/dist/npm/pdf';
|
|
34
34
|
import { Store, StateContext, StateToken } from '@ngxs/store';
|
|
35
35
|
import { DataMoveEvent } from '@progress/kendo-angular-sortable';
|
|
36
|
+
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
36
37
|
import { HttpClient } from '@angular/common/http';
|
|
37
38
|
import { SchedulerEvent, EventClickEvent, SlotClickEvent, SchedulerComponent } from '@progress/kendo-angular-scheduler';
|
|
38
39
|
|
|
@@ -188,7 +189,15 @@ declare enum KitSvgIcon {
|
|
|
188
189
|
KANBAN_VIEW = "kanban-view",
|
|
189
190
|
VIEWS = "views",
|
|
190
191
|
MORE = "more",
|
|
191
|
-
IN_TRANSIT = "in-transit"
|
|
192
|
+
IN_TRANSIT = "in-transit",
|
|
193
|
+
INBOUND = "inbound",
|
|
194
|
+
OUTBOUND = "outbound",
|
|
195
|
+
MOBILE_HOME = "mobile-home",
|
|
196
|
+
RETURNS = "returns",
|
|
197
|
+
MOBILE_USER = "mobile-user",
|
|
198
|
+
MANAGEMENT = "management",
|
|
199
|
+
INVENTORY = "inventory",
|
|
200
|
+
LOGO_DARK_THEME = "logo-dark-theme"
|
|
192
201
|
}
|
|
193
202
|
declare enum KitSvgIconType {
|
|
194
203
|
FILL = "fill",
|
|
@@ -499,6 +508,10 @@ declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
499
508
|
* Defines a value that is going to be applied as an input label
|
|
500
509
|
*/
|
|
501
510
|
label?: string;
|
|
511
|
+
/**
|
|
512
|
+
* Defines a value that is going to be applied as an input label tooltip
|
|
513
|
+
*/
|
|
514
|
+
labelTooltip?: string;
|
|
502
515
|
/**
|
|
503
516
|
* Defines a value that is going to be applied as a default input value
|
|
504
517
|
*/
|
|
@@ -511,6 +524,10 @@ declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
511
524
|
* Defines a value which going to be an info message text
|
|
512
525
|
*/
|
|
513
526
|
messageText?: string;
|
|
527
|
+
/**
|
|
528
|
+
* Defines a message template
|
|
529
|
+
*/
|
|
530
|
+
messageTemplate?: TemplateRef<HTMLElement>;
|
|
514
531
|
/**
|
|
515
532
|
* Defines a state whether the textbox will be disabled or not
|
|
516
533
|
*/
|
|
@@ -561,7 +578,7 @@ declare class KitTextboxComponent implements ControlValueAccessor {
|
|
|
561
578
|
*/
|
|
562
579
|
onInputChange(value: string): void;
|
|
563
580
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxComponent, never>;
|
|
564
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "state": { "alias": "state"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
581
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "messageTemplate": { "alias": "messageTemplate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "state": { "alias": "state"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
565
582
|
}
|
|
566
583
|
|
|
567
584
|
declare class KitTextboxModule {
|
|
@@ -3663,18 +3680,25 @@ declare class HighlightPipe implements PipeTransform {
|
|
|
3663
3680
|
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "highlight", true>;
|
|
3664
3681
|
}
|
|
3665
3682
|
|
|
3666
|
-
declare
|
|
3683
|
+
declare enum KitThemes {
|
|
3684
|
+
Light = "light",
|
|
3685
|
+
Dark = "dark"
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
declare class KitPageLayoutComponent {
|
|
3667
3689
|
private readonly kitNavigationMenuService;
|
|
3690
|
+
private readonly deviceService;
|
|
3691
|
+
readonly theme: InputSignal<KitThemes>;
|
|
3668
3692
|
readonly sidebarContainer: Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
3669
3693
|
readonly topBarContainer: Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
3670
3694
|
readonly isMenuCollapsed: WritableSignal<boolean>;
|
|
3671
3695
|
readonly hasMenuSelected: WritableSignal<boolean>;
|
|
3672
|
-
hasSidebar: boolean
|
|
3673
|
-
hasTopBar: boolean
|
|
3674
|
-
constructor(kitNavigationMenuService: KitNavigationMenuService);
|
|
3675
|
-
|
|
3696
|
+
readonly hasSidebar: WritableSignal<boolean>;
|
|
3697
|
+
readonly hasTopBar: WritableSignal<boolean>;
|
|
3698
|
+
constructor(kitNavigationMenuService: KitNavigationMenuService, deviceService: DeviceDetectorService);
|
|
3699
|
+
get isMobile(): boolean;
|
|
3676
3700
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitPageLayoutComponent, never>;
|
|
3677
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitPageLayoutComponent, "kit-page-layout", never, {}, {}, never, ["[sidebar]", "[topBar]", "[content]"], true, never>;
|
|
3701
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitPageLayoutComponent, "kit-page-layout", never, { "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, ["[sidebar]", "[topBar]", "[content]"], true, never>;
|
|
3678
3702
|
}
|
|
3679
3703
|
|
|
3680
3704
|
declare const KIT_BASE_PATH: InjectionToken<string>;
|
|
@@ -3996,6 +4020,11 @@ declare class KitUserSettingsState {
|
|
|
3996
4020
|
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserSettingsState>;
|
|
3997
4021
|
}
|
|
3998
4022
|
|
|
4023
|
+
declare enum KitUserSettingsKeys {
|
|
4024
|
+
ExpandNotesPanel = "expandNotesPanel",
|
|
4025
|
+
UseDarkThemeForMobile = "useDarkThemeForMobile"
|
|
4026
|
+
}
|
|
4027
|
+
|
|
3999
4028
|
interface KitFilterSelectorItem {
|
|
4000
4029
|
title: string;
|
|
4001
4030
|
field: string;
|
|
@@ -4445,5 +4474,68 @@ declare class KitRoutePathComponent {
|
|
|
4445
4474
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitRoutePathComponent, "kit-route-path", never, { "originPort": { "alias": "originPort"; "required": false; "isSignal": true; }; "destinationPort": { "alias": "destinationPort"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "containerMode": { "alias": "containerMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4446
4475
|
}
|
|
4447
4476
|
|
|
4448
|
-
|
|
4449
|
-
|
|
4477
|
+
interface KitMobileMenuItem {
|
|
4478
|
+
title: string;
|
|
4479
|
+
icon: KitSvgIcon;
|
|
4480
|
+
key: string;
|
|
4481
|
+
links: {
|
|
4482
|
+
title: string;
|
|
4483
|
+
commands: string[];
|
|
4484
|
+
extras?: NavigationExtras;
|
|
4485
|
+
}[];
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4488
|
+
declare class KitMobileMenuComponent {
|
|
4489
|
+
private readonly store;
|
|
4490
|
+
readonly kitMobileMenuItems: InputSignal<KitMobileMenuItem[]>;
|
|
4491
|
+
readonly theme: InputSignal<KitThemes>;
|
|
4492
|
+
readonly categoryItem: Signal<HTMLDivElement>;
|
|
4493
|
+
readonly linkItem: Signal<HTMLDivElement>;
|
|
4494
|
+
readonly navListFooter: Signal<HTMLDivElement | undefined>;
|
|
4495
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4496
|
+
constructor(store: Store);
|
|
4497
|
+
readonly selectedItem: () => KitMobileMenuItem | null;
|
|
4498
|
+
setSelectedItem(item: KitMobileMenuItem | null): void;
|
|
4499
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitMobileMenuComponent, never>;
|
|
4500
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitMobileMenuComponent, "kit-mobile-menu", never, { "kitMobileMenuItems": { "alias": "kitMobileMenuItems"; "required": true; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, ["categoryItem", "linkItem", "navListFooter"], never, true, never>;
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4503
|
+
declare class SetSelectedMobileMenuItem extends AbstractPayloadAction<KitMobileMenuItem | null> {
|
|
4504
|
+
static readonly type: string;
|
|
4505
|
+
}
|
|
4506
|
+
|
|
4507
|
+
interface KitMobileMenuStateModel {
|
|
4508
|
+
selectedItem: KitMobileMenuItem | null;
|
|
4509
|
+
}
|
|
4510
|
+
declare class KitMobileMenuState {
|
|
4511
|
+
static selectedItem(state: KitMobileMenuStateModel): KitMobileMenuItem | null;
|
|
4512
|
+
setSelectedMobileMenuItem(ctx: StateContext<KitMobileMenuStateModel>, action: SetSelectedMobileMenuItem): void;
|
|
4513
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitMobileMenuState, never>;
|
|
4514
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitMobileMenuState>;
|
|
4515
|
+
}
|
|
4516
|
+
|
|
4517
|
+
declare class KitMobileHeaderComponent {
|
|
4518
|
+
private readonly store;
|
|
4519
|
+
readonly theme: InputSignal<KitThemes>;
|
|
4520
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4521
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
4522
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
4523
|
+
readonly themes: typeof KitThemes;
|
|
4524
|
+
constructor(store: Store);
|
|
4525
|
+
readonly selectedItem: () => KitMobileMenuItem | null;
|
|
4526
|
+
setSelectedItem(item: KitMobileMenuItem | null): void;
|
|
4527
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitMobileHeaderComponent, never>;
|
|
4528
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitMobileHeaderComponent, "kit-mobile-header", never, { "theme": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4529
|
+
}
|
|
4530
|
+
|
|
4531
|
+
declare class KitThemeService {
|
|
4532
|
+
private readonly store;
|
|
4533
|
+
private readonly useDarkThemeForMobile;
|
|
4534
|
+
readonly theme: Signal<KitThemes>;
|
|
4535
|
+
constructor(store: Store);
|
|
4536
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitThemeService, never>;
|
|
4537
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitThemeService>;
|
|
4538
|
+
}
|
|
4539
|
+
|
|
4540
|
+
export { AbstractKitCtaPanelConfirmationComponent, AddGridFilter, FetchUserPermissions, FetchUserSettings, HighlightPipe, KIT_BASE_PATH, KIT_DATETIME_FORMAT_LONG, KIT_DATE_FORMAT, KIT_GRID_CELL_DATE_FORMAT_CONFIG, KIT_GRID_STATE_TOKEN, KIT_USER_PATH, KIT_USER_PERMISSIONS_PATH, KIT_USER_PERMISSIONS_STATE_TOKEN, KIT_USER_STATE_TOKEN, KitAutocompleteComponent, KitAutocompleteDirective, KitAutocompleteModule, KitAvatarComponent, KitAvatarModule, KitAvatarSize, KitBadgeDirective, KitBadgeTheme, KitBreadcrumbsComponent, KitBreadcrumbsModule, KitBreadcrumbsService, KitButtonComponent, KitButtonIconPosition, KitButtonKind, KitButtonModule, KitButtonState, KitButtonType, KitCardComponent, KitCardModule, KitCardTheme, KitCheckboxComponent, KitCheckboxModule, KitCheckboxState, KitCollapsedListComponent, KitCollapsedListDropdownAlign, KitCopyTextComponent, KitCopyTextModule, KitCtaPanelAbstractConfirmationComponent, KitCtaPanelAbstractConfirmationModule, KitCtaPanelActionComponent, KitCtaPanelActionModule, KitCtaPanelConfirmationComponent, KitCtaPanelConfirmationModule, KitCtaPanelItemComponent, KitCtaPanelItemModule, KitCtaPanelItemType, KitDataFieldComponent, KitDataFieldState, KitDatepickerComponent, KitDatepickerModule, KitDatepickerSize, KitDaterangeComponent, KitDaterangeModule, KitDaterangeType, KitDatetimepickerComponent, KitDatetimepickerModule, KitDialogActionsComponent, KitDialogComponent, KitDialogService, KitDropdownComponent, KitDropdownItemTemplateDirective, KitDropdownModule, KitDropdownSize, KitEmptySectionComponent, KitEntityGridComponent, KitEntitySectionComponent, KitEntitySectionContainerComponent, KitEntityTitleComponent, KitEntityTitleModule, KitFileCardComponent, KitFileCardMessagesComponent, KitFileCardModule, KitFileUploadComponent, KitFileUploadModule, KitFilterCheckboxComponent, KitFilterLogic, KitFilterOperator, KitFilterType, KitGlobalSearchComponent, KitGridCellComponent, KitGridCellService, KitGridCellTemplateDirective, KitGridColumnComponent, KitGridColumnManagerComponent, KitGridComponent, KitGridDetailTemplateDirective, KitGridDetailsButtonComponent, KitGridExportComponent, KitGridFiltersComponent, KitGridModule, KitGridSearchComponent, KitGridSortSettingsMode, KitGridState, KitGridUrlStateService, KitGridViewType, KitGridViewsComponent, KitGridViewsState, KitInputLabelComponent, KitInputLabelModule, KitInputMessageComponent, KitInputMessageModule, KitLoaderComponent, KitLoaderModule, KitLocationStepperComponent, KitLocationStepperModule, KitMobileHeaderComponent, KitMobileMenuComponent, KitMobileMenuState, KitMultiselectComponent, KitMultiselectModule, KitNavigationMenuComponent, KitNavigationMenuModule, KitNavigationMenuService, KitNavigationMenuSubmenuComponent, KitNavigationTabsComponent, KitNavigationTabsModule, KitNavigationTabsType, KitNoteComponent, KitNoteModule, KitNotificationComponent, KitNotificationService, KitNotificationType, KitNumericTextboxComponent, KitNumericTextboxModule, KitNumericTextboxSize, KitNumericTextboxState, KitOptionToggleComponent, KitPageLayoutComponent, KitPermissionDirective, KitPermissionModule, KitPillComponent, KitPillTheme, KitPillType, KitPopupAlignHorizontal, KitPopupAlignVertical, KitPopupComponent, KitPopupPositionMode, KitProfileMenuComponent, KitQueryParamsName, KitQueryParamsService, KitRadioButtonComponent, KitRadioButtonModule, KitRadioButtonType, KitRoutePathComponent, KitSchedulerComponent, KitSchedulerMonthEventTemplateDirective, KitSchedulerWeekEventTemplateDirective, KitScrollNavigationComponent, KitScrollNavigationSectionComponent, KitSearchBarComponent, KitSearchBarModule, KitSidebarComponent, KitSkeletonAnimation, KitSkeletonComponent, KitSkeletonModule, KitSkeletonShape, KitSortDirection, KitSortableComponent, KitSvgIcon, KitSvgIconComponent, KitSvgIconModule, KitSvgIconType, KitSvgSpriteComponent, KitSvgSpriteModule, KitSwitchComponent, KitSwitchMode, KitSwitchModule, KitSwitchState, KitTabComponent, KitTabContentDirective, KitTabsComponent, KitTabsModule, KitTabsSize, KitTabsType, KitTextLabelComponent, KitTextLabelModule, KitTextLabelState, KitTextareaAutoresizeDirective, KitTextareaComponent, KitTextareaModule, KitTextareaState, KitTextboxComponent, KitTextboxModule, KitTextboxSize, KitTextboxState, KitThemeService, KitThemes, KitTileLayoutComponent, KitTileLayoutItemComponent, KitTileLayoutModule, KitTimelineCardComponent, KitTimelineComponent, KitTimelineTheme, KitTimelineType, KitTimepickerComponent, KitTimepickerModule, KitTitleTemplateDirective, KitToastrModule, KitToastrPosition, KitToastrService, KitToastrType, KitToggleComponent, KitToggleModule, KitTooltipDirective, KitTooltipPosition, KitTopBarComponent, KitTrackingCardComponent, KitTrackingTimelineComponent, KitTranslateLoader, KitTranslateService, KitTruncateTextComponent, KitUnitsTextboxComponent, KitUnitsTextboxDropdownPosition, KitUnitsTextboxModule, KitUnitsTextboxType, KitUserApplicationsState, KitUserPermissionsState, KitUserSettingsComponent, KitUserSettingsKeys, KitUserSettingsState, KitUserState, RemoveGridFilter, SetGridColumns, SetGridFilters, SetGridSearch, SetGridSkip, SetGridSort, SetGridTake, UpdateGridFilter, buildRandomUUID, changeFilterField, createDataFetcherFactory, findMatches, kitBuildFilterBooleanOptions, kitBuildFilterListOptions, kitBuildFilters, kitBuildGridColumn, kitBuildGridDataResults, kitBuildOdataFilter, kitBuildSortString, kitDataStateToODataString, kitEncodeViewNameToUrl, mapGlobalSearchResult };
|
|
4541
|
+
export type { GlobalSearchFilter, GlobalSearchLineItem, GlobalSearchPrompt, GlobalSearchResult, GlobalSearchRouteConfig, GlobalSearchSelectedFilter, KitAutocompleteItem, KitBreadcrumbsItem, KitCard, KitCardItem, KitCardLink, KitCollapsedListItem, KitCompositeFilterDescriptor, KitCtaPanelConfirmation, KitCtaPanelConfirmationValue, KitCtaPanelCopyItem, KitCtaPanelItem, KitDataResult, KitDataState, KitDaterangeValue, KitDropdownItem, KitFileUploadFile, KitFileUploadFileRestrictions, KitFileUploadFileRestrictionsMessages, KitFilterDescriptor, KitFilterItem, KitFilterListConfig, KitFilterListOption, KitFilterValue, KitGridCellClickEvent, KitGridCellTranslationMap, KitGridColumn, KitGridColumnConfig, KitGridColumns, KitGridDataResult, KitGridDataState, KitGridDataStateChangeEvent, KitGridDetailCollapseEvent, KitGridDetailExpandEvent, KitGridPageChangeEvent, KitGridSortSettings, KitGridView, KitGridViewColumn, KitKendoDrawPdf, KitLocationStepperItem, KitLocationStepperItemDate, KitMainMenuItem, KitMobileMenuItem, KitMultiselectItem, KitNavigationMenuAppItem, KitNavigationMenuItem, KitNavigationTabsItem, KitNavigationTabsItemLink, KitOptionToggleOption, KitPDFOptions, KitPopupAlign, KitProfileMenuItem, KitQueryParams, KitRadioButton, KitScheduleEventClickEvent, KitScheduleSlotClickEvent, KitSchedulerEvent, KitSortDescriptor, KitSwitchItem, KitSwitchItemSelection, KitTabsSelectEvent, KitTileLayoutColumnsConfig, KitTimelineItem, KitTimelineItemDate, KitToastrConfig, KitTrackingCardTabs, KitTrackingTimelineItem, KitUserMenuItem, KitUserSettings };
|
package/package.json
CHANGED
|
@@ -7,10 +7,11 @@
|
|
|
7
7
|
"components",
|
|
8
8
|
"shared"
|
|
9
9
|
],
|
|
10
|
-
"version": "1.1.
|
|
10
|
+
"version": "1.1.231",
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"@angular/common": ">=20.1.3 <21.0.0",
|
|
13
|
-
"@angular/core": ">=20.1.3 <21.0.0"
|
|
13
|
+
"@angular/core": ">=20.1.3 <21.0.0",
|
|
14
|
+
"ngx-device-detector": "10.1.0"
|
|
14
15
|
},
|
|
15
16
|
"dependencies": {
|
|
16
17
|
"@progress/kendo-angular-buttons": "19.2.0",
|