@eui/components 17.0.0-next.20 → 17.0.0-next.21
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/docs/classes/EuiTreeHelper.html +85 -0
- package/docs/classes/EuiTreePagination.html +514 -0
- package/docs/components/ChartComponent.html +1 -1
- package/docs/components/CollapsedBreadcrumbComponent.html +1 -1
- package/docs/components/EclMessageWcComponent.html +1 -1
- package/docs/components/EuiAccessibleButtonIconComponent.html +1 -1
- package/docs/components/EuiAlertComponent.html +96 -609
- package/docs/components/EuiAppBreadcrumbComponent.html +1 -1
- package/docs/components/EuiAppComponent.html +1 -1
- package/docs/components/EuiAppFooterComponent.html +1 -1
- package/docs/components/EuiAppHeaderComponent.html +1 -1
- package/docs/components/EuiAppSidebarBodyComponent.html +1 -1
- package/docs/components/EuiAppSidebarComponent.html +1 -1
- package/docs/components/EuiAppSidebarDrawerComponent.html +1 -1
- package/docs/components/EuiAppSidebarFooterComponent.html +1 -1
- package/docs/components/EuiAppSidebarHeaderComponent.html +1 -1
- package/docs/components/EuiAppSidebarHeaderUserProfileComponent.html +1 -1
- package/docs/components/EuiAppSidebarMenuComponent.html +1 -1
- package/docs/components/EuiAppToolbarComponent.html +1 -1
- package/docs/components/EuiAppTopMessageComponent.html +1 -1
- package/docs/components/EuiAutocompleteAsyncTestComponent.html +1 -1
- package/docs/components/EuiAutocompleteChipsAsyncTestComponent.html +1 -1
- package/docs/components/EuiAutocompleteChipsTestComponent.html +1 -1
- package/docs/components/EuiAutocompleteComponent.html +1 -1
- package/docs/components/EuiAutocompleteTestComponent.html +1 -1
- package/docs/components/EuiAvatarBadgeComponent.html +1 -1
- package/docs/components/EuiAvatarComponent.html +1 -1
- package/docs/components/EuiAvatarIconComponent.html +1 -1
- package/docs/components/EuiAvatarImageComponent.html +1 -1
- package/docs/components/EuiAvatarListComponent.html +1 -1
- package/docs/components/EuiAvatarTextComponent.html +1 -1
- package/docs/components/EuiBadgeComponent.html +1 -1
- package/docs/components/EuiBlockContentComponent.html +1 -1
- package/docs/components/EuiBlockDocumentComponent.html +1 -1
- package/docs/components/EuiBreadcrumbComponent.html +1 -1
- package/docs/components/EuiBreadcrumbItemComponent.html +1 -1
- package/docs/components/EuiButtonComponent.html +1 -1
- package/docs/components/EuiButtonGroupComponent.html +1 -1
- package/docs/components/EuiButtonsComponent.html +1 -1
- package/docs/components/EuiCardComponent.html +1 -1
- package/docs/components/EuiCardContentComponent.html +1 -1
- package/docs/components/EuiCardFooterActionButtonsComponent.html +1 -1
- package/docs/components/EuiCardFooterActionIconsComponent.html +1 -1
- package/docs/components/EuiCardFooterComponent.html +1 -1
- package/docs/components/EuiCardFooterMenuContentComponent.html +1 -1
- package/docs/components/EuiCardHeaderBodyComponent.html +1 -1
- package/docs/components/EuiCardHeaderComponent.html +1 -1
- package/docs/components/EuiCardHeaderLeftContentComponent.html +1 -1
- package/docs/components/EuiCardHeaderRightContentComponent.html +1 -1
- package/docs/components/EuiCardHeaderSubtitleComponent.html +1 -1
- package/docs/components/EuiCardHeaderTitleComponent.html +1 -1
- package/docs/components/EuiCardMediaComponent.html +1 -1
- package/docs/components/EuiChipComponent.html +1 -1
- package/docs/components/EuiChipListComponent.html +1 -1
- package/docs/components/EuiCommonHeaderComponent.html +1 -1
- package/docs/components/EuiDashboardButtonComponent.html +1 -1
- package/docs/components/EuiDashboardCardComponent.html +1 -1
- package/docs/components/EuiDateRangeSelectorComponent.html +70 -2
- package/docs/components/EuiDatepickerComponent.html +1 -1
- package/docs/components/EuiDialogComponent.html +1 -1
- package/docs/components/EuiDialogContainerComponent.html +1 -1
- package/docs/components/EuiDimmerComponent.html +1 -1
- package/docs/components/EuiDisableContentComponent.html +1 -1
- package/docs/components/EuiDiscussionThreadComponent.html +1 -1
- package/docs/components/EuiDiscussionThreadItemComponent.html +1 -1
- package/docs/components/EuiDropdownComponent.html +1 -1
- package/docs/components/EuiDropdownItemComponent.html +1 -1
- package/docs/components/EuiEclBannerComponent.html +1 -1
- package/docs/components/EuiEclButtonComponent.html +1 -1
- package/docs/components/EuiEclCarouselComponent.html +1 -1
- package/docs/components/EuiEclCarouselItemComponent.html +1 -1
- package/docs/components/EuiEclIconComponent.html +1 -1
- package/docs/components/EuiEclMessageComponent.html +1 -1
- package/docs/components/EuiEditorComponent.html +1 -1
- package/docs/components/EuiEditorCountersComponent.html +1 -1
- package/docs/components/EuiEditorHtmlViewComponent.html +1 -1
- package/docs/components/EuiEditorImageDialogComponent.html +1 -1
- package/docs/components/EuiEditorJsonViewComponent.html +1 -1
- package/docs/components/EuiExpandContentComponent.html +1 -1
- package/docs/components/EuiFeedbackMessageComponent.html +1 -1
- package/docs/components/EuiFieldsetComponent.html +1 -1
- package/docs/components/EuiFilePreviewComponent.html +1 -1
- package/docs/components/EuiFileUploadComponent.html +1 -2
- package/docs/components/EuiFileUploadProgressComponent.html +1 -1
- package/docs/components/EuiFooterComponent.html +1 -1
- package/docs/components/EuiGrowlComponent.html +1 -1
- package/docs/components/EuiHeaderAppComponent.html +1 -1
- package/docs/components/EuiHeaderAppNameComponent.html +1 -1
- package/docs/components/EuiHeaderAppNameLogoComponent.html +1 -1
- package/docs/components/EuiHeaderAppSubtitleComponent.html +1 -1
- package/docs/components/EuiHeaderComponent.html +1 -1
- package/docs/components/EuiHeaderEnvironmentComponent.html +1 -1
- package/docs/components/EuiHeaderLogoComponent.html +1 -1
- package/docs/components/EuiHeaderUserProfileComponent.html +1 -1
- package/docs/components/EuiIconColorComponent.html +1 -1
- package/docs/components/EuiIconComponent.html +1 -1
- package/docs/components/EuiIconSvgComponent.html +1 -1
- package/docs/components/EuiIconToggleComponent.html +1 -1
- package/docs/components/EuiInputCheckboxComponent.html +1 -1
- package/docs/components/EuiInputGroupComponent.html +1 -1
- package/docs/components/EuiInputNumberComponent.html +14 -2
- package/docs/components/EuiInputRadioComponent.html +1 -1
- package/docs/components/EuiInputTextComponent.html +1 -1
- package/docs/components/EuiLabelComponent.html +1 -1
- package/docs/components/EuiLanguageSelectorComponent.html +1 -1
- package/docs/components/EuiListComponent.html +1 -1
- package/docs/components/EuiListItemComponent.html +1 -1
- package/docs/components/EuiMenuComponent.html +1 -1
- package/docs/components/EuiMenuItemComponent.html +1 -1
- package/docs/components/EuiMessageBoxComponent.html +1 -1
- package/docs/components/EuiModalSelectorComponent.html +1 -1
- package/docs/components/EuiNotificationItemComponent.html +1 -1
- package/docs/components/EuiNotificationItemV2Component.html +1 -1
- package/docs/components/EuiNotificationsComponent.html +1 -1
- package/docs/components/EuiNotificationsV2Component.html +1 -1
- package/docs/components/EuiOverlayBodyComponent.html +1 -1
- package/docs/components/EuiOverlayComponent.html +1 -1
- package/docs/components/EuiOverlayFooterComponent.html +1 -1
- package/docs/components/EuiOverlayHeaderComponent.html +1 -1
- package/docs/components/EuiOverlayHeaderTitleComponent.html +1 -1
- package/docs/components/EuiPageBreadcrumbComponent.html +1 -1
- package/docs/components/EuiPageColumnComponent.html +1 -1
- package/docs/components/EuiPageColumnsComponent.html +1 -1
- package/docs/components/EuiPageComponent.html +1 -1
- package/docs/components/EuiPageContentComponent.html +1 -1
- package/docs/components/EuiPageFooterComponent.html +1 -1
- package/docs/components/EuiPageHeaderComponent.html +1 -1
- package/docs/components/EuiPageHeroHeaderComponent.html +1 -1
- package/docs/components/EuiPageTopContentComponent.html +1 -1
- package/docs/components/EuiPaginatorComponent.html +1 -1
- package/docs/components/EuiPopoverComponent.html +1 -1
- package/docs/components/EuiProgressBarComponent.html +1 -1
- package/docs/components/EuiProgressCircleComponent.html +1 -1
- package/docs/components/EuiResizableComponent.html +1 -1
- package/docs/components/EuiSearchComponent.html +1 -1
- package/docs/components/EuiSelectComponent.html +1 -1
- package/docs/components/EuiSidebarMenuComponent.html +1 -1
- package/docs/components/EuiSidebarToggleComponent.html +1 -1
- package/docs/components/EuiSlideToggleComponent.html +1 -1
- package/docs/components/EuiSlideToggleTestComponent.html +1 -1
- package/docs/components/EuiTabComponent.html +1 -1
- package/docs/components/EuiTabContentComponent.html +1 -1
- package/docs/components/EuiTabLabelComponent.html +1 -1
- package/docs/components/EuiTableComponent.html +1 -1
- package/docs/components/EuiTableExpandableRowComponent.html +1 -1
- package/docs/components/EuiTableFilterComponent.html +1 -1
- package/docs/components/EuiTableSelectableHeaderComponent.html +2 -2
- package/docs/components/EuiTableSelectableRowComponent.html +1 -1
- package/docs/components/EuiTableSortableColComponent.html +1 -1
- package/docs/components/EuiTabsComponent.html +1 -1
- package/docs/components/EuiTextareaComponent.html +1 -1
- package/docs/components/EuiTimebarComponent.html +1 -1
- package/docs/components/EuiTimelineComponent.html +1 -1
- package/docs/components/EuiTimelineItemComponent.html +1 -1
- package/docs/components/EuiTimepickerComponent.html +1 -1
- package/docs/components/EuiToolbarAppComponent.html +1 -1
- package/docs/components/EuiToolbarCenterComponent.html +1 -1
- package/docs/components/EuiToolbarComponent.html +1 -1
- package/docs/components/EuiToolbarEnvironmentComponent.html +1 -1
- package/docs/components/EuiToolbarItemComponent.html +1 -1
- package/docs/components/EuiToolbarItemNotificationsComponent.html +1 -1
- package/docs/components/EuiToolbarItemSearchComponent.html +1 -1
- package/docs/components/EuiToolbarItemUserProfileComponent.html +1 -1
- package/docs/components/EuiToolbarItemsComponent.html +1 -1
- package/docs/components/EuiToolbarLogoComponent.html +1 -1
- package/docs/components/EuiToolbarMenuComponent.html +1 -1
- package/docs/components/EuiTooltipContainerComponent.html +1 -1
- package/docs/components/EuiTreeComponent.html +527 -55
- package/docs/components/EuiTreeListComponent.html +1 -1
- package/docs/components/EuiTreeListItemComponent.html +1 -1
- package/docs/components/EuiTreeListItemContentComponent.html +1 -1
- package/docs/components/EuiTreeListToolbarComponent.html +1 -1
- package/docs/components/EuiUserProfileCardComponent.html +1 -1
- package/docs/components/EuiUserProfileComponent.html +1 -1
- package/docs/components/EuiUserProfileMenuComponent.html +1 -1
- package/docs/components/EuiUserProfileMenuItemComponent.html +1 -1
- package/docs/components/EuiUxTreeComponent.html +1 -1
- package/docs/components/EuiUxTreeNodeComponent.html +1 -1
- package/docs/components/EuiUxTreeToolbarComponent.html +1 -1
- package/docs/components/EuiWizardComponent.html +1 -1
- package/docs/components/EuiWizardStepComponent.html +1 -1
- package/docs/components/QuillEditorComponent.html +1 -1
- package/docs/dependencies.html +2 -2
- package/docs/directives/EuiAlertTitleDirective.html +284 -0
- package/docs/index.html +3 -3
- package/docs/interfaces/MultiSelectionLogic.html +259 -0
- package/docs/interfaces/SelectConfigModel.html +52 -0
- package/docs/interfaces/SingleSelectionLogic.html +214 -0
- package/docs/js/menu-wc.js +29 -6
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/typealiases.html +2 -2
- package/docs/modules/EuiAlertModule.html +9 -0
- package/esm2022/eui-alert/eui-alert.component.mjs +80 -35
- package/esm2022/eui-card/eui-card.component.mjs +2 -2
- package/esm2022/eui-date-range-selector/eui-date-range-selector.component.mjs +13 -3
- package/esm2022/eui-dialog/container/eui-dialog-container.component.mjs +2 -2
- package/esm2022/eui-dialog/eui-dialog.component.mjs +2 -2
- package/esm2022/eui-dropdown/dropdown-item/eui-dropdown-item.component.mjs +2 -2
- package/esm2022/eui-dropdown/eui-dropdown.component.mjs +2 -2
- package/esm2022/eui-file-upload/eui-file-upload.component.mjs +8 -7
- package/esm2022/eui-file-upload/file-preview/file-preview.component.mjs +2 -2
- package/esm2022/eui-growl/eui-growl.component.mjs +2 -2
- package/esm2022/eui-input-number/eui-input-number.component.mjs +17 -9
- package/esm2022/eui-overlay/components/eui-overlay-body/eui-overlay-body.component.mjs +2 -2
- package/esm2022/eui-overlay/components/eui-overlay-footer/eui-overlay-footer.component.mjs +2 -2
- package/esm2022/eui-overlay/components/eui-overlay-header/eui-overlay-header.component.mjs +2 -2
- package/esm2022/eui-overlay/eui-overlay.component.mjs +2 -2
- package/esm2022/eui-page/eui-page.component.mjs +2 -2
- package/esm2022/eui-select/eui-select.component.mjs +2 -2
- package/esm2022/eui-sidebar-menu/eui-sidebar-menu.component.mjs +2 -2
- package/esm2022/eui-table/eui-table.component.mjs +2 -2
- package/esm2022/eui-table/selectable-header/eui-table-selectable-header.component.mjs +3 -3
- package/esm2022/eui-tabs/eui-tab/eui-tab.component.mjs +2 -2
- package/esm2022/eui-tabs/eui-tabs.component.mjs +2 -2
- package/esm2022/eui-textarea/eui-textarea.component.mjs +2 -2
- package/esm2022/eui-tree/eui-tree-helper.mjs +8 -1
- package/esm2022/eui-tree/eui-tree.component.mjs +450 -184
- package/esm2022/eui-tree/eui-tree.model.mjs +41 -1
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar.component.mjs +2 -2
- package/eui-alert/eui-alert.component.d.ts +23 -11
- package/eui-alert/eui-alert.component.d.ts.map +1 -1
- package/eui-date-range-selector/eui-date-range-selector.component.d.ts +2 -0
- package/eui-date-range-selector/eui-date-range-selector.component.d.ts.map +1 -1
- package/eui-file-upload/eui-file-upload.component.d.ts +2 -3
- package/eui-file-upload/eui-file-upload.component.d.ts.map +1 -1
- package/eui-input-number/eui-input-number.component.d.ts +3 -2
- package/eui-input-number/eui-input-number.component.d.ts.map +1 -1
- package/eui-tree/eui-tree-helper.d.ts +1 -0
- package/eui-tree/eui-tree-helper.d.ts.map +1 -1
- package/eui-tree/eui-tree.component.d.ts +46 -19
- package/eui-tree/eui-tree.component.d.ts.map +1 -1
- package/eui-tree/eui-tree.model.d.ts +41 -7
- package/eui-tree/eui-tree.model.d.ts.map +1 -1
- package/fesm2022/eui-components-eui-alert.mjs +80 -35
- package/fesm2022/eui-components-eui-alert.mjs.map +1 -1
- package/fesm2022/eui-components-eui-card.mjs +2 -2
- package/fesm2022/eui-components-eui-date-range-selector.mjs +12 -2
- package/fesm2022/eui-components-eui-date-range-selector.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dialog.mjs +4 -4
- package/fesm2022/eui-components-eui-dropdown.mjs +4 -4
- package/fesm2022/eui-components-eui-file-upload.mjs +8 -7
- package/fesm2022/eui-components-eui-file-upload.mjs.map +1 -1
- package/fesm2022/eui-components-eui-growl.mjs +2 -2
- package/fesm2022/eui-components-eui-input-number.mjs +16 -8
- package/fesm2022/eui-components-eui-input-number.mjs.map +1 -1
- package/fesm2022/eui-components-eui-overlay.mjs +8 -8
- package/fesm2022/eui-components-eui-page.mjs +2 -2
- package/fesm2022/eui-components-eui-select.mjs +2 -2
- package/fesm2022/eui-components-eui-sidebar-menu.mjs +2 -2
- package/fesm2022/eui-components-eui-table.mjs +4 -4
- package/fesm2022/eui-components-eui-table.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tabs.mjs +4 -4
- package/fesm2022/eui-components-eui-textarea.mjs +2 -2
- package/fesm2022/eui-components-eui-tree.mjs +533 -221
- package/fesm2022/eui-components-eui-tree.mjs.map +1 -1
- package/fesm2022/eui-components-layout.mjs +2 -2
- package/package.json +7 -7
@@ -32,4 +32,44 @@ export function uxTreeNodesMetaDataMapper(oldTree) {
|
|
32
32
|
};
|
33
33
|
});
|
34
34
|
}
|
35
|
-
|
35
|
+
export class EuiTreePagination {
|
36
|
+
constructor(data, startPage, renderedPageCount, perPage) {
|
37
|
+
this.data = data;
|
38
|
+
this.setCurrentStartPage(startPage);
|
39
|
+
this.renderedPageCount = renderedPageCount;
|
40
|
+
this.totalItems = this.data.length;
|
41
|
+
this.perPage = perPage;
|
42
|
+
this.totalPages = Math.ceil(this.totalItems / this.perPage);
|
43
|
+
}
|
44
|
+
paginateNext() {
|
45
|
+
if (this.startPage < this.totalPages) {
|
46
|
+
this.startPage += 1;
|
47
|
+
}
|
48
|
+
return this.getViewData();
|
49
|
+
}
|
50
|
+
paginatePrev() {
|
51
|
+
if (this.startPage > 1) {
|
52
|
+
this.startPage -= 1;
|
53
|
+
}
|
54
|
+
return this.getViewData();
|
55
|
+
}
|
56
|
+
getCurrentStartPage() {
|
57
|
+
return this.startPage;
|
58
|
+
}
|
59
|
+
setCurrentStartPage(startPage) {
|
60
|
+
this.startPage = startPage;
|
61
|
+
}
|
62
|
+
isAtMax() {
|
63
|
+
return this.totalPages < this.startPage + this.renderedPageCount;
|
64
|
+
}
|
65
|
+
getViewData() {
|
66
|
+
const startIndex = (this.startPage - 1) * this.perPage;
|
67
|
+
const endIndex = startIndex + this.perPage * this.renderedPageCount;
|
68
|
+
const pageData = structuredClone(this.data).slice(startIndex, endIndex);
|
69
|
+
return {
|
70
|
+
startPage: this.startPage,
|
71
|
+
data: pageData,
|
72
|
+
};
|
73
|
+
}
|
74
|
+
}
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpLXRyZWUubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9ldWktdHJlZS9ldWktdHJlZS5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtR0EsK0RBQStEO0FBQy9ELE1BQU0sVUFBVSx5QkFBeUIsQ0FBQyxPQUE0QjtJQUNsRSxPQUFPLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxJQUFJLEVBQUUsRUFBRTtRQUN4QixJQUFJLElBQUksRUFBRSxTQUFTLEtBQUssU0FBUyxFQUFFO1lBQy9CLDRCQUE0QjtZQUM1QixJQUFJLENBQUMsU0FBUyxHQUFHLFdBQVcsQ0FBQztTQUNoQztRQUNELElBQUksSUFBSSxFQUFFLFVBQVUsRUFBRTtZQUNsQiw0QkFBNEI7WUFDNUIsSUFBSSxJQUFJLEVBQUUsTUFBTSxFQUFFLE1BQU0sR0FBRyxDQUFDLEVBQUU7Z0JBQzFCLElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRSxVQUFVLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxDQUFDLENBQUM7YUFDekU7aUJBQU07Z0JBQ0gsSUFBSSxDQUFDLE1BQU0sR0FBRyxDQUFDLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBRS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KTogdm9pZCB7XG4gICAgICAgIHRoaXMuc3RhcnRQYWdlID0gc3RhcnRQYWdlO1xuICAgIH1cblxuICAgIHB1YmxpYyBpc0F0TWF4KCk6IGJvb2xlYW4ge1xuICAgICAgICByZXR1cm4gdGhpcy50b3RhbFBhZ2VzIDwgdGhpcy5zdGFydFBhZ2UgKyB0aGlzLnJlbmRlcmVkUGFnZUNvdW50O1xuICAgIH1cblxuICAgIHB1YmxpYyBnZXRWaWV3RGF0YSgpOiB7IHN0YXJ0UGFnZTogbnVtYmVyOyBkYXRhOiBUW10gfSB7XG4gICAgICAgIGNvbnN0IHN0YXJ0SW5kZXggPSAodGhpcy5zdGFydFBhZ2UgLSAxKSAqIHRoaXMucGVyUGFnZTtcbiAgICAgICAgY29uc3QgZW5kSW5kZXggPSBzdGFydEluZGV4ICsgdGhpcy5wZXJQYWdlICogdGhpcy5yZW5kZXJlZFBhZ2VDb3VudDtcbiAgICAgICAgY29uc3QgcGFnZURhdGEgPSBzdHJ1Y3R1cmVkQ2xvbmUodGhpcy5kYXRhKS5zbGljZShzdGFydEluZGV4LCBlbmRJbmRleCk7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBzdGFydFBhZ2U6IHRoaXMuc3RhcnRQYWdlLFxuICAgICAgICAgICAgZGF0YTogcGFnZURhdGEsXG4gICAgICAgIH07XG4gICAgfVxufVxuIl19
|
@@ -44,11 +44,11 @@ export class EuiAppSidebarComponent {
|
|
44
44
|
}
|
45
45
|
}
|
46
46
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: EuiAppSidebarComponent, deps: [{ token: i1.EuiAppShellService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
47
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.0-rc.1", type: EuiAppSidebarComponent, selector: "eui-app-sidebar", host: { listeners: { "body:click": "close()" }, properties: { "class": "this.string" } }, ngImport: i0, template: "<div class=\"eui-app-sidebar-content\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" role=\"complementary\">\n <ng-content select=\"eui-app-sidebar-header-user-profile\"></ng-content>\n <ng-content select=\"eui-app-sidebar-header\"></ng-content>\n <ng-content select=\"eui-app-sidebar-body\"></ng-content>\n <ng-content select=\"eui-app-sidebar-footer\"></ng-content>\n <ng-content select=\"eui-app-sidebar-drawer\"></ng-content>\n</div>\n", styles: [".eui-app-sidebar{background-color:var(--eui-base-color-grey-2);height:100%;left:0;position:fixed;top:calc(var(--eui-app-header-height) + var(--eui-app-toolbar-height) + var(--eui-app-top-message-height));width:var(--eui-app-sidebar-width);box-shadow:var(--eui-base-shadow-10)}.eui-app.ff.sidebar--close:not(.sidebar--hover) .eui-app-sidebar{width:calc(var(--eui-app-sidebar-width-close-active) + 16px)}.sidebar--hidden{z-index:var(--eui-base-z-index-sidebar)}.modal-open .eui-app-sidebar{z-index:auto}.eui-app-sidebar-content{border-right:1px solid var(--eui-base-color-grey-5);box-shadow:0 8px 10px #b7c0cebf;display:flex;flex-direction:column;height:100%;max-height:calc(100% - (var(--eui-app-header-height) + var(--eui-app-toolbar-height)));overflow:hidden;position:relative}.eui-app-sidebar-header{align-items:center;background-color:var(--eui-base-color-grey-10);border-bottom:1px solid var(--eui-base-color-grey-15);display:flex;width:100%}.eui-app-sidebar-body{display:flex;height:100%;max-height:calc(100% - (var(--eui-app-sidebar-header-height) + var(--eui-app-sidebar-footer-height)));overflow-x:hidden;overflow-y:scroll}.eui-app-sidebar-body::-webkit-scrollbar{display:inherit;height:8px;width:8px;background-color:var(--eui-base-color-grey-5)}.eui-app-sidebar-body::-webkit-scrollbar-thumb{background-color:var(--eui-base-color-grey-20);border-radius:5rem}.eui-app-sidebar-body::-webkit-scrollbar-thumb:hover{background-color:var(--eui-base-color-grey-
|
47
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.0-rc.1", type: EuiAppSidebarComponent, selector: "eui-app-sidebar", host: { listeners: { "body:click": "close()" }, properties: { "class": "this.string" } }, ngImport: i0, template: "<div class=\"eui-app-sidebar-content\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" role=\"complementary\">\n <ng-content select=\"eui-app-sidebar-header-user-profile\"></ng-content>\n <ng-content select=\"eui-app-sidebar-header\"></ng-content>\n <ng-content select=\"eui-app-sidebar-body\"></ng-content>\n <ng-content select=\"eui-app-sidebar-footer\"></ng-content>\n <ng-content select=\"eui-app-sidebar-drawer\"></ng-content>\n</div>\n", styles: [".eui-app-sidebar{background-color:var(--eui-base-color-grey-2);height:100%;left:0;position:fixed;top:calc(var(--eui-app-header-height) + var(--eui-app-toolbar-height) + var(--eui-app-top-message-height));width:var(--eui-app-sidebar-width);box-shadow:var(--eui-base-shadow-10)}.eui-app.ff.sidebar--close:not(.sidebar--hover) .eui-app-sidebar{width:calc(var(--eui-app-sidebar-width-close-active) + 16px)}.sidebar--hidden{z-index:var(--eui-base-z-index-sidebar)}.modal-open .eui-app-sidebar{z-index:auto}.eui-app-sidebar-content{border-right:1px solid var(--eui-base-color-grey-5);box-shadow:0 8px 10px #b7c0cebf;display:flex;flex-direction:column;height:100%;max-height:calc(100% - (var(--eui-app-header-height) + var(--eui-app-toolbar-height)));overflow:hidden;position:relative}.eui-app-sidebar-header{align-items:center;background-color:var(--eui-base-color-grey-10);border-bottom:1px solid var(--eui-base-color-grey-15);display:flex;width:100%}.eui-app-sidebar-body{display:flex;height:100%;max-height:calc(100% - (var(--eui-app-sidebar-header-height) + var(--eui-app-sidebar-footer-height)));overflow-x:hidden;overflow-y:scroll}.eui-app-sidebar-body::-webkit-scrollbar{display:inherit;height:8px;width:8px;background-color:var(--eui-base-color-grey-5)}.eui-app-sidebar-body::-webkit-scrollbar-thumb{background-color:var(--eui-base-color-grey-20);border-radius:5rem}.eui-app-sidebar-body::-webkit-scrollbar-thumb:hover{background-color:var(--eui-base-color-grey-50)}.eui-app-sidebar-body::-webkit-scrollbar-track{background-color:var(--eui-base-color-grey-5);border-radius:0}.sidebar--close:not(.sidebar--hover) .eui-app-sidebar-body{max-height:100%}.eui-app-sidebar-footer{align-items:center;display:flex;flex:0 0 auto;justify-content:center;padding:var(--eui-base-spacing-xs)}.eui-app-sidebar-menu{display:flex;height:100%;width:100%}@media screen and (max-width: 767px){.eui-app-sidebar{z-index:var(--eui-base-z-index-sidebar)}.eui-app-sidebar-body{max-height:100%}.sidebar--close .eui-app-sidebar{box-shadow:none!important;margin-left:calc(var(--eui-app-sidebar-width-active) * -1)}.sidebar--open .eui-app-sidebar{display:initial;margin-left:0;width:75%}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-app-sidebar{z-index:var(--eui-base-z-index-sidebar)}.eui-app-sidebar-body{max-height:100%}.sidebar--close .eui-app-sidebar{box-shadow:none!important;margin-left:calc(var(--eui-app-sidebar-width-active) * -1)}.sidebar--open .eui-app-sidebar{display:initial;margin-left:0;width:50%}.sidebar--hidden.sidebar--open .eui-app-sidebar{box-shadow:var(--eui-base-shadow-4);width:var(--eui-app-sidebar-width-active)}}@media screen and (min-width: 996px){.sidebar--hover .eui-app-sidebar{z-index:var(--eui-base-z-index-sidebar)}.sidebar--close:not(.sidebar--hover) .eui-app-sidebar{width:var(--eui-app-sidebar-width-close)}.sidebar--close:not(.sidebar--hover) .eui-app-sidebar-header{display:none}.sidebar--close:not(.sidebar--hover) .eui-app-sidebar-footer{text-indent:-9999px}.sidebar--hidden.sidebar--close .eui-app-sidebar{margin-left:calc(var(--eui-app-sidebar-width-active) * -1)}.sidebar--hidden.sidebar--open .eui-app-sidebar{box-shadow:var(--eui-base-shadow-4);display:initial;margin-left:0;width:var(--eui-app-sidebar-width-active);z-index:var(--eui-base-z-index-sidebar)}}.eui-app-sidebar-drawer{display:none}.eui-app.sidebar--open.md .eui-app-sidebar-drawer,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer{background:var(--eui-base-color-grey-5);border-top:1px solid var(--eui-base-color-grey-15);display:flex;height:100%;position:fixed;top:100vh;transition:top .25s ease-in-out}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content{height:calc(100% - 8rem);overflow-y:auto;padding:var(--eui-base-spacing-s);width:100%}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content::-webkit-scrollbar,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content::-webkit-scrollbar{display:inherit;height:8px;width:8px;background-color:var(--eui-base-color-grey-5)}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content::-webkit-scrollbar-thumb,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content::-webkit-scrollbar-thumb{background-color:var(--eui-base-color-grey-20);border-radius:5rem}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content::-webkit-scrollbar-thumb:hover,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content::-webkit-scrollbar-thumb:hover{background-color:var(--eui-base-color-grey-50)}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content::-webkit-scrollbar-track,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content::-webkit-scrollbar-track{background-color:var(--eui-base-color-grey-5);border-radius:0}.eui-app.sidebar--open.md .eui-app-sidebar-drawer--expanded,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer--expanded{top:8rem}.eui-app.sidebar--close.md .eui-app-sidebar-drawer,.eui-app.sidebar--close.xs .eui-app-sidebar-drawer{position:fixed;top:100vh}@media screen and (max-width: 767px){.eui-app-sidebar-drawer,.eui-app-sidebar-drawer--expanded{width:75%}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-app-sidebar-drawer,.eui-app-sidebar-drawer--expanded{width:50%}}\n"], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
48
48
|
}
|
49
49
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: EuiAppSidebarComponent, decorators: [{
|
50
50
|
type: Component,
|
51
|
-
args: [{ selector: 'eui-app-sidebar', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, template: "<div class=\"eui-app-sidebar-content\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" role=\"complementary\">\n <ng-content select=\"eui-app-sidebar-header-user-profile\"></ng-content>\n <ng-content select=\"eui-app-sidebar-header\"></ng-content>\n <ng-content select=\"eui-app-sidebar-body\"></ng-content>\n <ng-content select=\"eui-app-sidebar-footer\"></ng-content>\n <ng-content select=\"eui-app-sidebar-drawer\"></ng-content>\n</div>\n", styles: [".eui-app-sidebar{background-color:var(--eui-base-color-grey-2);height:100%;left:0;position:fixed;top:calc(var(--eui-app-header-height) + var(--eui-app-toolbar-height) + var(--eui-app-top-message-height));width:var(--eui-app-sidebar-width);box-shadow:var(--eui-base-shadow-10)}.eui-app.ff.sidebar--close:not(.sidebar--hover) .eui-app-sidebar{width:calc(var(--eui-app-sidebar-width-close-active) + 16px)}.sidebar--hidden{z-index:var(--eui-base-z-index-sidebar)}.modal-open .eui-app-sidebar{z-index:auto}.eui-app-sidebar-content{border-right:1px solid var(--eui-base-color-grey-5);box-shadow:0 8px 10px #b7c0cebf;display:flex;flex-direction:column;height:100%;max-height:calc(100% - (var(--eui-app-header-height) + var(--eui-app-toolbar-height)));overflow:hidden;position:relative}.eui-app-sidebar-header{align-items:center;background-color:var(--eui-base-color-grey-10);border-bottom:1px solid var(--eui-base-color-grey-15);display:flex;width:100%}.eui-app-sidebar-body{display:flex;height:100%;max-height:calc(100% - (var(--eui-app-sidebar-header-height) + var(--eui-app-sidebar-footer-height)));overflow-x:hidden;overflow-y:scroll}.eui-app-sidebar-body::-webkit-scrollbar{display:inherit;height:8px;width:8px;background-color:var(--eui-base-color-grey-5)}.eui-app-sidebar-body::-webkit-scrollbar-thumb{background-color:var(--eui-base-color-grey-20);border-radius:5rem}.eui-app-sidebar-body::-webkit-scrollbar-thumb:hover{background-color:var(--eui-base-color-grey-
|
51
|
+
args: [{ selector: 'eui-app-sidebar', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, template: "<div class=\"eui-app-sidebar-content\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" role=\"complementary\">\n <ng-content select=\"eui-app-sidebar-header-user-profile\"></ng-content>\n <ng-content select=\"eui-app-sidebar-header\"></ng-content>\n <ng-content select=\"eui-app-sidebar-body\"></ng-content>\n <ng-content select=\"eui-app-sidebar-footer\"></ng-content>\n <ng-content select=\"eui-app-sidebar-drawer\"></ng-content>\n</div>\n", styles: [".eui-app-sidebar{background-color:var(--eui-base-color-grey-2);height:100%;left:0;position:fixed;top:calc(var(--eui-app-header-height) + var(--eui-app-toolbar-height) + var(--eui-app-top-message-height));width:var(--eui-app-sidebar-width);box-shadow:var(--eui-base-shadow-10)}.eui-app.ff.sidebar--close:not(.sidebar--hover) .eui-app-sidebar{width:calc(var(--eui-app-sidebar-width-close-active) + 16px)}.sidebar--hidden{z-index:var(--eui-base-z-index-sidebar)}.modal-open .eui-app-sidebar{z-index:auto}.eui-app-sidebar-content{border-right:1px solid var(--eui-base-color-grey-5);box-shadow:0 8px 10px #b7c0cebf;display:flex;flex-direction:column;height:100%;max-height:calc(100% - (var(--eui-app-header-height) + var(--eui-app-toolbar-height)));overflow:hidden;position:relative}.eui-app-sidebar-header{align-items:center;background-color:var(--eui-base-color-grey-10);border-bottom:1px solid var(--eui-base-color-grey-15);display:flex;width:100%}.eui-app-sidebar-body{display:flex;height:100%;max-height:calc(100% - (var(--eui-app-sidebar-header-height) + var(--eui-app-sidebar-footer-height)));overflow-x:hidden;overflow-y:scroll}.eui-app-sidebar-body::-webkit-scrollbar{display:inherit;height:8px;width:8px;background-color:var(--eui-base-color-grey-5)}.eui-app-sidebar-body::-webkit-scrollbar-thumb{background-color:var(--eui-base-color-grey-20);border-radius:5rem}.eui-app-sidebar-body::-webkit-scrollbar-thumb:hover{background-color:var(--eui-base-color-grey-50)}.eui-app-sidebar-body::-webkit-scrollbar-track{background-color:var(--eui-base-color-grey-5);border-radius:0}.sidebar--close:not(.sidebar--hover) .eui-app-sidebar-body{max-height:100%}.eui-app-sidebar-footer{align-items:center;display:flex;flex:0 0 auto;justify-content:center;padding:var(--eui-base-spacing-xs)}.eui-app-sidebar-menu{display:flex;height:100%;width:100%}@media screen and (max-width: 767px){.eui-app-sidebar{z-index:var(--eui-base-z-index-sidebar)}.eui-app-sidebar-body{max-height:100%}.sidebar--close .eui-app-sidebar{box-shadow:none!important;margin-left:calc(var(--eui-app-sidebar-width-active) * -1)}.sidebar--open .eui-app-sidebar{display:initial;margin-left:0;width:75%}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-app-sidebar{z-index:var(--eui-base-z-index-sidebar)}.eui-app-sidebar-body{max-height:100%}.sidebar--close .eui-app-sidebar{box-shadow:none!important;margin-left:calc(var(--eui-app-sidebar-width-active) * -1)}.sidebar--open .eui-app-sidebar{display:initial;margin-left:0;width:50%}.sidebar--hidden.sidebar--open .eui-app-sidebar{box-shadow:var(--eui-base-shadow-4);width:var(--eui-app-sidebar-width-active)}}@media screen and (min-width: 996px){.sidebar--hover .eui-app-sidebar{z-index:var(--eui-base-z-index-sidebar)}.sidebar--close:not(.sidebar--hover) .eui-app-sidebar{width:var(--eui-app-sidebar-width-close)}.sidebar--close:not(.sidebar--hover) .eui-app-sidebar-header{display:none}.sidebar--close:not(.sidebar--hover) .eui-app-sidebar-footer{text-indent:-9999px}.sidebar--hidden.sidebar--close .eui-app-sidebar{margin-left:calc(var(--eui-app-sidebar-width-active) * -1)}.sidebar--hidden.sidebar--open .eui-app-sidebar{box-shadow:var(--eui-base-shadow-4);display:initial;margin-left:0;width:var(--eui-app-sidebar-width-active);z-index:var(--eui-base-z-index-sidebar)}}.eui-app-sidebar-drawer{display:none}.eui-app.sidebar--open.md .eui-app-sidebar-drawer,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer{background:var(--eui-base-color-grey-5);border-top:1px solid var(--eui-base-color-grey-15);display:flex;height:100%;position:fixed;top:100vh;transition:top .25s ease-in-out}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content{height:calc(100% - 8rem);overflow-y:auto;padding:var(--eui-base-spacing-s);width:100%}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content::-webkit-scrollbar,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content::-webkit-scrollbar{display:inherit;height:8px;width:8px;background-color:var(--eui-base-color-grey-5)}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content::-webkit-scrollbar-thumb,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content::-webkit-scrollbar-thumb{background-color:var(--eui-base-color-grey-20);border-radius:5rem}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content::-webkit-scrollbar-thumb:hover,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content::-webkit-scrollbar-thumb:hover{background-color:var(--eui-base-color-grey-50)}.eui-app.sidebar--open.md .eui-app-sidebar-drawer-content::-webkit-scrollbar-track,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer-content::-webkit-scrollbar-track{background-color:var(--eui-base-color-grey-5);border-radius:0}.eui-app.sidebar--open.md .eui-app-sidebar-drawer--expanded,.eui-app.sidebar--open.xs .eui-app-sidebar-drawer--expanded{top:8rem}.eui-app.sidebar--close.md .eui-app-sidebar-drawer,.eui-app.sidebar--close.xs .eui-app-sidebar-drawer{position:fixed;top:100vh}@media screen and (max-width: 767px){.eui-app-sidebar-drawer,.eui-app-sidebar-drawer--expanded{width:75%}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-app-sidebar-drawer,.eui-app-sidebar-drawer--expanded{width:50%}}\n"] }]
|
52
52
|
}], ctorParameters: () => [{ type: i1.EuiAppShellService, decorators: [{
|
53
53
|
type: Optional
|
54
54
|
}] }], propDecorators: { string: [{
|
@@ -1,30 +1,42 @@
|
|
1
|
-
import { EventEmitter, AfterContentInit, OnChanges } from '@angular/core';
|
1
|
+
import { EventEmitter, AfterContentInit, OnChanges, OnInit } from '@angular/core';
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
3
|
-
import {
|
3
|
+
import { BaseStatesDirective } from '@eui/components/shared';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@
|
6
|
-
import * as i2 from "@
|
7
|
-
import * as i3 from "@
|
8
|
-
import * as i4 from "@eui/components/
|
9
|
-
|
5
|
+
import * as i1 from "@eui/components/shared";
|
6
|
+
import * as i2 from "@angular/common";
|
7
|
+
import * as i3 from "@ngx-translate/core";
|
8
|
+
import * as i4 from "@eui/components/eui-icon";
|
9
|
+
import * as i5 from "@eui/components/eui-label";
|
10
|
+
import * as i6 from "@eui/components/eui-button";
|
11
|
+
export declare class EuiAlertTitleDirective {
|
12
|
+
class: string;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EuiAlertTitleDirective, never>;
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EuiAlertTitleDirective, "eui-alert-title", never, {}, {}, never, never, false, never>;
|
15
|
+
}
|
16
|
+
export declare class EuiAlertComponent implements OnInit, OnChanges, AfterContentInit {
|
17
|
+
baseStatesDirective: BaseStatesDirective;
|
18
|
+
get cssClasses(): string;
|
19
|
+
e2eAttr: string;
|
10
20
|
isMuted: BooleanInput;
|
11
21
|
isCloseable: BooleanInput;
|
12
22
|
isFocusable: BooleanInput;
|
13
23
|
closeAlert: EventEmitter<null>;
|
14
24
|
isVisible: boolean;
|
15
25
|
alertIconType: string;
|
16
|
-
|
17
|
-
constructor();
|
26
|
+
alertIconFillColor: string;
|
27
|
+
constructor(baseStatesDirective: BaseStatesDirective);
|
28
|
+
ngOnInit(): void;
|
18
29
|
ngOnChanges(): void;
|
19
30
|
ngAfterContentInit(): void;
|
20
31
|
onCloseClick(): void;
|
32
|
+
private getCssClasses;
|
21
33
|
private setIcon;
|
22
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiAlertComponent, never>;
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EuiAlertComponent, "div[euiAlert], eui-alert", never, { "isMuted": { "alias": "isMuted"; "required": false; }; "isCloseable": { "alias": "isCloseable"; "required": false; }; "isFocusable": { "alias": "isFocusable"; "required": false; }; }, { "closeAlert": "closeAlert"; }, never, ["*"], false,
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EuiAlertComponent, "div[euiAlert], eui-alert", never, { "e2eAttr": { "alias": "e2eAttr"; "required": false; }; "isMuted": { "alias": "isMuted"; "required": false; }; "isCloseable": { "alias": "isCloseable"; "required": false; }; "isFocusable": { "alias": "isFocusable"; "required": false; }; }, { "closeAlert": "closeAlert"; }, never, ["eui-alert-title", "*"], false, [{ directive: typeof i1.BaseStatesDirective; inputs: { "euiSecondary": "euiSecondary"; "euiSuccess": "euiSuccess"; "euiInfo": "euiInfo"; "euiWarning": "euiWarning"; "euiDanger": "euiDanger"; "euiVariant": "euiVariant"; }; outputs: {}; }]>;
|
24
36
|
}
|
25
37
|
export declare class EuiAlertModule {
|
26
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiAlertModule, never>;
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiAlertModule, [typeof EuiAlertComponent], [typeof
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiAlertModule, [typeof EuiAlertComponent, typeof EuiAlertTitleDirective], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.EuiIconModule, typeof i5.EuiLabelModule, typeof i1.EuiAccessibleButtonIconModule, typeof i6.EuiButtonModule], [typeof EuiAlertComponent, typeof EuiAlertTitleDirective]>;
|
28
40
|
static ɵinj: i0.ɵɵInjectorDeclaration<EuiAlertModule>;
|
29
41
|
}
|
30
42
|
//# sourceMappingURL=eui-alert.component.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-alert.component.d.ts","sourceRoot":"","sources":["../../eui-alert/eui-alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,YAAY,EAIZ,gBAAgB,EAEhB,SAAS,
|
1
|
+
{"version":3,"file":"eui-alert.component.d.ts","sourceRoot":"","sources":["../../eui-alert/eui-alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,YAAY,EAIZ,gBAAgB,EAEhB,SAAS,EACT,MAAM,EAET,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGrD,OAAO,EAAE,mBAAmB,EAAiC,MAAM,wBAAwB,CAAC;;;;;;;;AAO5F,qBACa,sBAAsB;IACT,KAAK,SAAsB;yCADxC,sBAAsB;2CAAtB,sBAAsB;CAElC;AAGD,qBAaa,iBAAkB,YAAW,MAAM,EAAE,SAAS,EAAE,gBAAgB;IAuBtD,mBAAmB,EAAE,mBAAmB;IAtB3D,IACW,UAAU,IAAI,MAAM,CAE9B;IAGD,OAAO,SAAe;IAItB,OAAO,EAAE,YAAY,CAAS;IAG9B,WAAW,EAAE,YAAY,CAAS;IACV,WAAW,EAAE,YAAY,CAAS;IAEhD,UAAU,qBAA4B;IAEhD,SAAS,UAAQ;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;gBAER,mBAAmB,EAAE,mBAAmB;IAE3D,QAAQ,IAAI,IAAI;IAMhB,WAAW,IAAI,IAAI;IAInB,kBAAkB,IAAI,IAAI;IAI1B,YAAY,IAAI,IAAI;IAKpB,OAAO,CAAC,aAAa;IAUrB,OAAO,CAAC,OAAO;yCAtDN,iBAAiB;2CAAjB,iBAAiB;CA2E7B;AAED,qBAKa,cAAc;yCAAd,cAAc;0CAAd,cAAc,UAlFd,iBAAiB,SAlBjB,sBAAsB,uLAkBtB,iBAAiB,SAlBjB,sBAAsB;0CAoGtB,cAAc;CAAG"}
|
@@ -59,6 +59,8 @@ export declare class EuiDateRangeSelectorComponent implements OnInit, AfterConte
|
|
59
59
|
ngOnDestroy(): void;
|
60
60
|
onFirstDateChange(e: MatDatepickerInputEvent<any>): void;
|
61
61
|
onSecondDateChange(e: MatDatepickerInputEvent<any>): void;
|
62
|
+
onFirstDateClear(): void;
|
63
|
+
onSecondDateClear(): void;
|
62
64
|
writeValue(values: EuiDateRangeSelectorDates): void;
|
63
65
|
setDisabledState?(isDisabled: boolean): void;
|
64
66
|
registerOnChange(fn: any): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-date-range-selector.component.d.ts","sourceRoot":"","sources":["../../eui-date-range-selector/eui-date-range-selector.component.ts"],"names":[],"mappings":"AACA,OAAO,EACH,gBAAgB,EAEhB,OAAO,EACP,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAIN,aAAa,EAEhB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAyB,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;;AACzF,qBAMa,6BAA8B,YAAW,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,EAAE,oBAAoB,EAAE,OAAO;IAsE3H,SAAS,CAAC,gBAAgB,EAAE,gBAAgB;IAChC,SAAS,CAAC,aAAa,EAAE,aAAa;IAClD,SAAS,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC;IACf,SAAS,CAAC,OAA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,EAEnC;IACD,OAAO,CAAC,aAAa,CAAS;IAE9B,OAAO,CAAC,QAAQ,CAA4C;gBAG9C,gBAAgB,EAAE,gBAAgB,EACtB,aAAa,EAAE,aAAa,EACxC,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,EACL,OAAO,EAAE,SAAS;IAOpD,QAAQ,IAAI,IAAI;IA+ChB,SAAS,IAAI,IAAI;IAYjB,kBAAkB,IAAI,IAAI;IAS1B,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAazC,WAAW,IAAI,IAAI;IAKZ,iBAAiB,CAAC,CAAC,EAAE,uBAAuB,CAAC,GAAG,CAAC,GAAG,IAAI;IAOxD,kBAAkB,CAAC,CAAC,EAAE,uBAAuB,CAAC,GAAG,CAAC,GAAG,IAAI;IAOhE,UAAU,CAAC,MAAM,EAAE,yBAAyB,GAAG,IAAI;IAe5C,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAWnD,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAKhC,OAAO,CAAC,eAAe,CAAwB;IAG/C,OAAO,CAAC,gBAAgB,CAAkB;
|
1
|
+
{"version":3,"file":"eui-date-range-selector.component.d.ts","sourceRoot":"","sources":["../../eui-date-range-selector/eui-date-range-selector.component.ts"],"names":[],"mappings":"AACA,OAAO,EACH,gBAAgB,EAEhB,OAAO,EACP,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAIN,aAAa,EAEhB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAyB,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;A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B;yCArOjC,6BAA6B;2CAA7B,6BAA6B;CAsOzC"}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ElementRef, OnInit, QueryList, EventEmitter
|
1
|
+
import { ElementRef, OnInit, QueryList, EventEmitter } from '@angular/core';
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
4
4
|
import { EuiUploadedFileInterface } from './models/uploaded-file.model';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class EuiFileUploadComponent implements ControlValueAccessor, OnInit
|
6
|
+
export declare class EuiFileUploadComponent implements ControlValueAccessor, OnInit {
|
7
7
|
e2eAttr: string;
|
8
8
|
progress: number;
|
9
9
|
accept: string;
|
@@ -46,7 +46,6 @@ export declare class EuiFileUploadComponent implements ControlValueAccessor, OnI
|
|
46
46
|
emitFiles(fileList: FileList): void;
|
47
47
|
get showResetBtn(): boolean;
|
48
48
|
get isDropAreaDisabled(): boolean;
|
49
|
-
ngOnChanges(c: SimpleChanges): void;
|
50
49
|
ngOnInit(): void;
|
51
50
|
onDragEnter(): void;
|
52
51
|
onDragLeave(): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-file-upload.component.d.ts","sourceRoot":"","sources":["../../eui-file-upload/eui-file-upload.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,UAAU,EAIV,MAAM,EAEN,SAAS,EAET,YAAY,
|
1
|
+
{"version":3,"file":"eui-file-upload.component.d.ts","sourceRoot":"","sources":["../../eui-file-upload/eui-file-upload.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,UAAU,EAIV,MAAM,EAEN,SAAS,EAET,YAAY,EAGf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAyB,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;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W,IAAI,OAAO,CAEzB;IACD,IAAI,WAAW,CAAC,KAAK,EAAE,YAAY,EAElC;IACD,OAAO,CAAC,YAAY,CAAS;IAC7B,IACI,gBAAgB,IAAI,OAAO,CAE9B;IACD,IAAI,gBAAgB,CAAC,KAAK,EAAE,YAAY,EAEvC;IACD,OAAO,CAAC,iBAAiB,CAAS;IAEe,SAAS,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;IA0BpF,IAAI,YAAY,IAAI,OAAO,CAE1B;IAED,IAAI,kBAAkB,IAAI,OAAO,CAEhC;IASD,QAAQ,IAAI,IAAI;IAMhB,WAAW,IAAI,IAAI;IAMnB,WAAW,IAAI,IAAI;IAIZ,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAUnC,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAW3C,SAAS,IAAI,IAAI;IAQjB,gBAAgB,IAAI,IAAI;IAMxB,WAAW,CAAC,CAAC,EAAE,IAAI,GAAG,wBAAwB,GAAG,GAAG,GAAG,IAAI;IAMlE,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAQ5B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAM/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,OAAO,CAAC,QAAQ,CAAsD;IAEtE,OAAO,CAAC,YAAY;yCA/MX,sBAAsB;2CAAtB,sBAAsB;CAqNlC"}
|
@@ -31,6 +31,7 @@ export declare class EuiInputNumberComponent extends InputDirective implements O
|
|
31
31
|
private cd;
|
32
32
|
private localeService;
|
33
33
|
private locale_id;
|
34
|
+
private document;
|
34
35
|
/**
|
35
36
|
* The minimum number can be entered. Blocks user's input if not in range.
|
36
37
|
*/
|
@@ -81,7 +82,7 @@ export declare class EuiInputNumberComponent extends InputDirective implements O
|
|
81
82
|
private _fractionDigits;
|
82
83
|
private _digits;
|
83
84
|
private _fillFraction;
|
84
|
-
constructor(_elementRef: ElementRef, _renderer: Renderer2, cd: ChangeDetectorRef, localeService: LocaleService, locale_id: string, injector: Injector);
|
85
|
+
constructor(_elementRef: ElementRef, _renderer: Renderer2, cd: ChangeDetectorRef, localeService: LocaleService, locale_id: string, injector: Injector, document: Document);
|
85
86
|
ngOnInit(): void;
|
86
87
|
ngDoCheck(): void;
|
87
88
|
ngOnChanges(changes: SimpleChanges): void;
|
@@ -166,7 +167,7 @@ export declare class EuiInputNumberComponent extends InputDirective implements O
|
|
166
167
|
* @returns The adjusted value.
|
167
168
|
*/
|
168
169
|
private decimalAdjust;
|
169
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EuiInputNumberComponent, [null, null, null, { optional: true; }, null, null]>;
|
170
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EuiInputNumberComponent, [null, null, null, { optional: true; }, null, null, null]>;
|
170
171
|
static ɵcmp: i0.ɵɵComponentDeclaration<EuiInputNumberComponent, "input[euiInputNumber]", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "leadingZero": { "alias": "leadingZero"; "required": false; }; "isInvalid": { "alias": "isInvalid"; "required": false; }; "fractionDigits": { "alias": "fractionDigits"; "required": false; }; "digits": { "alias": "digits"; "required": false; }; "fillFraction": { "alias": "fillFraction"; "required": false; }; "roundUp": { "alias": "roundUp"; "required": false; }; "noFormat": { "alias": "noFormat"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.EuiClearableDirective; inputs: { "euiClearable": "euiClearable"; "readonly": "readonly"; "disabled": "disabled"; }; outputs: {}; }, { directive: typeof i1.EuiLoadingDirective; inputs: { "euiLoading": "euiLoading"; "readonly": "readonly"; }; outputs: {}; }]>;
|
171
172
|
}
|
172
173
|
//# sourceMappingURL=eui-input-number.component.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-input-number.component.d.ts","sourceRoot":"","sources":["../../eui-input-number/eui-input-number.component.ts"],"names":[],"mappings":"A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,KAAK,KAAK,IAAI,CAAC;IAC5C,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IACxC,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;CAC5C;AAED,qBAqBa,uBAAwB,SAAQ,cAAe,YAAW,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS;IA0GpG,SAAS,CAAC,WAAW,EAAE,UAAU;IACjC,SAAS,CAAC,SAAS,EAAE,SAAS;IAC9B,OAAO,CAAC,EAAE;IACE,OAAO,CAAC,aAAa;IACd,OAAO,CAAC,SAAS;
|
1
|
+
{"version":3,"file":"eui-input-number.component.d.ts","sourceRoot":"","sources":["../../eui-input-number/eui-input-number.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,iBAAiB,EAEjB,OAAO,EACP,UAAU,EAIV,SAAS,EACT,SAAS,EACT,MAAM,EACN,SAAS,EACT,aAAa,EAEb,QAAQ,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAe,MAAM,WAAW,CAAC;AACvD,OAAO,EAA+C,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE/G,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;;;AAKxD,MAAM,WAAW,cAAe,SAAQ,MAAM;IAC1C,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,4BAA4B,CAAC,EAAE,MAAM,IAAI,CAAC;IA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
2
|
export declare class EuiTreeHelper {
|
3
3
|
private readonly treeData;
|
4
4
|
constructor(treeData: TreeDataModel);
|
5
|
+
getPath(value: any, identifierKey?: string): string;
|
5
6
|
getPaths(values: Array<any>, identifierKey?: string): Array<string>;
|
6
7
|
getItems(values: Array<any>, identifierKey?: string): Array<TreeItemModel>;
|
7
8
|
private traverse;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-tree-helper.d.ts","sourceRoot":"","sources":["../../eui-tree/eui-tree-helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEhE,qBAAa,aAAa;IACtB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgB;gBAE7B,QAAQ,EAAE,aAAa;IAM5B,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IAQnE,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,aAAa,CAAC;IAMjF,OAAO,CAAC,QAAQ;IA0BhB,OAAO,CAAC,aAAa;IAerB,OAAO,CAAC,SAAS;CAoBpB"}
|
1
|
+
{"version":3,"file":"eui-tree-helper.d.ts","sourceRoot":"","sources":["../../eui-tree/eui-tree-helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEhE,qBAAa,aAAa;IACtB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgB;gBAE7B,QAAQ,EAAE,aAAa;IAM5B,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,aAAa,SAA6B,GAAG,MAAM;IAQvE,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IAQnE,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,aAAa,CAAC;IAMjF,OAAO,CAAC,QAAQ;IA0BhB,OAAO,CAAC,aAAa;IAerB,OAAO,CAAC,SAAS;CAoBpB"}
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { EventEmitter, TemplateRef, ChangeDetectorRef, SimpleChanges, OnInit, OnChanges, OnDestroy } from '@angular/core';
|
2
|
-
import { TreeDataModel, TreeItemModel, TreeItemRunTimeModel, EuiTreeSelectionChanges } from './eui-tree.model';
|
3
|
-
import { NestedTreeControl } from '@angular/cdk/tree';
|
2
|
+
import { TreeDataModel, TreeItemModel, TreeItemRunTimeModel, TreeItemSelectionRecursiveModel, EuiTreeSelectionChanges } from './eui-tree.model';
|
3
|
+
import { NestedTreeControl, CdkTree } from '@angular/cdk/tree';
|
4
4
|
import { ArrayDataSource } from '@angular/cdk/collections';
|
5
5
|
import { BooleanInput } from '@angular/cdk/coercion';
|
6
|
+
import { ScrollDispatcher, CdkScrollable } from '@angular/cdk/scrolling';
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
import * as i1 from "@angular/common";
|
8
9
|
import * as i2 from "@angular/router";
|
@@ -16,8 +17,10 @@ import * as i9 from "@eui/components/eui-label";
|
|
16
17
|
import * as i10 from "@eui/components/eui-badge";
|
17
18
|
import * as i11 from "@eui/components/eui-chip";
|
18
19
|
import * as i12 from "@eui/components/eui-dropdown";
|
20
|
+
import * as i13 from "@angular/cdk/scrolling";
|
19
21
|
export declare class EuiTreeComponent implements OnInit, OnChanges, OnDestroy {
|
20
22
|
private changeDetectorRef;
|
23
|
+
private scrollDispatcher;
|
21
24
|
get cssClasses(): string;
|
22
25
|
e2eAttr: string;
|
23
26
|
nodes: TreeDataModel;
|
@@ -28,27 +31,34 @@ export declare class EuiTreeComponent implements OnInit, OnChanges, OnDestroy {
|
|
28
31
|
collapsedIconClass: string;
|
29
32
|
expandedSvgIconClass: string;
|
30
33
|
collapsedSvgIconClass: string;
|
31
|
-
|
32
|
-
|
33
|
-
get showLines(): boolean;
|
34
|
-
set showLines(value: BooleanInput);
|
34
|
+
cdkScrollableRef: CdkScrollable;
|
35
|
+
treeComponentInstance: CdkTree<TreeItemRunTimeModel>;
|
35
36
|
get isClickTogglingNode(): boolean;
|
36
37
|
set isClickTogglingNode(value: BooleanInput);
|
37
38
|
get isMultiselect(): boolean;
|
38
39
|
set isMultiselect(value: BooleanInput);
|
40
|
+
get isSingleSelect(): boolean;
|
41
|
+
set isSingleSelect(value: BooleanInput);
|
39
42
|
get isRecursiveSelection(): boolean;
|
40
43
|
set isRecursiveSelection(value: BooleanInput);
|
41
44
|
get isRecursiveParentSelection(): boolean;
|
42
45
|
set isRecursiveParentSelection(value: BooleanInput);
|
46
|
+
get showUnderlinedLinks(): boolean;
|
47
|
+
set showUnderlinedLinks(value: BooleanInput);
|
48
|
+
get showLines(): boolean;
|
49
|
+
set showLines(value: BooleanInput);
|
43
50
|
get autoTranslate(): boolean;
|
44
51
|
set autoTranslate(value: BooleanInput);
|
52
|
+
get highlightPath(): boolean;
|
53
|
+
set highlightPath(value: BooleanInput);
|
45
54
|
selectionChange: EventEmitter<EuiTreeSelectionChanges>;
|
46
55
|
nodeClick: EventEmitter<TreeItemModel>;
|
47
56
|
nodeToggle: EventEmitter<TreeItemModel>;
|
48
|
-
cdkArrayDataSource: ArrayDataSource<
|
49
|
-
cdkTreeControl: NestedTreeControl<
|
57
|
+
cdkArrayDataSource: ArrayDataSource<TreeItemRunTimeModel>;
|
58
|
+
cdkTreeControl: NestedTreeControl<TreeItemRunTimeModel>;
|
50
59
|
renderTree: boolean;
|
51
60
|
uid: string;
|
61
|
+
protected _isMultiLevel: any;
|
52
62
|
private processedNodes;
|
53
63
|
private treeDataRunTime;
|
54
64
|
private treeDataRunTimeBackup;
|
@@ -56,46 +66,60 @@ export declare class EuiTreeComponent implements OnInit, OnChanges, OnDestroy {
|
|
56
66
|
private selectionModel;
|
57
67
|
private _isClickTogglingNode;
|
58
68
|
private _isMultiselect;
|
69
|
+
private _isSingleSelect;
|
59
70
|
private _isRecursiveSelection;
|
60
71
|
private _isRecursiveParentSelection;
|
72
|
+
private _showUnderlinedLinks;
|
73
|
+
private _showLines;
|
61
74
|
private _autoTranslate;
|
75
|
+
private _highlightPath;
|
62
76
|
private selectionModelSubs;
|
77
|
+
private scrollDispatcherSubs;
|
63
78
|
private _selection;
|
64
|
-
private
|
65
|
-
|
66
|
-
private _showLines;
|
67
|
-
constructor(changeDetectorRef: ChangeDetectorRef);
|
79
|
+
private treePagination;
|
80
|
+
constructor(changeDetectorRef: ChangeDetectorRef, scrollDispatcher: ScrollDispatcher);
|
68
81
|
ngOnInit(): void;
|
69
82
|
ngOnChanges(changes: SimpleChanges): void;
|
70
83
|
ngOnDestroy(): void;
|
71
84
|
getSelection(): TreeDataModel;
|
72
|
-
|
85
|
+
getProcessedNodes(): TreeDataModel;
|
86
|
+
trackBy(index: number, item: TreeItemRunTimeModel): any;
|
87
|
+
trackByControl(item: TreeItemRunTimeModel): any;
|
73
88
|
getTreeItem(path: string): TreeItemModel;
|
74
89
|
expandAll(): void;
|
75
90
|
expandAt(path: string): void;
|
76
91
|
collapseAll(): void;
|
77
92
|
filterTerm(filterInput: string): void;
|
78
93
|
setAllSelection(isChecked: boolean): void;
|
79
|
-
|
80
|
-
|
94
|
+
updateTreeItem(treeItem: TreeItemModel, path: string): void;
|
95
|
+
onNodeClick(treeRunTimeItem: TreeItemRunTimeModel): void;
|
96
|
+
onNodeToggle(treeRunTimeItem: TreeItemRunTimeModel): void;
|
81
97
|
nodeSelected(evt: any, path: string): void;
|
82
98
|
hasChild: (_: number, item: TreeItemRunTimeModel) => boolean;
|
83
|
-
onSelectFn(path: string
|
99
|
+
onSelectFn(path: string): (evt: any) => void;
|
100
|
+
getRunTimeSelectionRecursiveState(path: string): TreeItemSelectionRecursiveModel;
|
84
101
|
private initTree;
|
85
102
|
private processInputs;
|
86
103
|
private overrideTreeDataModelForSelection;
|
104
|
+
private runScrollListener;
|
87
105
|
private getSelectionIndexOfItem;
|
88
106
|
private selectTreeItem;
|
89
107
|
private deselectTreeItem;
|
90
108
|
private createTreeDataRuntime;
|
109
|
+
private applyRunTimeLastItems;
|
110
|
+
private createRunTimeSelectionRecursiveState;
|
91
111
|
private calculateItemSelectionRecursiveState;
|
92
112
|
private decideSelectionRecursiveState;
|
93
113
|
private syncStateChangesAtPath;
|
94
|
-
private
|
114
|
+
private setTreeData;
|
115
|
+
private setTreeDataRunTime;
|
95
116
|
private setRunTimeSelectionRecursiveStateTree;
|
96
117
|
private updateRunTimeSelectionRecursiveState;
|
97
118
|
private setIsCheckedForAll;
|
119
|
+
private runStateChangesForAll;
|
120
|
+
private syncSelectionAtPath;
|
98
121
|
private resolvePath;
|
122
|
+
private getParentPaths;
|
99
123
|
private calculateRunTimeState;
|
100
124
|
private filterTreeData;
|
101
125
|
private normalizedStr;
|
@@ -103,14 +127,17 @@ export declare class EuiTreeComponent implements OnInit, OnChanges, OnDestroy {
|
|
103
127
|
private scanSelection;
|
104
128
|
private renderInitialExpand;
|
105
129
|
private getRunTimeTreeItem;
|
130
|
+
private findRunTimeTreeItem;
|
131
|
+
private getRunTimeBackupTreeItem;
|
106
132
|
private getCssClasses;
|
107
133
|
private checkIfMultiLevel;
|
134
|
+
private checkIfCurrentScrollable;
|
108
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiTreeComponent, never>;
|
109
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EuiTreeComponent, "eui-tree", never, { "e2eAttr": { "alias": "e2eAttr"; "required": false; }; "nodes": { "alias": "nodes"; "required": false; }; "nodeTemplateRef": { "alias": "nodeTemplateRef"; "required": false; }; "nodeContentMetadataTemplateRef": { "alias": "nodeContentMetadataTemplateRef"; "required": false; }; "rightContextMenuTemplateRef": { "alias": "rightContextMenuTemplateRef"; "required": false; }; "expandedIconClass": { "alias": "expandedIconClass"; "required": false; }; "collapsedIconClass": { "alias": "collapsedIconClass"; "required": false; }; "expandedSvgIconClass": { "alias": "expandedSvgIconClass"; "required": false; }; "collapsedSvgIconClass": { "alias": "collapsedSvgIconClass"; "required": false; }; "
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EuiTreeComponent, "eui-tree", never, { "e2eAttr": { "alias": "e2eAttr"; "required": false; }; "nodes": { "alias": "nodes"; "required": false; }; "nodeTemplateRef": { "alias": "nodeTemplateRef"; "required": false; }; "nodeContentMetadataTemplateRef": { "alias": "nodeContentMetadataTemplateRef"; "required": false; }; "rightContextMenuTemplateRef": { "alias": "rightContextMenuTemplateRef"; "required": false; }; "expandedIconClass": { "alias": "expandedIconClass"; "required": false; }; "collapsedIconClass": { "alias": "collapsedIconClass"; "required": false; }; "expandedSvgIconClass": { "alias": "expandedSvgIconClass"; "required": false; }; "collapsedSvgIconClass": { "alias": "collapsedSvgIconClass"; "required": false; }; "isClickTogglingNode": { "alias": "isClickTogglingNode"; "required": false; }; "isMultiselect": { "alias": "isMultiselect"; "required": false; }; "isSingleSelect": { "alias": "isSingleSelect"; "required": false; }; "isRecursiveSelection": { "alias": "isRecursiveSelection"; "required": false; }; "isRecursiveParentSelection": { "alias": "isRecursiveParentSelection"; "required": false; }; "showUnderlinedLinks": { "alias": "showUnderlinedLinks"; "required": false; }; "showLines": { "alias": "showLines"; "required": false; }; "autoTranslate": { "alias": "autoTranslate"; "required": false; }; "highlightPath": { "alias": "highlightPath"; "required": false; }; }, { "selectionChange": "selectionChange"; "nodeClick": "nodeClick"; "nodeToggle": "nodeToggle"; }, never, never, false, never>;
|
110
137
|
}
|
111
138
|
export declare class EuiTreeModule {
|
112
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiTreeModule, never>;
|
113
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiTreeModule, [typeof EuiTreeComponent], [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.FormsModule, typeof i4.TranslateModule, typeof i5.EuiInputCheckboxModule, typeof i6.CdkTreeModule, typeof i7.EuiButtonModule, typeof i8.EuiIconModule, typeof i9.EuiLabelModule, typeof i10.EuiBadgeModule, typeof i11.EuiChipModule, typeof i12.EuiDropdownModule], [typeof EuiTreeComponent]>;
|
140
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiTreeModule, [typeof EuiTreeComponent], [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.FormsModule, typeof i4.TranslateModule, typeof i5.EuiInputCheckboxModule, typeof i6.CdkTreeModule, typeof i7.EuiButtonModule, typeof i8.EuiIconModule, typeof i9.EuiLabelModule, typeof i10.EuiBadgeModule, typeof i11.EuiChipModule, typeof i12.EuiDropdownModule, typeof i13.ScrollingModule], [typeof EuiTreeComponent]>;
|
114
141
|
static ɵinj: i0.ɵɵInjectorDeclaration<EuiTreeModule>;
|
115
142
|
}
|
116
143
|
//# sourceMappingURL=eui-tree.component.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-tree.component.d.ts","sourceRoot":"","sources":["../../eui-tree/eui-tree.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,YAAY,EAGZ,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,MAAM,EACN,SAAS,EAET,SAAS,
|
1
|
+
{"version":3,"file":"eui-tree.component.d.ts","sourceRoot":"","sources":["../../eui-tree/eui-tree.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,YAAY,EAGZ,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,MAAM,EACN,SAAS,EAET,SAAS,EAEZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EAEH,aAAa,EACb,aAAa,EAEb,oBAAoB,EACpB,+BAA+B,EAC/B,uBAAuB,EAE1B,MAAM,kBAAkB,CAAC;AAS1B,OAAO,EAAE,iBAAiB,EAAiB,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAkB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,OAAO,CAAC,sBAAsB;IA6B9B,OAAO,CAAC,WAAW;IAYnB,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,qCAAqC;IAY7C,OAAO,CAAC,oCAAoC;IAe5C,OAAO,CAAC,kBAAkB;IAmB1B,OAAO,CAAC,qBAAqB;IAS7B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,cAAc;IAqBtB,OAAO,CAAC,qBAAqB;IAc7B,OAAO,CAAC,cAAc;IAgBtB,OAAO,CAAC,aAAa;IAOrB,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,aAAa;IAWrB,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,kBAAkB;IAI1B,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,wBAAwB;IAgBhC,OAAO,CAAC,aAAa;IAMrB,OAAO,CAAC,iBAAiB;IAUzB,OAAO,CAAC,wBAAwB;yCA54BvB,gBAAgB;2CAAhB,gBAAgB;CA+4B5B;AAED,qBAmBa,aAAa;yCAAb,aAAa;0CAAb,aAAa,UAp6Bb,gBAAgB,uWAAhB,gBAAgB;0CAo6BhB,aAAa;CAAG"}
|
@@ -45,14 +45,21 @@ export interface EuiTreeContentBlockModel {
|
|
45
45
|
export type SelectionModel = {
|
46
46
|
selectable?: boolean;
|
47
47
|
isSelected?: boolean;
|
48
|
-
isExpanded?: boolean;
|
49
48
|
isIndeterminate?: boolean;
|
50
49
|
selectConfig?: SelectConfigModel;
|
51
50
|
};
|
52
|
-
export interface SelectConfigModel {
|
51
|
+
export interface SelectConfigModel extends MultiSelectionLogic, SingleSelectionLogic {
|
52
|
+
recursive?: boolean;
|
53
|
+
noAutoSelectParent?: boolean;
|
54
|
+
singleSelect?: boolean;
|
55
|
+
}
|
56
|
+
export interface MultiSelectionLogic {
|
53
57
|
recursive?: boolean;
|
54
58
|
noAutoSelectParent?: boolean;
|
55
59
|
}
|
60
|
+
export interface SingleSelectionLogic {
|
61
|
+
singleSelect?: boolean;
|
62
|
+
}
|
56
63
|
export type ExpandModel = {
|
57
64
|
isExpanded?: boolean;
|
58
65
|
};
|
@@ -63,12 +70,39 @@ export type EuiTreeSelectionChanges = {
|
|
63
70
|
};
|
64
71
|
export type TreeDataRunTimeModel = Array<TreeItemRunTimeModel>;
|
65
72
|
export type TreeItemRunTimeModel = {
|
66
|
-
index
|
67
|
-
path
|
68
|
-
|
73
|
+
index: number;
|
74
|
+
path: string;
|
75
|
+
children?: Array<TreeItemRunTimeModel>;
|
76
|
+
last?: boolean;
|
77
|
+
};
|
69
78
|
export type TreeItemSelectionRecursiveModel = {
|
70
|
-
selectionRecursiveState
|
71
|
-
|
79
|
+
selectionRecursiveState: SelectionRecursiveState;
|
80
|
+
children?: Array<TreeItemSelectionRecursiveModel>;
|
81
|
+
};
|
72
82
|
export type SelectionRecursiveState = 'indeterminate' | 'allSelected' | 'allNotSelected';
|
73
83
|
export declare function uxTreeNodesMetaDataMapper(oldTree: Array<UxLinkLegacy>): TreeDataModel;
|
84
|
+
export declare class EuiTreePagination<T> {
|
85
|
+
private data;
|
86
|
+
private startPage;
|
87
|
+
private totalItems;
|
88
|
+
private renderedPageCount;
|
89
|
+
private perPage;
|
90
|
+
private totalPages;
|
91
|
+
constructor(data: T[], startPage: number, renderedPageCount: number, perPage: number);
|
92
|
+
paginateNext(): {
|
93
|
+
startPage: number;
|
94
|
+
data: T[];
|
95
|
+
};
|
96
|
+
paginatePrev(): {
|
97
|
+
startPage: number;
|
98
|
+
data: T[];
|
99
|
+
};
|
100
|
+
getCurrentStartPage(): number;
|
101
|
+
setCurrentStartPage(startPage: number): void;
|
102
|
+
isAtMax(): boolean;
|
103
|
+
getViewData(): {
|
104
|
+
startPage: number;
|
105
|
+
data: T[];
|
106
|
+
};
|
107
|
+
}
|
74
108
|
//# sourceMappingURL=eui-tree.model.d.ts.map
|