@indice/ng-components 0.2.174 → 0.3.0
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/_styles.scss +63 -15
- package/{esm2020 → esm2022}/indice-ng-components.mjs +4 -4
- package/esm2022/lib/controls/advanced-search/advanced-search.component.mjs +156 -0
- package/esm2022/lib/controls/advanced-search/models.mjs +109 -0
- package/esm2022/lib/controls/avatar-initials/avatar-initials.component.mjs +48 -0
- package/{esm2020 → esm2022}/lib/controls/breadcrumb/breadcrumb-item.mjs +14 -14
- package/{esm2020 → esm2022}/lib/controls/breadcrumb/breadcrumb.component.mjs +26 -26
- package/{esm2020 → esm2022}/lib/controls/collapsible-panel/collapsible-panel.component.mjs +20 -20
- package/esm2022/lib/controls/combobox/combobox.component.mjs +121 -0
- package/esm2022/lib/controls/content-tile/content-tile-header/content-tile-header.component.mjs +17 -0
- package/esm2022/lib/controls/content-tile/content-tile-item/content-tile-item.component.mjs +19 -0
- package/esm2022/lib/controls/content-tile/content-tile.component.mjs +63 -0
- package/esm2022/lib/controls/date-picker/date-picker.component.mjs +300 -0
- package/esm2022/lib/controls/drop-down-menu/drop-down-menu.component.mjs +72 -0
- package/{esm2020 → esm2022}/lib/controls/kpi-tile/kpi-tile.component.mjs +43 -43
- package/esm2022/lib/controls/language-selection/language-selection.component.mjs +31 -0
- package/{esm2020 → esm2022}/lib/controls/list-view/list-column.component.mjs +25 -25
- package/{esm2020 → esm2022}/lib/controls/list-view/list-details-section.component.mjs +17 -17
- package/{esm2020 → esm2022}/lib/controls/list-view/list-tile.component.mjs +17 -17
- package/esm2022/lib/controls/list-view/list-view-empty-state.component.mjs +29 -0
- package/esm2022/lib/controls/list-view/list-view.component.mjs +210 -0
- package/{esm2020 → esm2022}/lib/controls/nav-links-list/nav-links-list.component.mjs +54 -54
- package/esm2022/lib/controls/notifications-indicator/notifications-indicator.component.mjs +79 -0
- package/esm2022/lib/controls/pager/pager.component.mjs +130 -0
- package/esm2022/lib/controls/progress-bar/progress-bar.component.mjs +46 -0
- package/esm2022/lib/controls/side-pane/side-pane.component.mjs +87 -0
- package/esm2022/lib/controls/skeleton-loader/skeleton-loader.component.mjs +29 -0
- package/esm2022/lib/controls/stats-grid/stats-grid.component.mjs +49 -0
- package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-info.directive.mjs +16 -16
- package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-label.directive.mjs +16 -16
- package/esm2022/lib/controls/stepper/lib-step.component.mjs +81 -0
- package/esm2022/lib/controls/stepper/lib-stepper.component.mjs +108 -0
- package/{esm2020 → esm2022}/lib/controls/stepper/types/step-selected-event.mjs +3 -3
- package/{esm2020 → esm2022}/lib/controls/stepper/types/stepper-type.mjs +11 -11
- package/esm2022/lib/controls/tabs/lib-tab-group.component.mjs +66 -0
- package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab-label.directive.mjs +16 -16
- package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab.component.mjs +57 -57
- package/{esm2020 → esm2022}/lib/controls/toaster/toaster-container.component.mjs +28 -28
- package/{esm2020 → esm2022}/lib/controls/toaster/toaster.component.mjs +31 -31
- package/esm2022/lib/controls/toggle/toggle.component.mjs +64 -0
- package/esm2022/lib/controls/toggle-button/toggle-button.component.mjs +87 -0
- package/esm2022/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +34 -0
- package/esm2022/lib/controls/user-profile-menu/user-profile-menu.component.mjs +71 -0
- package/esm2022/lib/directives/click-outside.directive.mjs +189 -0
- package/{esm2020 → esm2022}/lib/directives/dynamic-component-host.directive.mjs +17 -17
- package/esm2022/lib/helpers/base-list.component.mjs +230 -0
- package/esm2022/lib/icons.mjs +36 -0
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-footer/shell-footer.component.mjs +19 -19
- package/esm2022/lib/layouts/shell/shell-header/shell-header.component.mjs +130 -0
- package/esm2022/lib/layouts/shell/shell-layout/shell-layout.component.mjs +90 -0
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +54 -54
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +45 -45
- package/esm2022/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +20 -20
- package/esm2022/lib/layouts/views/form-layout/form-layout.component.mjs +86 -0
- package/esm2022/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +101 -0
- package/esm2022/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +106 -0
- package/esm2022/lib/layouts/views/view-layout/view-layout.component.mjs +104 -0
- package/esm2022/lib/ng-components.module.mjs +320 -0
- package/esm2022/lib/pages/auth/auth-callback/auth-callback.component.mjs +30 -0
- package/esm2022/lib/pages/auth/auth-renew/auth-renew.component.mjs +31 -0
- package/{esm2020 → esm2022}/lib/pages/auth/logged-out/logged-out.component.mjs +28 -28
- package/{esm2020 → esm2022}/lib/pages/http-status/error/error.component.mjs +17 -17
- package/{esm2020 → esm2022}/lib/pages/http-status/page-not-found/page-not-found.component.mjs +15 -15
- package/{esm2020 → esm2022}/lib/pages/http-status/unauthorized/unauthorized.component.mjs +14 -14
- package/esm2022/lib/pipes/address.pipe.mjs +21 -0
- package/esm2022/lib/pipes/duration-format.pipe.mjs +64 -0
- package/esm2022/lib/pipes/short-number.pipe.mjs +43 -0
- package/esm2022/lib/services/breadcrumb.service.mjs +174 -0
- package/{esm2020 → esm2022}/lib/services/component-loader/component-loader-options.class.mjs +7 -7
- package/esm2022/lib/services/component-loader/component-loader.class.mjs +188 -0
- package/esm2022/lib/services/component-loader/component-loader.factory.mjs +32 -0
- package/{esm2020 → esm2022}/lib/services/component-loader/content-ref.class.mjs +12 -12
- package/esm2022/lib/services/modal-service/modal-backdrop-component.mjs +44 -0
- package/esm2022/lib/services/modal-service/modal-container-component.mjs +126 -0
- package/{esm2020 → esm2022}/lib/services/modal-service/modal-options.class.mjs +35 -35
- package/esm2022/lib/services/modal-service/modal-service.mjs +220 -0
- package/{esm2020 → esm2022}/lib/services/modal-service/modal-styles.class.mjs +10 -10
- package/{esm2020 → esm2022}/lib/services/modal-service/modal.class.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/toaster.service.mjs +26 -26
- package/esm2022/lib/services/user-settings.service.mjs +35 -0
- package/esm2022/lib/services/utilities.service.mjs +47 -0
- package/{esm2020 → esm2022}/lib/tokens.mjs +7 -7
- package/esm2022/lib/types.mjs +133 -0
- package/{esm2020 → esm2022}/public-api.mjs +78 -70
- package/{fesm2020 → fesm2022}/indice-ng-components.mjs +4898 -4592
- package/fesm2022/indice-ng-components.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/controls/advanced-search/advanced-search.component.d.ts +40 -40
- package/lib/controls/advanced-search/models.d.ts +91 -91
- package/lib/controls/avatar-initials/avatar-initials.component.d.ts +14 -14
- package/lib/controls/breadcrumb/breadcrumb-item.d.ts +7 -7
- package/lib/controls/breadcrumb/breadcrumb.component.d.ts +12 -12
- package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +10 -10
- package/lib/controls/combobox/combobox.component.d.ts +35 -34
- package/lib/controls/content-tile/content-tile-header/content-tile-header.component.d.ts +7 -0
- package/lib/controls/content-tile/content-tile-item/content-tile-item.component.d.ts +8 -0
- package/lib/controls/content-tile/content-tile.component.d.ts +23 -0
- package/lib/controls/date-picker/date-picker.component.d.ts +53 -53
- package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +26 -26
- package/lib/controls/kpi-tile/kpi-tile.component.d.ts +15 -15
- package/lib/controls/language-selection/language-selection.component.d.ts +14 -14
- package/lib/controls/list-view/list-column.component.d.ts +9 -9
- package/lib/controls/list-view/list-details-section.component.d.ts +7 -7
- package/lib/controls/list-view/list-tile.component.d.ts +7 -7
- package/lib/controls/list-view/list-view-empty-state.component.d.ts +11 -11
- package/lib/controls/list-view/list-view.component.d.ts +62 -61
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +21 -21
- package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +22 -22
- package/lib/controls/pager/pager.component.d.ts +36 -36
- package/lib/controls/progress-bar/progress-bar.component.d.ts +16 -0
- package/lib/controls/side-pane/side-pane.component.d.ts +22 -18
- package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +12 -11
- package/lib/controls/stats-grid/stats-grid.component.d.ts +16 -0
- package/lib/controls/stepper/lib-step-info.directive.d.ts +8 -8
- package/lib/controls/stepper/lib-step-label.directive.d.ts +8 -8
- package/lib/controls/stepper/lib-step.component.d.ts +34 -34
- package/lib/controls/stepper/lib-stepper.component.d.ts +43 -43
- package/lib/controls/stepper/types/step-selected-event.d.ts +12 -12
- package/lib/controls/stepper/types/stepper-type.d.ts +10 -10
- package/lib/controls/tabs/lib-tab-group.component.d.ts +21 -21
- package/lib/controls/tabs/lib-tab-label.directive.d.ts +8 -8
- package/lib/controls/tabs/lib-tab.component.d.ts +24 -24
- package/lib/controls/toaster/toaster-container.component.d.ts +13 -13
- package/lib/controls/toaster/toaster.component.d.ts +15 -15
- package/lib/controls/toggle/toggle.component.d.ts +19 -19
- package/lib/controls/toggle-button/toggle-button.component.d.ts +25 -25
- package/lib/controls/toggle-buttons-list/toggle-buttons-list.component.d.ts +15 -14
- package/lib/controls/user-profile-menu/user-profile-menu.component.d.ts +24 -24
- package/lib/directives/click-outside.directive.d.ts +40 -40
- package/lib/directives/dynamic-component-host.directive.d.ts +9 -9
- package/lib/helpers/base-list.component.d.ts +54 -53
- package/lib/icons.d.ts +34 -34
- package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +8 -8
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +39 -39
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +26 -26
- package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +20 -20
- package/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.d.ts +14 -14
- package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +15 -15
- package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +10 -10
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +26 -24
- package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +42 -42
- package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +29 -28
- package/lib/layouts/views/view-layout/view-layout.component.d.ts +31 -31
- package/lib/ng-components.module.d.ts +71 -65
- package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +13 -13
- package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +12 -12
- package/lib/pages/auth/logged-out/logged-out.component.d.ts +12 -12
- package/lib/pages/http-status/error/error.component.d.ts +8 -8
- package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +8 -8
- package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +8 -8
- package/lib/pipes/address.pipe.d.ts +8 -8
- package/lib/pipes/duration-format.pipe.d.ts +8 -8
- package/lib/pipes/short-number.pipe.d.ts +7 -0
- package/lib/services/breadcrumb.service.d.ts +29 -29
- package/lib/services/component-loader/component-loader-options.class.d.ts +30 -30
- package/lib/services/component-loader/component-loader.class.d.ts +92 -92
- package/lib/services/component-loader/component-loader.factory.d.ts +24 -24
- package/lib/services/component-loader/content-ref.class.d.ts +12 -12
- package/lib/services/modal-service/modal-backdrop-component.d.ts +20 -20
- package/lib/services/modal-service/modal-container-component.d.ts +33 -33
- package/lib/services/modal-service/modal-options.class.d.ts +81 -81
- package/lib/services/modal-service/modal-service.d.ts +58 -58
- package/lib/services/modal-service/modal-styles.class.d.ts +10 -10
- package/lib/services/modal-service/modal.class.d.ts +43 -43
- package/lib/services/toaster.service.d.ts +11 -11
- package/lib/services/user-settings.service.d.ts +13 -13
- package/lib/services/utilities.service.d.ts +11 -11
- package/lib/tokens.d.ts +10 -10
- package/lib/types.d.ts +179 -177
- package/package.json +14 -21
- package/public-api.d.ts +68 -60
- package/esm2020/lib/controls/advanced-search/advanced-search.component.mjs +0 -156
- package/esm2020/lib/controls/advanced-search/models.mjs +0 -109
- package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +0 -48
- package/esm2020/lib/controls/combobox/combobox.component.mjs +0 -117
- package/esm2020/lib/controls/date-picker/date-picker.component.mjs +0 -292
- package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +0 -72
- package/esm2020/lib/controls/language-selection/language-selection.component.mjs +0 -31
- package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +0 -29
- package/esm2020/lib/controls/list-view/list-view.component.mjs +0 -206
- package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +0 -79
- package/esm2020/lib/controls/pager/pager.component.mjs +0 -130
- package/esm2020/lib/controls/side-pane/side-pane.component.mjs +0 -72
- package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +0 -25
- package/esm2020/lib/controls/stepper/lib-step.component.mjs +0 -81
- package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +0 -108
- package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +0 -66
- package/esm2020/lib/controls/toggle/toggle.component.mjs +0 -64
- package/esm2020/lib/controls/toggle-button/toggle-button.component.mjs +0 -87
- package/esm2020/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +0 -31
- package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +0 -71
- package/esm2020/lib/directives/click-outside.directive.mjs +0 -189
- package/esm2020/lib/helpers/base-list.component.mjs +0 -226
- package/esm2020/lib/icons.mjs +0 -36
- package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +0 -130
- package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +0 -90
- package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +0 -30
- package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +0 -80
- package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +0 -101
- package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +0 -98
- package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +0 -104
- package/esm2020/lib/ng-components.module.mjs +0 -288
- package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +0 -30
- package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +0 -31
- package/esm2020/lib/pipes/address.pipe.mjs +0 -21
- package/esm2020/lib/pipes/duration-format.pipe.mjs +0 -64
- package/esm2020/lib/services/breadcrumb.service.mjs +0 -174
- package/esm2020/lib/services/component-loader/component-loader.class.mjs +0 -188
- package/esm2020/lib/services/component-loader/component-loader.factory.mjs +0 -32
- package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +0 -44
- package/esm2020/lib/services/modal-service/modal-container-component.mjs +0 -126
- package/esm2020/lib/services/modal-service/modal-service.mjs +0 -220
- package/esm2020/lib/services/user-settings.service.mjs +0 -35
- package/esm2020/lib/services/utilities.service.mjs +0 -47
- package/esm2020/lib/types.mjs +0 -132
- package/fesm2015/indice-ng-components.mjs +0 -4852
- package/fesm2015/indice-ng-components.mjs.map +0 -1
- package/fesm2020/indice-ng-components.mjs.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@indice/ng-components" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@indice/ng-components" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MenuOption } from '../../types';
|
|
3
|
-
import { SearchOption, FilterClause } from './models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AdvancedSearchComponent implements OnInit {
|
|
6
|
-
advancedSearchChanged: EventEmitter<FilterClause[]>;
|
|
7
|
-
searchOptions: SearchOption[];
|
|
8
|
-
operatorsDisabled: boolean;
|
|
9
|
-
filters: FilterClause[];
|
|
10
|
-
menuOptions: MenuOption[];
|
|
11
|
-
operatorMenuOptions: MenuOption[];
|
|
12
|
-
operatorOptions: import("./models").IDictionary<{
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
description?: string | undefined;
|
|
16
|
-
}[]>;
|
|
17
|
-
operators: {
|
|
18
|
-
[key: string]: MenuOption[];
|
|
19
|
-
};
|
|
20
|
-
selectedOperator?: string;
|
|
21
|
-
selectedField?: SearchOption;
|
|
22
|
-
fieldValue?: string;
|
|
23
|
-
fieldValueDateFrom: any;
|
|
24
|
-
fieldValueDateTo: any;
|
|
25
|
-
menuOptionsDictionary: {
|
|
26
|
-
[key: string]: MenuOption[];
|
|
27
|
-
};
|
|
28
|
-
constructor();
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
selectedFieldChanged(field: string): void;
|
|
31
|
-
selectedOperatorChanged(operator: any): void;
|
|
32
|
-
selectedFieldValueChanged(fieldValue: string): void;
|
|
33
|
-
search(): void;
|
|
34
|
-
removeFilter(index: number): void;
|
|
35
|
-
isDateValueUnpicked(): boolean;
|
|
36
|
-
isFieldAndOperatorUnpicked(): boolean;
|
|
37
|
-
clear(): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSearchComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedSearchComponent, "lib-advanced-search", never, { "searchOptions": "search-options"; "operatorsDisabled": "operators-disabled"; "filters": "filters"; }, { "advancedSearchChanged": "advancedSearchChanged"; }, never, never, false>;
|
|
40
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MenuOption } from '../../types';
|
|
3
|
+
import { SearchOption, FilterClause } from './models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AdvancedSearchComponent implements OnInit {
|
|
6
|
+
advancedSearchChanged: EventEmitter<FilterClause[]>;
|
|
7
|
+
searchOptions: SearchOption[];
|
|
8
|
+
operatorsDisabled: boolean;
|
|
9
|
+
filters: FilterClause[];
|
|
10
|
+
menuOptions: MenuOption[];
|
|
11
|
+
operatorMenuOptions: MenuOption[];
|
|
12
|
+
operatorOptions: import("./models").IDictionary<{
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
description?: string | undefined;
|
|
16
|
+
}[]>;
|
|
17
|
+
operators: {
|
|
18
|
+
[key: string]: MenuOption[];
|
|
19
|
+
};
|
|
20
|
+
selectedOperator?: string;
|
|
21
|
+
selectedField?: SearchOption;
|
|
22
|
+
fieldValue?: string;
|
|
23
|
+
fieldValueDateFrom: any;
|
|
24
|
+
fieldValueDateTo: any;
|
|
25
|
+
menuOptionsDictionary: {
|
|
26
|
+
[key: string]: MenuOption[];
|
|
27
|
+
};
|
|
28
|
+
constructor();
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
selectedFieldChanged(field: string): void;
|
|
31
|
+
selectedOperatorChanged(operator: any): void;
|
|
32
|
+
selectedFieldValueChanged(fieldValue: string): void;
|
|
33
|
+
search(): void;
|
|
34
|
+
removeFilter(index: number): void;
|
|
35
|
+
isDateValueUnpicked(): boolean;
|
|
36
|
+
isFieldAndOperatorUnpicked(): boolean;
|
|
37
|
+
clear(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSearchComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedSearchComponent, "lib-advanced-search", never, { "searchOptions": { "alias": "search-options"; "required": false; }; "operatorsDisabled": { "alias": "operators-disabled"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "advancedSearchChanged": "advancedSearchChanged"; }, never, never, false, never>;
|
|
40
|
+
}
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
export declare namespace Operators {
|
|
2
|
-
const EQUALS: {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
|
-
const NOT_EQUALS: {
|
|
8
|
-
label: string;
|
|
9
|
-
value: string;
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
const GREATER_THAN: {
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
const LESS_THAN: {
|
|
18
|
-
label: string;
|
|
19
|
-
value: string;
|
|
20
|
-
description: string;
|
|
21
|
-
};
|
|
22
|
-
const GREATER_THAN_EQUAL: {
|
|
23
|
-
label: string;
|
|
24
|
-
value: string;
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
const LESS_THAN_EQUAL: {
|
|
28
|
-
label: string;
|
|
29
|
-
value: string;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
const CONTAINS: {
|
|
33
|
-
label: string;
|
|
34
|
-
value: string;
|
|
35
|
-
description: string;
|
|
36
|
-
};
|
|
37
|
-
const IN: {
|
|
38
|
-
label: string;
|
|
39
|
-
value: string;
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export declare enum QueryParameters {
|
|
44
|
-
VIEW = "view",
|
|
45
|
-
PAGE_SIZE = "pagesize",
|
|
46
|
-
PAGE = "page",
|
|
47
|
-
SEARCH = "search",
|
|
48
|
-
SORT_FIELD = "sort",
|
|
49
|
-
SORT_DIRECTION = "dir",
|
|
50
|
-
FILTER = "filter",
|
|
51
|
-
FILTER_FROM = "from",
|
|
52
|
-
FILTER_TO = "to"
|
|
53
|
-
}
|
|
54
|
-
export interface SearchOption {
|
|
55
|
-
name: string;
|
|
56
|
-
field: string;
|
|
57
|
-
dataType: FilterClause.Dt;
|
|
58
|
-
array?: boolean;
|
|
59
|
-
multiTerm?: boolean;
|
|
60
|
-
options?: SelectInputOption[];
|
|
61
|
-
placeholder?: string;
|
|
62
|
-
}
|
|
63
|
-
export interface SelectInputOption {
|
|
64
|
-
value: any;
|
|
65
|
-
label: string;
|
|
66
|
-
description?: string;
|
|
67
|
-
}
|
|
68
|
-
export declare namespace FilterClause {
|
|
69
|
-
type Op = 'eq' | 'neq' | 'gt' | 'lt' | 'gte' | 'lte' | 'contains' | 'in';
|
|
70
|
-
type Dt = 'string' | 'integer' | 'number' | 'boolean' | 'datetime' | 'array' | 'daterange' | undefined;
|
|
71
|
-
}
|
|
72
|
-
export interface IDictionary<T> {
|
|
73
|
-
[key: string]: T;
|
|
74
|
-
}
|
|
75
|
-
export declare const OperatorOptions: IDictionary<{
|
|
76
|
-
label: string;
|
|
77
|
-
value: string;
|
|
78
|
-
description?: string;
|
|
79
|
-
}[]>;
|
|
80
|
-
export declare class FilterClause {
|
|
81
|
-
member: string;
|
|
82
|
-
value: any;
|
|
83
|
-
operator: FilterClause.Op;
|
|
84
|
-
dataType: FilterClause.Dt;
|
|
85
|
-
uiName: string | undefined;
|
|
86
|
-
uiOperator: string | undefined;
|
|
87
|
-
uiValue: string | undefined;
|
|
88
|
-
constructor(member: string, value: any, operator?: FilterClause.Op, dataType?: FilterClause.Dt, searchOptions?: SearchOption[]);
|
|
89
|
-
static parse(text: string): FilterClause | undefined;
|
|
90
|
-
toString(): string;
|
|
91
|
-
}
|
|
1
|
+
export declare namespace Operators {
|
|
2
|
+
const EQUALS: {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
const NOT_EQUALS: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
const GREATER_THAN: {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
const LESS_THAN: {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
const GREATER_THAN_EQUAL: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
const LESS_THAN_EQUAL: {
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
const CONTAINS: {
|
|
33
|
+
label: string;
|
|
34
|
+
value: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
const IN: {
|
|
38
|
+
label: string;
|
|
39
|
+
value: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export declare enum QueryParameters {
|
|
44
|
+
VIEW = "view",
|
|
45
|
+
PAGE_SIZE = "pagesize",
|
|
46
|
+
PAGE = "page",
|
|
47
|
+
SEARCH = "search",
|
|
48
|
+
SORT_FIELD = "sort",
|
|
49
|
+
SORT_DIRECTION = "dir",
|
|
50
|
+
FILTER = "filter",
|
|
51
|
+
FILTER_FROM = "from",
|
|
52
|
+
FILTER_TO = "to"
|
|
53
|
+
}
|
|
54
|
+
export interface SearchOption {
|
|
55
|
+
name: string;
|
|
56
|
+
field: string;
|
|
57
|
+
dataType: FilterClause.Dt;
|
|
58
|
+
array?: boolean;
|
|
59
|
+
multiTerm?: boolean;
|
|
60
|
+
options?: SelectInputOption[];
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface SelectInputOption {
|
|
64
|
+
value: any;
|
|
65
|
+
label: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
}
|
|
68
|
+
export declare namespace FilterClause {
|
|
69
|
+
type Op = 'eq' | 'neq' | 'gt' | 'lt' | 'gte' | 'lte' | 'contains' | 'in';
|
|
70
|
+
type Dt = 'string' | 'integer' | 'number' | 'boolean' | 'datetime' | 'array' | 'daterange' | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface IDictionary<T> {
|
|
73
|
+
[key: string]: T;
|
|
74
|
+
}
|
|
75
|
+
export declare const OperatorOptions: IDictionary<{
|
|
76
|
+
label: string;
|
|
77
|
+
value: string;
|
|
78
|
+
description?: string;
|
|
79
|
+
}[]>;
|
|
80
|
+
export declare class FilterClause {
|
|
81
|
+
member: string;
|
|
82
|
+
value: any;
|
|
83
|
+
operator: FilterClause.Op;
|
|
84
|
+
dataType: FilterClause.Dt;
|
|
85
|
+
uiName: string | undefined;
|
|
86
|
+
uiOperator: string | undefined;
|
|
87
|
+
uiValue: string | undefined;
|
|
88
|
+
constructor(member: string, value: any, operator?: FilterClause.Op, dataType?: FilterClause.Dt, searchOptions?: SearchOption[]);
|
|
89
|
+
static parse(text: string): FilterClause | undefined;
|
|
90
|
+
toString(): string;
|
|
91
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AvatarInitialsComponent implements OnInit {
|
|
4
|
-
name: string | null | undefined;
|
|
5
|
-
large: boolean;
|
|
6
|
-
initials?: string;
|
|
7
|
-
circleColor: string;
|
|
8
|
-
private colors;
|
|
9
|
-
constructor();
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
private createInititals;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarInitialsComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarInitialsComponent, "lib-avatar-initials", never, { "name": "name"; "large": "large"; }, {}, never, never, false>;
|
|
14
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AvatarInitialsComponent implements OnInit {
|
|
4
|
+
name: string | null | undefined;
|
|
5
|
+
large: boolean;
|
|
6
|
+
initials?: string;
|
|
7
|
+
circleColor: string;
|
|
8
|
+
private colors;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
private createInititals;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarInitialsComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarInitialsComponent, "lib-avatar-initials", never, { "name": { "alias": "name"; "required": false; }; "large": { "alias": "large"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare class BreadcrumbItem {
|
|
2
|
-
title?: string | undefined;
|
|
3
|
-
url?: string | undefined;
|
|
4
|
-
constructor(title?: string | undefined, url?: string | undefined);
|
|
5
|
-
level: number;
|
|
6
|
-
get urlSegments(): string[] | undefined;
|
|
7
|
-
}
|
|
1
|
+
export declare class BreadcrumbItem {
|
|
2
|
+
title?: string | undefined;
|
|
3
|
+
url?: string | undefined;
|
|
4
|
+
constructor(title?: string | undefined, url?: string | undefined);
|
|
5
|
+
level: number;
|
|
6
|
+
get urlSegments(): string[] | undefined;
|
|
7
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BreadcrumbService } from '../../services/breadcrumb.service';
|
|
3
|
-
import { BreadcrumbItem } from './breadcrumb-item';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BreadcrumbComponent implements OnInit {
|
|
6
|
-
private _breadcrumbService;
|
|
7
|
-
constructor(_breadcrumbService: BreadcrumbService);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
breadcrumb: BreadcrumbItem[];
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "lib-breadcrumb", never, {}, {}, never, never, false>;
|
|
12
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BreadcrumbService } from '../../services/breadcrumb.service';
|
|
3
|
+
import { BreadcrumbItem } from './breadcrumb-item';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BreadcrumbComponent implements OnInit {
|
|
6
|
+
private _breadcrumbService;
|
|
7
|
+
constructor(_breadcrumbService: BreadcrumbService);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
breadcrumb: BreadcrumbItem[];
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "lib-breadcrumb", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CollapsiblePanelComponent implements OnInit {
|
|
4
|
-
title: string | null;
|
|
5
|
-
visible: boolean;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsiblePanelComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollapsiblePanelComponent, "lib-collapsible-panel", never, { "title": "title"; }, {}, never, ["*"], false>;
|
|
10
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CollapsiblePanelComponent implements OnInit {
|
|
4
|
+
title: string | null;
|
|
5
|
+
visible: boolean;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsiblePanelComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollapsiblePanelComponent, "lib-collapsible-panel", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
10
|
+
}
|
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ComboboxComponent implements OnInit {
|
|
4
|
-
private _debouncer;
|
|
5
|
-
private _items;
|
|
6
|
-
private _defaultItemsFilter;
|
|
7
|
-
constructor();
|
|
8
|
-
id: string;
|
|
9
|
-
placeholder: string | undefined;
|
|
10
|
-
set items(items: any[]);
|
|
11
|
-
get items(): any[];
|
|
12
|
-
itemTemplate: TemplateRef<HTMLElement> | undefined;
|
|
13
|
-
selectedItemsFilter: (item: any) => boolean | null;
|
|
14
|
-
selectedItemTemplate: TemplateRef<HTMLElement> | undefined;
|
|
15
|
-
noResultsTemplate: TemplateRef<HTMLElement> | undefined;
|
|
16
|
-
busy: boolean;
|
|
17
|
-
multiple: boolean;
|
|
18
|
-
debounceMs: number;
|
|
19
|
-
onSearch: EventEmitter<string | undefined>;
|
|
20
|
-
onItemSelected: EventEmitter<any>;
|
|
21
|
-
showResults: boolean;
|
|
22
|
-
selectedItems: any[];
|
|
23
|
-
value: string | undefined;
|
|
24
|
-
protected searchTerm: string
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
static
|
|
34
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ComboboxComponent implements OnInit {
|
|
4
|
+
private _debouncer;
|
|
5
|
+
private _items;
|
|
6
|
+
private _defaultItemsFilter;
|
|
7
|
+
constructor();
|
|
8
|
+
id: string;
|
|
9
|
+
placeholder: string | undefined;
|
|
10
|
+
set items(items: any[]);
|
|
11
|
+
get items(): any[];
|
|
12
|
+
itemTemplate: TemplateRef<HTMLElement> | undefined;
|
|
13
|
+
selectedItemsFilter: (item: any) => boolean | null;
|
|
14
|
+
selectedItemTemplate: TemplateRef<HTMLElement> | undefined;
|
|
15
|
+
noResultsTemplate: TemplateRef<HTMLElement> | undefined;
|
|
16
|
+
busy: boolean;
|
|
17
|
+
multiple: boolean;
|
|
18
|
+
debounceMs: number;
|
|
19
|
+
onSearch: EventEmitter<string | undefined>;
|
|
20
|
+
onItemSelected: EventEmitter<any>;
|
|
21
|
+
showResults: boolean;
|
|
22
|
+
selectedItems: any[];
|
|
23
|
+
value: string | undefined;
|
|
24
|
+
protected searchTerm: string;
|
|
25
|
+
protected getSearchTermContext(): any;
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
onInputClick(): void;
|
|
28
|
+
onInputClickOutside(): void;
|
|
29
|
+
onInputKeyUp(event: any): void;
|
|
30
|
+
onListItemSelected(item: any): void;
|
|
31
|
+
removeItem(item: any): void;
|
|
32
|
+
private emitSearchEvent;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "lib-combobox", never, { "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedItemsFilter": { "alias": "selectedItemsFilter"; "required": false; }; "selectedItemTemplate": { "alias": "selectedItemTemplate"; "required": false; }; "noResultsTemplate": { "alias": "noResultsTemplate"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "debounceMs": { "alias": "debounceMs"; "required": false; }; }, { "onSearch": "onSearch"; "onItemSelected": "onItemSelected"; }, never, never, false, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ContentTileHeaderComponent {
|
|
3
|
+
template: any | undefined;
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTileHeaderComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTileHeaderComponent, "lib-content-tile-header", never, {}, {}, ["template"], ["*"], false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ContentTileItemComponent {
|
|
3
|
+
title: string | undefined;
|
|
4
|
+
template: any | undefined;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTileItemComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTileItemComponent, "lib-content-tile-item", never, { "title": { "alias": "title"; "required": false; }; }, {}, ["template"], ["*"], false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { ContentTileHeaderComponent } from './content-tile-header/content-tile-header.component';
|
|
4
|
+
import { ContentTileItemComponent } from './content-tile-item/content-tile-item.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ContentTileComponent implements OnInit {
|
|
7
|
+
private router;
|
|
8
|
+
title: string | undefined;
|
|
9
|
+
busy: boolean;
|
|
10
|
+
showAction: boolean | undefined;
|
|
11
|
+
showFooter: boolean | undefined;
|
|
12
|
+
actionText: string;
|
|
13
|
+
tileAction: EventEmitter<any>;
|
|
14
|
+
selectedIndex: number;
|
|
15
|
+
itemTemplates: any[];
|
|
16
|
+
set items(refs: QueryList<ContentTileItemComponent>);
|
|
17
|
+
header: ContentTileHeaderComponent | undefined;
|
|
18
|
+
constructor(router: Router);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
emitTileAction($event: any): boolean;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTileComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTileComponent, "lib-content-tile", never, { "title": { "alias": "title"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "showAction": { "alias": "show-action"; "required": false; }; "showFooter": { "alias": "show-footer"; "required": false; }; "actionText": { "alias": "action-text"; "required": false; }; }, { "tileAction": "tile-action"; }, ["header", "items"], never, false, never>;
|
|
23
|
+
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DatepickerComponent implements OnInit, ControlValueAccessor {
|
|
5
|
-
locale: string;
|
|
6
|
-
readonly: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
inline: boolean;
|
|
9
|
-
displayFormat: string | undefined;
|
|
10
|
-
placeholder: string | undefined;
|
|
11
|
-
value: Date | undefined | null;
|
|
12
|
-
valueChange: EventEmitter<Date>;
|
|
13
|
-
dateInput: ElementRef | undefined;
|
|
14
|
-
minDate: Date | undefined;
|
|
15
|
-
maxDate: Date | undefined;
|
|
16
|
-
showCalendar: boolean;
|
|
17
|
-
showYears: boolean;
|
|
18
|
-
monthNames: readonly string[];
|
|
19
|
-
dayNames: readonly string[];
|
|
20
|
-
month: number;
|
|
21
|
-
year: number;
|
|
22
|
-
calendarDates: any[];
|
|
23
|
-
calendarYears: any[];
|
|
24
|
-
showCalendarYears: any[];
|
|
25
|
-
blankDays: any[];
|
|
26
|
-
calendarYearPage: number;
|
|
27
|
-
private yearsPerPage;
|
|
28
|
-
private onChange$;
|
|
29
|
-
private onTouched$;
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
constructor(locale: string);
|
|
32
|
-
writeValue(obj: any): void;
|
|
33
|
-
registerOnChange(fn: (_: any) => void): void;
|
|
34
|
-
registerOnTouched(fn: any): void;
|
|
35
|
-
onBlur(event: any): void;
|
|
36
|
-
selectDateValue(date: any): void;
|
|
37
|
-
selectYearValue(year: any): void;
|
|
38
|
-
previousMonth(): void;
|
|
39
|
-
nextMonth(): void;
|
|
40
|
-
previousYear(): void;
|
|
41
|
-
nextYear(): void;
|
|
42
|
-
private compareDates;
|
|
43
|
-
private calcDays;
|
|
44
|
-
private updateDays;
|
|
45
|
-
private paginate;
|
|
46
|
-
private getDateFromInput;
|
|
47
|
-
openYears(): void;
|
|
48
|
-
openCalendar(): void;
|
|
49
|
-
closeCalendar(): void;
|
|
50
|
-
outOfRangeDate(date: any): boolean;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "lib-date-picker", never, { "readonly": "readonly"; "disabled": "disabled"; "inline": "inline"; "displayFormat": "display-format"; "placeholder": "placeholder"; "value": "value"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
53
|
-
}
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DatepickerComponent implements OnInit, ControlValueAccessor {
|
|
5
|
+
locale: string;
|
|
6
|
+
readonly: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
inline: boolean;
|
|
9
|
+
displayFormat: string | undefined;
|
|
10
|
+
placeholder: string | undefined;
|
|
11
|
+
value: Date | undefined | null;
|
|
12
|
+
valueChange: EventEmitter<Date>;
|
|
13
|
+
dateInput: ElementRef | undefined;
|
|
14
|
+
minDate: Date | undefined;
|
|
15
|
+
maxDate: Date | undefined;
|
|
16
|
+
showCalendar: boolean;
|
|
17
|
+
showYears: boolean;
|
|
18
|
+
monthNames: readonly string[];
|
|
19
|
+
dayNames: readonly string[];
|
|
20
|
+
month: number;
|
|
21
|
+
year: number;
|
|
22
|
+
calendarDates: any[];
|
|
23
|
+
calendarYears: any[];
|
|
24
|
+
showCalendarYears: any[];
|
|
25
|
+
blankDays: any[];
|
|
26
|
+
calendarYearPage: number;
|
|
27
|
+
private yearsPerPage;
|
|
28
|
+
private onChange$;
|
|
29
|
+
private onTouched$;
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
constructor(locale: string);
|
|
32
|
+
writeValue(obj: any): void;
|
|
33
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
34
|
+
registerOnTouched(fn: any): void;
|
|
35
|
+
onBlur(event: any): void;
|
|
36
|
+
selectDateValue(date: any): void;
|
|
37
|
+
selectYearValue(year: any): void;
|
|
38
|
+
previousMonth(): void;
|
|
39
|
+
nextMonth(): void;
|
|
40
|
+
previousYear(): void;
|
|
41
|
+
nextYear(): void;
|
|
42
|
+
private compareDates;
|
|
43
|
+
private calcDays;
|
|
44
|
+
private updateDays;
|
|
45
|
+
private paginate;
|
|
46
|
+
private getDateFromInput;
|
|
47
|
+
openYears(): void;
|
|
48
|
+
openCalendar(): void;
|
|
49
|
+
closeCalendar(): void;
|
|
50
|
+
outOfRangeDate(date: any): boolean;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "lib-date-picker", never, { "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "displayFormat": { "alias": "display-format"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
53
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MenuOption } from '../../types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DropDownMenuComponent implements OnInit, OnChanges {
|
|
5
|
-
options: MenuOption[] | undefined;
|
|
6
|
-
selectedValue: any | null;
|
|
7
|
-
multiple: boolean;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
showIcons: boolean;
|
|
10
|
-
private selectedOption$;
|
|
11
|
-
get selectedOption(): MenuOption | null;
|
|
12
|
-
set selectedOption(option: MenuOption | null);
|
|
13
|
-
selectedChange: EventEmitter<any>;
|
|
14
|
-
selectedChanged: EventEmitter<any>;
|
|
15
|
-
private expanded$;
|
|
16
|
-
get expanded(): boolean;
|
|
17
|
-
set expanded(value: boolean);
|
|
18
|
-
constructor();
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
isSelected(option: MenuOption): boolean;
|
|
22
|
-
onClickOutside($event: any): void;
|
|
23
|
-
selectOption(option: MenuOption): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownMenuComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownMenuComponent, "lib-drop-down-menu", never, { "options": "options"; "selectedValue": "selected"; "multiple": "multiple"; "placeholder": "placeholder"; "showIcons": "show-icons"; }, { "selectedChange": "selectedChange"; "selectedChanged": "selectedChanged"; }, never, never, false>;
|
|
26
|
-
}
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MenuOption } from '../../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DropDownMenuComponent implements OnInit, OnChanges {
|
|
5
|
+
options: MenuOption[] | undefined;
|
|
6
|
+
selectedValue: any | null | undefined;
|
|
7
|
+
multiple: boolean;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
showIcons: boolean;
|
|
10
|
+
private selectedOption$;
|
|
11
|
+
get selectedOption(): MenuOption | null;
|
|
12
|
+
set selectedOption(option: MenuOption | null);
|
|
13
|
+
selectedChange: EventEmitter<any>;
|
|
14
|
+
selectedChanged: EventEmitter<any>;
|
|
15
|
+
private expanded$;
|
|
16
|
+
get expanded(): boolean;
|
|
17
|
+
set expanded(value: boolean);
|
|
18
|
+
constructor();
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
isSelected(option: MenuOption): boolean;
|
|
22
|
+
onClickOutside($event: any): void;
|
|
23
|
+
selectOption(option: MenuOption): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownMenuComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownMenuComponent, "lib-drop-down-menu", never, { "options": { "alias": "options"; "required": false; }; "selectedValue": { "alias": "selected"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showIcons": { "alias": "show-icons"; "required": false; }; }, { "selectedChange": "selectedChange"; "selectedChanged": "selectedChanged"; }, never, never, false, never>;
|
|
26
|
+
}
|