@indigina/ui-kit 1.1.485 → 1.1.487
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 +396 -5
- 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 +85 -3
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",
|
|
@@ -5522,5 +5525,84 @@ interface KitGridActionModel<T> {
|
|
|
5522
5525
|
permissions?: string[];
|
|
5523
5526
|
}
|
|
5524
5527
|
|
|
5525
|
-
|
|
5526
|
-
|
|
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 };
|