@indigina/ui-kit 1.1.484 → 1.1.486
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/code.svg +3 -0
- package/assets/icons/minus.svg +3 -0
- package/assets/icons/tree-view.svg +7 -0
- package/fesm2022/indigina-ui-kit.mjs +450 -10
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/kendo.scss +1 -0
- package/types/indigina-ui-kit.d.ts +105 -4
package/package.json
CHANGED
package/styles/kendo.scss
CHANGED
|
@@ -32,6 +32,7 @@ declare enum KitSvgIcon {
|
|
|
32
32
|
CHEVRON_RIGHT = "chevron-right",
|
|
33
33
|
CHEVRON_LEFT = "chevron-left",
|
|
34
34
|
PLUS = "plus",
|
|
35
|
+
MINUS = "minus",
|
|
35
36
|
INFO = "info",
|
|
36
37
|
CALENDAR = "calendar",
|
|
37
38
|
WARNING = "warning",
|
|
@@ -198,7 +199,9 @@ declare enum KitSvgIcon {
|
|
|
198
199
|
PIPELINE = "pipeline",
|
|
199
200
|
CLIENT_SETUP = "client-setup",
|
|
200
201
|
TRAIN = "train",
|
|
201
|
-
BUILDING = "building"
|
|
202
|
+
BUILDING = "building",
|
|
203
|
+
CODE = "code",
|
|
204
|
+
TREE_VIEW = "tree-view"
|
|
202
205
|
}
|
|
203
206
|
declare enum KitSvgIconType {
|
|
204
207
|
FILL = "fill",
|
|
@@ -4380,8 +4383,11 @@ interface KitGridViewColumn {
|
|
|
4380
4383
|
declare class KitGridUrlStateService {
|
|
4381
4384
|
private readonly activatedRoute;
|
|
4382
4385
|
private readonly router;
|
|
4386
|
+
private readonly location;
|
|
4383
4387
|
getGridStateFromUrl(): KitGridDataState;
|
|
4384
4388
|
setGridStateToUrl(state: KitGridDataState, defaultColumns?: KitGridViewColumn[]): void;
|
|
4389
|
+
getFiltersVisible(filterDetailsSetting: string): boolean;
|
|
4390
|
+
setFiltersVisible(filtersVisible: boolean): void;
|
|
4385
4391
|
}
|
|
4386
4392
|
|
|
4387
4393
|
interface KitGridViewListItem extends KitCollapsedListItem, KitGridView {
|
|
@@ -4664,6 +4670,23 @@ declare class KitFilterCheckboxComponent implements OnInit, OnChanges {
|
|
|
4664
4670
|
static ɵcmp: i0.ɵɵComponentDeclaration<KitFilterCheckboxComponent, "kit-filter-checkbox", never, { "filter": { "alias": "filter"; "required": true; "isSignal": true; }; "translateKeyPrefix": { "alias": "translateKeyPrefix"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "showPopupOnInit": { "alias": "showPopupOnInit"; "required": false; "isSignal": true; }; "guidField": { "alias": "guidField"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; "filterRemoved": "filterRemoved"; "filterChanged": "filterChanged"; }, never, never, true, never>;
|
|
4665
4671
|
}
|
|
4666
4672
|
|
|
4673
|
+
declare class KitGridFiltersToggleComponent {
|
|
4674
|
+
readonly filters: InputSignal<KitFilterItem[]>;
|
|
4675
|
+
readonly hasTooltip: InputSignal<boolean>;
|
|
4676
|
+
readonly active: InputSignal<boolean>;
|
|
4677
|
+
readonly clicked: OutputEmitterRef<void>;
|
|
4678
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4679
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
4680
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
4681
|
+
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
4682
|
+
readonly kitBadgeTheme: typeof KitBadgeTheme;
|
|
4683
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
4684
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
4685
|
+
onClick(): void;
|
|
4686
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridFiltersToggleComponent, never>;
|
|
4687
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridFiltersToggleComponent, "kit-grid-filters-toggle", never, { "filters": { "alias": "filters"; "required": true; "isSignal": true; }; "hasTooltip": { "alias": "hasTooltip"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
4688
|
+
}
|
|
4689
|
+
|
|
4667
4690
|
declare enum GridExportOptions {
|
|
4668
4691
|
PDF = "pdf",
|
|
4669
4692
|
CSV = "csv",
|
|
@@ -4856,7 +4879,6 @@ declare class KitEntityGridComponent<T> implements OnInit {
|
|
|
4856
4879
|
readonly kitButtonType: typeof KitButtonType;
|
|
4857
4880
|
readonly kitButtonKind: typeof KitButtonKind;
|
|
4858
4881
|
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
4859
|
-
readonly kitBadgeTheme: typeof KitBadgeTheme;
|
|
4860
4882
|
readonly isExporting: WritableSignal<boolean>;
|
|
4861
4883
|
readonly archiveModeEnabled: WritableSignal<boolean>;
|
|
4862
4884
|
constructor();
|
|
@@ -5503,5 +5525,84 @@ interface KitGridActionModel<T> {
|
|
|
5503
5525
|
permissions?: string[];
|
|
5504
5526
|
}
|
|
5505
5527
|
|
|
5506
|
-
|
|
5507
|
-
|
|
5528
|
+
declare enum KitTreeContentFormat {
|
|
5529
|
+
JSON = "json",
|
|
5530
|
+
XML = "xml",
|
|
5531
|
+
TEXT = "text"
|
|
5532
|
+
}
|
|
5533
|
+
declare enum KitTreeViewMode {
|
|
5534
|
+
FORMATTED = "formatted",
|
|
5535
|
+
RAW = "raw"
|
|
5536
|
+
}
|
|
5537
|
+
declare enum KitTreeNodeKind {
|
|
5538
|
+
PRIMITIVE = "primitive",
|
|
5539
|
+
COMPLEX = "complex"
|
|
5540
|
+
}
|
|
5541
|
+
interface KitTreeNode {
|
|
5542
|
+
key: string;
|
|
5543
|
+
text: string;
|
|
5544
|
+
kind: KitTreeNodeKind;
|
|
5545
|
+
displayKey?: string;
|
|
5546
|
+
displayValue?: string;
|
|
5547
|
+
children?: KitTreeNode[];
|
|
5548
|
+
}
|
|
5549
|
+
interface KitTreeActionButton {
|
|
5550
|
+
id: string;
|
|
5551
|
+
label: string;
|
|
5552
|
+
icon?: KitSvgIcon;
|
|
5553
|
+
iconType?: KitSvgIconType;
|
|
5554
|
+
disabled?: boolean;
|
|
5555
|
+
toggleCustomContent?: boolean;
|
|
5556
|
+
onClick?(): void;
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5559
|
+
declare class KitTreeContentDirective {
|
|
5560
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
5561
|
+
readonly kitTreeContent: InputSignal<string>;
|
|
5562
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTreeContentDirective, never>;
|
|
5563
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitTreeContentDirective, "ng-template[kitTreeContent]", never, { "kitTreeContent": { "alias": "kitTreeContent"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5564
|
+
}
|
|
5565
|
+
|
|
5566
|
+
declare class KitTreeComponent {
|
|
5567
|
+
private readonly clipboardService;
|
|
5568
|
+
readonly data: InputSignal<string>;
|
|
5569
|
+
readonly customActions: InputSignal<KitTreeActionButton[]>;
|
|
5570
|
+
readonly contentTemplates: Signal<readonly KitTreeContentDirective[]>;
|
|
5571
|
+
readonly viewMode: WritableSignal<KitTreeViewMode>;
|
|
5572
|
+
readonly expandedKeys: WritableSignal<string[]>;
|
|
5573
|
+
readonly activeCustomActionId: WritableSignal<string | null>;
|
|
5574
|
+
readonly detectedFormat: Signal<KitTreeContentFormat>;
|
|
5575
|
+
readonly isStructuredFormat: Signal<boolean>;
|
|
5576
|
+
readonly rawContent: Signal<string>;
|
|
5577
|
+
readonly prettifiedContent: Signal<string>;
|
|
5578
|
+
readonly treeNodes: Signal<KitTreeNode[]>;
|
|
5579
|
+
readonly allExpandableKeys: Signal<string[]>;
|
|
5580
|
+
readonly isRawView: Signal<boolean>;
|
|
5581
|
+
readonly activeCustomAction: Signal<KitTreeActionButton | undefined>;
|
|
5582
|
+
readonly activeTemplate: Signal<KitTreeContentDirective | undefined>;
|
|
5583
|
+
readonly isCustomContentActive: Signal<boolean>;
|
|
5584
|
+
readonly isExpandAllDisabled: Signal<boolean>;
|
|
5585
|
+
readonly isAllExpanded: Signal<boolean>;
|
|
5586
|
+
readonly toggleAllTitleKey: Signal<string>;
|
|
5587
|
+
readonly toggleViewTitleKey: Signal<string>;
|
|
5588
|
+
readonly toggleAllIcon: Signal<KitSvgIcon>;
|
|
5589
|
+
readonly toggleViewIcon: Signal<KitSvgIcon>;
|
|
5590
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
5591
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
5592
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
5593
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
5594
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
5595
|
+
constructor();
|
|
5596
|
+
onExpandedKeysChange(expandedKeys: string[]): void;
|
|
5597
|
+
toggleAll(): void;
|
|
5598
|
+
copyRawInput(): void;
|
|
5599
|
+
copyPrettifiedInput(): void;
|
|
5600
|
+
toggleRawFormattedView(): void;
|
|
5601
|
+
onCustomActionClick(action: KitTreeActionButton): void;
|
|
5602
|
+
isNodeExpanded(node: KitTreeNode): boolean;
|
|
5603
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTreeComponent, never>;
|
|
5604
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTreeComponent, "kit-tree", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "customActions": { "alias": "customActions"; "required": false; "isSignal": true; }; }, {}, ["contentTemplates"], never, true, never>;
|
|
5605
|
+
}
|
|
5606
|
+
|
|
5607
|
+
export { AbstractKitCtaPanelConfirmationComponent, AddGridFilter, FetchApiTokens, FetchUser, FetchUserIdentities, FetchUserPermissions, FetchUserSettings, HighlightPipe, KIT_API_TOKENS_STATE_TOKEN, KIT_BASE_PATH, KIT_DATETIME_FORMAT_LONG, KIT_DATE_FORMAT, KIT_DATE_FORMAT_SHORT, KIT_GRID_CELL_DATE_FORMAT_CONFIG, KIT_GRID_COLUMN_WIDTH, KIT_GRID_PAGE_SIZE, KIT_GRID_STATE_TOKEN, KIT_TIME_FORMAT_SHORT, 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, KitApiTokenMaintenanceListComponent, KitApiTokenMaintenanceListState, KitApiTokensPermissionCategories, KitAutocompleteComponent, KitAutocompleteDirective, KitAvatarComponent, KitAvatarSize, KitBackButtonComponent, KitBadgeDirective, KitBadgeTheme, KitBreadcrumbsComponent, KitBreadcrumbsService, KitButtonComponent, KitButtonIconPosition, KitButtonKind, KitButtonState, KitButtonType, KitCardComponent, KitCardDetailsComponent, KitCardTheme, KitCheckboxComponent, KitCheckboxState, KitClipboardService, KitCollapsedListComponent, KitCollapsedListDropdownAlign, KitCopyTextComponent, KitCtaPanelAbstractConfirmationComponent, KitCtaPanelActionComponent, KitCtaPanelConfirmationComponent, KitCtaPanelItemComponent, KitCtaPanelItemType, KitDataFieldComponent, KitDataFieldState, KitDateRangeSingleInput, KitDatepickerComponent, KitDatepickerSize, KitDaterangeComponent, KitDaterangeType, KitDatetimepickerComponent, KitDeferredFailedRequestService, KitDialogActionsComponent, KitDialogComponent, KitDialogService, KitDialogTitlebarComponent, KitDialogType, KitDrawerComponent, KitDrawerContentTemplateDirective, KitDrawerFooterTemplateDirective, KitDrawerMode, KitDropdownComponent, KitDropdownItemTemplateDirective, KitDropdownSize, KitEmptySectionComponent, KitEntityGridComponent, KitEntitySectionComponent, KitEntitySectionContainerComponent, KitEntitySectionEditableActionsTemplateDirective, KitEntitySectionEditableComponent, KitEntitySectionEditableEditTemplateDirective, KitEntitySectionEditableMode, KitEntitySectionEditableViewTemplateDirective, KitEntityTitleComponent, KitExcelExportService, KitExpansionPanelComponent, KitExpansionPanelHeaderTemplateDirective, KitExpansionPanelToggleMode, KitExpansionPanelView, KitFileCardComponent, KitFileCardMessagesComponent, KitFileCardSize, KitFileUploadComponent, KitFilterCheckboxComponent, KitFilterDateRange, KitFilterLogic, KitFilterOperator, KitFilterType, KitForbiddenComponent, KitFormErrors, KitFormFieldComponent, KitFormLabelComponent, KitFormMessageComponent, KitGlobalSearchComponent, KitGridActionComponent, KitGridArchiveToggle, KitGridCellComponent, KitGridCellService, KitGridCellTemplateDirective, KitGridColumnComponent, KitGridColumnManagerComponent, KitGridComponent, KitGridDetailTemplateDirective, KitGridDetailsButtonComponent, KitGridDropPosition, KitGridExportComponent, KitGridFiltersComponent, KitGridFiltersToggleComponent, KitGridLiveUpdatesControlComponent, KitGridSearchComponent, KitGridSortSettingsMode, KitGridState, KitGridUrlStateService, KitGridViewType, KitGridViewsComponent, KitGridViewsState, KitListComponent, KitLoaderComponent, KitLocationStepperComponent, KitLocationStepperIconTheme, KitLocationStepperTheme, KitMobileHeaderComponent, KitMobileMenuComponent, KitMobileMenuState, KitMultiselectComponent, KitMultiselectGroupTagTemplateDirective, KitMultiselectItemsDirection, KitMultiselectSize, KitNavigationMenuComponent, KitNavigationMenuService, KitNavigationMenuSubmenuComponent, KitNavigationTabsComponent, KitNavigationTabsType, KitNotFoundComponent, KitNoteComponent, KitNotificationComponent, KitNotificationService, KitNotificationType, KitNumericTextboxComponent, KitNumericTextboxSize, KitNumericTextboxState, KitOptionToggleComponent, KitOptionToggleSize, KitPageLayoutComponent, KitPermissionDirective, KitPillComponent, KitPillTheme, KitPillType, KitPopoverAnchorDirective, KitPopoverComponent, KitPopoverPosition, KitPopoverShowOption, KitPopupAlignHorizontal, KitPopupAlignVertical, KitPopupComponent, KitPopupPositionMode, KitProfileMenuComponent, KitQueryParamsName, KitQueryParamsService, KitRadioButtonComponent, KitRadioButtonType, KitRoutePathComponent, KitSchedulerAgendaTimeTemplateDirective, KitSchedulerComponent, KitSchedulerCustomViewTemplateDirective, KitSchedulerMonthEventTemplateDirective, KitSchedulerMonthHeaderCellTemplateDirective, KitSchedulerToolbarTemplateDirective, KitSchedulerWeekEventTemplateDirective, KitScrollNavigationComponent, KitScrollNavigationSectionComponent, KitSearchBarComponent, KitSidebarComponent, KitSkeletonAnimation, KitSkeletonComponent, KitSkeletonGridComponent, KitSkeletonSectionComponent, 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, KitTimelineCompactComponent, KitTimelineCompactItemTheme, KitTimelineComponent, KitTimelineTheme, KitTimelineType, KitTimepickerComponent, KitTitleTemplateDirective, KitToastrModule, KitToastrPosition, KitToastrService, KitToastrType, KitToggleComponent, KitToggleSize, KitTooltipDirective, KitTooltipPosition, KitTopBarComponent, KitTrackingCardComponent, KitTrackingTimelineComponent, KitTranslateLoader, KitTranslateService, KitTreeComponent, KitTreeContentDirective, KitTreeContentFormat, KitTreeViewMode, KitTruncateTextComponent, KitUnitsTextboxComponent, KitUnitsTextboxDropdownPosition, KitUnitsTextboxType, KitUserApplicationsState, KitUserIdentitiesInterceptor, KitUserIdentitiesSelector, KitUserIdentitiesState, KitUserPermissionsState, KitUserSettingsComponent, KitUserSettingsKeys, KitUserSettingsState, KitUserState, KitUserType, KitUsersSettingsComponent, KitUsersSettingsEntitlementsService, KitUsersSettingsEntitlementsState, KitUsersSettingsReferenceService, KitUsersSettingsService, KitUsersSettingsState, RemoveGridFilter, SetGridColumns, SetGridFilters, SetGridSearch, SetGridSkip, SetGridSort, SetGridTake, SetUserIdentity, UpdateGridFilter, buildRandomUUID, changeFilterField, createDataFetcherFactory, findMatches, isKitFilterDescriptor, kitApiResponseDefaultEntities, kitApiTokenMaintenanceConfig, kitApiTokenMaintenanceRoutes, kitBuildFilterBooleanOptions, kitBuildFilterListOptions, kitBuildFilters, kitBuildGridColumn, kitBuildGridDataResults, kitBuildHttpParams, kitBuildOdataFilter, kitBuildSortString, kitDataStateToODataString, kitEncodeViewNameToUrl, kitFetchExportGridData, kitFetchGridData, kitFilterBy, kitFormatStringForSearch, kitGetPermissionTypesByCategory, kitHasPermission, kitNormalizeDateToUtc, kitShouldResetGridState, kitTranslations, kitUserPermissionsGuard, kitWhitespaceValidator, mapGlobalSearchResult, trimTrailingSlash };
|
|
5608
|
+
export type { GlobalSearchFilter, GlobalSearchLineItem, GlobalSearchPrompt, GlobalSearchResult, GlobalSearchRouteConfig, GlobalSearchSelectedFilter, KitApiResponseState, KitApiTokenMaintenanceConfig, KitAutocompleteItem, KitBreadcrumbsItem, KitCard, KitCardDetailsSkeletonConfig, KitCardDetailsState, KitCardItem, KitCardLink, KitCollapsedListItem, KitCompositeFilterDescriptor, KitCtaPanelConfirmation, KitCtaPanelConfirmationValue, KitCtaPanelCopyItem, KitCtaPanelItem, KitCurrentUser, KitDataResult, KitDataState, KitDaterangeValue, KitDropdownItem, KitExpansionPanelHeaderContext, KitExpansionPanelHeaderTemplateContext, KitFetchExportGridData, KitFetchGridDataOptions, KitFileUploadFile, KitFileUploadFileRestrictions, KitFileUploadFileRestrictionsMessages, KitFilterDescriptor, KitFilterItem, KitFilterListConfig, KitFilterListOption, KitFilterValue, KitFormLabelPopoverConfig, KitGridActionModel, 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, KitResetState, KitScheduleDateChangeEvent, KitScheduleEventClickEvent, KitScheduleNavigateEvent, KitScheduleSlotClickEvent, KitSchedulerAgendaViewSettings, KitSchedulerEvent, KitSchedulerViewModes, KitSchedulerViewModesSettings, KitSortDescriptor, KitSwitchItem, KitSwitchItemSelection, KitTabsSelectEvent, KitTileLayoutColumnsConfig, KitTimelineCompactItem, KitTimelineItem, KitTimelineItemDate, KitToastrConfig, KitTrackingCardTabs, KitTrackingTimelineItem, KitTreeActionButton, KitTreeNode, KitUser, KitUserCapabilities, KitUserIdentities, KitUserIdentity, KitUserMenuItem, KitUserPermissions, KitUserSettings };
|