@stemy/ngx-utils 13.6.17 → 17.0.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/esm2022/ngx-utils/common-types.mjs +123 -0
- package/esm2022/ngx-utils/components/dynamic-table/dynamic-table.component.mjs +210 -0
- package/esm2022/ngx-utils/components/pagination-menu/pagination-menu.component.mjs +101 -0
- package/esm2022/ngx-utils/components/unordered-list/unordered-list.component.mjs +65 -0
- package/esm2022/ngx-utils/directives/async-method.base.mjs +82 -0
- package/{esm2020 → esm2022}/ngx-utils/directives/async-method.directive.mjs +21 -21
- package/esm2022/ngx-utils/directives/background.directive.mjs +51 -0
- package/{esm2020 → esm2022}/ngx-utils/directives/dynamic-table-template.directive.mjs +20 -20
- package/{esm2020 → esm2022}/ngx-utils/directives/global-template.directive.mjs +30 -30
- package/esm2022/ngx-utils/directives/icon.directive.mjs +67 -0
- package/esm2022/ngx-utils/directives/ngx-template-outlet.directive.mjs +90 -0
- package/{esm2020 → esm2022}/ngx-utils/directives/pagination-item.directive.mjs +34 -34
- package/esm2022/ngx-utils/directives/pagination.directive.mjs +84 -0
- package/esm2022/ngx-utils/directives/resource-if.directive.mjs +50 -0
- package/esm2022/ngx-utils/directives/sticky-class.directive.mjs +34 -0
- package/{esm2020 → esm2022}/ngx-utils/directives/sticky.directive.mjs +55 -55
- package/{esm2020 → esm2022}/ngx-utils/directives/unordered-list-item.directive.mjs +79 -79
- package/{esm2020 → esm2022}/ngx-utils/directives/unordered-list-template.directive.mjs +20 -20
- package/{esm2020 → esm2022}/ngx-utils/ngx-utils.imports.mjs +174 -174
- package/esm2022/ngx-utils/ngx-utils.module.mjs +202 -0
- package/esm2022/ngx-utils/pipes/chunk.pipe.mjs +25 -0
- package/{esm2020 → esm2022}/ngx-utils/pipes/entries.pipe.mjs +28 -28
- package/{esm2020 → esm2022}/ngx-utils/pipes/extra-item-properties.pipe.mjs +31 -31
- package/esm2022/ngx-utils/pipes/filter.pipe.mjs +37 -0
- package/esm2022/ngx-utils/pipes/find.pipe.mjs +29 -0
- package/{esm2020 → esm2022}/ngx-utils/pipes/format-number.pipe.mjs +21 -21
- package/{esm2020 → esm2022}/ngx-utils/pipes/get-offset.pipe.mjs +17 -17
- package/{esm2020 → esm2022}/ngx-utils/pipes/get-type.pipe.mjs +16 -16
- package/esm2022/ngx-utils/pipes/global-template.pipe.mjs +41 -0
- package/{esm2020 → esm2022}/ngx-utils/pipes/group-by.pipe.mjs +27 -27
- package/{esm2020 → esm2022}/ngx-utils/pipes/is-type.pipe.mjs +16 -16
- package/{esm2020 → esm2022}/ngx-utils/pipes/join.pipe.mjs +19 -19
- package/{esm2020 → esm2022}/ngx-utils/pipes/keys.pipe.mjs +22 -22
- package/{esm2020 → esm2022}/ngx-utils/pipes/map.pipe.mjs +29 -29
- package/{esm2020 → esm2022}/ngx-utils/pipes/max.pipe.mjs +26 -26
- package/{esm2020 → esm2022}/ngx-utils/pipes/min.pipe.mjs +26 -26
- package/{esm2020 → esm2022}/ngx-utils/pipes/pop.pipe.mjs +16 -16
- package/{esm2020 → esm2022}/ngx-utils/pipes/reduce.pipe.mjs +30 -30
- package/esm2022/ngx-utils/pipes/remap.pipe.mjs +32 -0
- package/{esm2020 → esm2022}/ngx-utils/pipes/replace.pipe.mjs +17 -17
- package/esm2022/ngx-utils/pipes/reverse.pipe.mjs +24 -0
- package/{esm2020 → esm2022}/ngx-utils/pipes/round.pipe.mjs +21 -21
- package/esm2022/ngx-utils/pipes/safe-html.pipe.mjs +34 -0
- package/{esm2020 → esm2022}/ngx-utils/pipes/shift.pipe.mjs +16 -16
- package/{esm2020 → esm2022}/ngx-utils/pipes/split.pipe.mjs +16 -16
- package/esm2022/ngx-utils/pipes/translate.pipe.mjs +86 -0
- package/{esm2020 → esm2022}/ngx-utils/pipes/values.pipe.mjs +22 -22
- package/esm2022/ngx-utils/plugins/resize-event.plugin.mjs +78 -0
- package/esm2022/ngx-utils/plugins/scroll-event.plugin.mjs +39 -0
- package/{esm2020 → esm2022}/ngx-utils/services/acl.service.mjs +84 -83
- package/esm2022/ngx-utils/services/api.service.mjs +42 -0
- package/{esm2020 → esm2022}/ngx-utils/services/auth.service.mjs +13 -13
- package/esm2022/ngx-utils/services/base-http.client.mjs +47 -0
- package/esm2022/ngx-utils/services/base-http.service.mjs +305 -0
- package/esm2022/ngx-utils/services/config.service.mjs +130 -0
- package/esm2022/ngx-utils/services/error-handler.service.mjs +49 -0
- package/{esm2020 → esm2022}/ngx-utils/services/events.service.mjs +26 -26
- package/{esm2020 → esm2022}/ngx-utils/services/formatter.service.mjs +49 -49
- package/esm2022/ngx-utils/services/global-template.service.mjs +37 -0
- package/esm2022/ngx-utils/services/icon.service.mjs +26 -0
- package/esm2022/ngx-utils/services/language.service.mjs +124 -0
- package/{esm2020 → esm2022}/ngx-utils/services/local-http.service.mjs +47 -47
- package/{esm2020 → esm2022}/ngx-utils/services/open-api.service.mjs +40 -40
- package/{esm2020 → esm2022}/ngx-utils/services/promise.service.mjs +55 -55
- package/esm2022/ngx-utils/services/state.service.mjs +177 -0
- package/{esm2020 → esm2022}/ngx-utils/services/static-language.service.mjs +166 -166
- package/esm2022/ngx-utils/services/storage.service.mjs +49 -0
- package/{esm2020 → esm2022}/ngx-utils/services/toaster.service.mjs +32 -32
- package/esm2022/ngx-utils/services/translated-url.serializer.mjs +73 -0
- package/esm2022/ngx-utils/services/universal.service.mjs +81 -0
- package/{esm2020 → esm2022}/ngx-utils/services/wasm.service.mjs +46 -46
- package/esm2022/ngx-utils/utils/ajax-request-handler.mjs +40 -0
- package/esm2022/ngx-utils/utils/array.utils.mjs +107 -0
- package/esm2022/ngx-utils/utils/auth.guard.mjs +181 -0
- package/esm2022/ngx-utils/utils/cached-factory.mjs +30 -0
- package/esm2022/ngx-utils/utils/canvas.utils.mjs +388 -0
- package/esm2022/ngx-utils/utils/date.utils.mjs +29 -0
- package/{esm2020 → esm2022}/ngx-utils/utils/file-system.mjs +24 -24
- package/esm2022/ngx-utils/utils/file.utils.mjs +90 -0
- package/{esm2020 → esm2022}/ngx-utils/utils/generic-value.mjs +20 -20
- package/esm2022/ngx-utils/utils/geometry.mjs +132 -0
- package/{esm2020 → esm2022}/ngx-utils/utils/initializer.mjs +20 -20
- package/esm2022/ngx-utils/utils/jsonfn.mjs +45 -0
- package/esm2022/ngx-utils/utils/loader.utils.mjs +55 -0
- package/esm2022/ngx-utils/utils/math.utils.mjs +44 -0
- package/esm2022/ngx-utils/utils/object.utils.mjs +320 -0
- package/{esm2020 → esm2022}/ngx-utils/utils/observable.utils.mjs +63 -63
- package/esm2022/ngx-utils/utils/reflect.utils.mjs +33 -0
- package/esm2022/ngx-utils/utils/set.utils.mjs +20 -0
- package/esm2022/ngx-utils/utils/string.utils.mjs +41 -0
- package/{esm2020 → esm2022}/ngx-utils/utils/timer.utils.mjs +51 -51
- package/esm2022/ngx-utils/utils/unique.utils.mjs +24 -0
- package/esm2022/ngx-utils/utils/vector.mjs +77 -0
- package/esm2022/ngx-utils/utils/wasi.mjs +159 -0
- package/esm2022/ngx-utils/utils/wasm-worker-proxy.mjs +99 -0
- package/{esm2020 → esm2022}/ngx-utils/utils/with-options-provider.mjs +23 -23
- package/{esm2020 → esm2022}/public_api.mjs +93 -93
- package/{esm2020 → esm2022}/stemy-ngx-utils.mjs +4 -4
- package/esm2022/tools/config.mjs +71 -0
- package/{esm2020 → esm2022}/tools/public_api.mjs +1 -1
- package/{esm2020 → esm2022}/tools/stemy-ngx-utils-tools.mjs +4 -4
- package/{fesm2020 → fesm2022}/stemy-ngx-utils-tools.mjs +71 -71
- package/{fesm2015 → fesm2022}/stemy-ngx-utils-tools.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/stemy-ngx-utils.mjs +5639 -5636
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -0
- package/{stemy-ngx-utils.d.ts → index.d.ts} +5 -5
- package/ng.mjs +5 -0
- package/ngx-utils/common-types.d.ts +378 -378
- package/ngx-utils/components/dynamic-table/dynamic-table.component.d.ts +56 -56
- package/ngx-utils/components/pagination-menu/pagination-menu.component.d.ts +31 -31
- package/ngx-utils/components/unordered-list/unordered-list.component.d.ts +25 -25
- package/ngx-utils/directives/async-method.base.d.ts +19 -19
- package/ngx-utils/directives/async-method.directive.d.ts +9 -9
- package/ngx-utils/directives/background.directive.d.ts +17 -17
- package/ngx-utils/directives/dynamic-table-template.directive.d.ts +11 -11
- package/ngx-utils/directives/global-template.directive.d.ts +13 -13
- package/ngx-utils/directives/icon.directive.d.ts +23 -23
- package/ngx-utils/directives/ngx-template-outlet.directive.d.ts +17 -17
- package/ngx-utils/directives/pagination-item.directive.d.ts +15 -15
- package/ngx-utils/directives/pagination.directive.d.ts +25 -25
- package/ngx-utils/directives/resource-if.directive.d.ts +19 -19
- package/ngx-utils/directives/sticky-class.directive.d.ts +15 -15
- package/ngx-utils/directives/sticky.directive.d.ts +19 -19
- package/ngx-utils/directives/unordered-list-item.directive.d.ts +28 -28
- package/ngx-utils/directives/unordered-list-template.directive.d.ts +11 -11
- package/ngx-utils/ngx-utils.imports.d.ts +74 -0
- package/ngx-utils/ngx-utils.module.d.ts +58 -58
- package/ngx-utils/pipes/chunk.pipe.d.ts +7 -7
- package/ngx-utils/pipes/entries.pipe.d.ts +12 -12
- package/ngx-utils/pipes/extra-item-properties.pipe.d.ts +8 -8
- package/ngx-utils/pipes/filter.pipe.d.ts +8 -8
- package/ngx-utils/pipes/find.pipe.d.ts +8 -8
- package/ngx-utils/pipes/format-number.pipe.d.ts +10 -10
- package/ngx-utils/pipes/get-offset.pipe.d.ts +7 -7
- package/ngx-utils/pipes/get-type.pipe.d.ts +7 -7
- package/ngx-utils/pipes/global-template.pipe.d.ts +16 -16
- package/ngx-utils/pipes/group-by.pipe.d.ts +8 -8
- package/ngx-utils/pipes/is-type.pipe.d.ts +7 -7
- package/ngx-utils/pipes/join.pipe.d.ts +7 -7
- package/ngx-utils/pipes/keys.pipe.d.ts +7 -7
- package/ngx-utils/pipes/map.pipe.d.ts +8 -8
- package/ngx-utils/pipes/max.pipe.d.ts +7 -7
- package/ngx-utils/pipes/min.pipe.d.ts +7 -7
- package/ngx-utils/pipes/pop.pipe.d.ts +7 -7
- package/ngx-utils/pipes/reduce.pipe.d.ts +8 -8
- package/ngx-utils/pipes/remap.pipe.d.ts +7 -7
- package/ngx-utils/pipes/replace.pipe.d.ts +7 -7
- package/ngx-utils/pipes/reverse.pipe.d.ts +7 -7
- package/ngx-utils/pipes/round.pipe.d.ts +10 -10
- package/ngx-utils/pipes/safe-html.pipe.d.ts +10 -10
- package/ngx-utils/pipes/shift.pipe.d.ts +7 -7
- package/ngx-utils/pipes/split.pipe.d.ts +7 -7
- package/ngx-utils/pipes/translate.pipe.d.ts +19 -19
- package/ngx-utils/pipes/values.pipe.d.ts +7 -7
- package/ngx-utils/plugins/resize-event.plugin.d.ts +17 -17
- package/ngx-utils/plugins/scroll-event.plugin.d.ts +13 -13
- package/ngx-utils/services/acl.service.d.ts +14 -14
- package/ngx-utils/services/api.service.d.ts +17 -17
- package/ngx-utils/services/auth.service.d.ts +8 -8
- package/ngx-utils/services/base-http.client.d.ts +15 -15
- package/ngx-utils/services/base-http.service.d.ts +53 -53
- package/ngx-utils/services/config.service.d.ts +30 -30
- package/ngx-utils/services/error-handler.service.d.ts +13 -13
- package/ngx-utils/services/events.service.d.ts +14 -14
- package/ngx-utils/services/formatter.service.d.ts +15 -15
- package/ngx-utils/services/global-template.service.d.ts +19 -19
- package/ngx-utils/services/icon.service.d.ts +13 -13
- package/ngx-utils/services/language.service.d.ts +21 -21
- package/ngx-utils/services/local-http.service.d.ts +14 -14
- package/ngx-utils/services/open-api.service.d.ts +11 -11
- package/ngx-utils/services/promise.service.d.ts +19 -19
- package/ngx-utils/services/state.service.d.ts +49 -49
- package/ngx-utils/services/static-language.service.d.ts +46 -46
- package/ngx-utils/services/storage.service.d.ts +15 -15
- package/ngx-utils/services/toaster.service.d.ts +13 -13
- package/ngx-utils/services/translated-url.serializer.d.ts +19 -19
- package/ngx-utils/services/universal.service.d.ts +28 -28
- package/ngx-utils/services/wasm.service.d.ts +25 -25
- package/ngx-utils/utils/ajax-request-handler.d.ts +11 -11
- package/ngx-utils/utils/array.utils.d.ts +11 -11
- package/ngx-utils/utils/auth.guard.d.ts +29 -29
- package/ngx-utils/utils/cached-factory.d.ts +2 -2
- package/ngx-utils/utils/canvas.utils.d.ts +13 -13
- package/ngx-utils/utils/date.utils.d.ts +8 -8
- package/ngx-utils/utils/file-system.d.ts +16 -16
- package/ngx-utils/utils/file.utils.d.ts +14 -14
- package/ngx-utils/utils/generic-value.d.ts +8 -8
- package/ngx-utils/utils/geometry.d.ts +50 -50
- package/ngx-utils/utils/initializer.d.ts +12 -12
- package/ngx-utils/utils/jsonfn.d.ts +6 -6
- package/ngx-utils/utils/loader.utils.d.ts +7 -7
- package/ngx-utils/utils/math.utils.d.ts +8 -8
- package/ngx-utils/utils/object.utils.d.ts +35 -35
- package/ngx-utils/utils/observable.utils.d.ts +13 -13
- package/ngx-utils/utils/reflect.utils.d.ts +9 -9
- package/ngx-utils/utils/set.utils.d.ts +4 -4
- package/ngx-utils/utils/string.utils.d.ts +9 -9
- package/ngx-utils/utils/timer.utils.d.ts +6 -6
- package/ngx-utils/utils/unique.utils.d.ts +5 -5
- package/ngx-utils/utils/vector.d.ts +23 -23
- package/ngx-utils/utils/wasi.d.ts +26 -26
- package/ngx-utils/utils/wasm-worker-proxy.d.ts +17 -17
- package/ngx-utils/utils/with-options-provider.d.ts +3 -3
- package/package.json +21 -29
- package/public_api.d.ts +93 -93
- package/tools/config.d.ts +7 -7
- package/tools/{stemy-ngx-utils-tools.d.ts → index.d.ts} +5 -5
- package/tools/public_api.d.ts +1 -1
- package/esm2020/ngx-utils/common-types.mjs +0 -123
- package/esm2020/ngx-utils/components/dynamic-table/dynamic-table.component.mjs +0 -210
- package/esm2020/ngx-utils/components/pagination-menu/pagination-menu.component.mjs +0 -101
- package/esm2020/ngx-utils/components/unordered-list/unordered-list.component.mjs +0 -65
- package/esm2020/ngx-utils/directives/async-method.base.mjs +0 -82
- package/esm2020/ngx-utils/directives/background.directive.mjs +0 -51
- package/esm2020/ngx-utils/directives/icon.directive.mjs +0 -67
- package/esm2020/ngx-utils/directives/ngx-template-outlet.directive.mjs +0 -90
- package/esm2020/ngx-utils/directives/pagination.directive.mjs +0 -84
- package/esm2020/ngx-utils/directives/resource-if.directive.mjs +0 -50
- package/esm2020/ngx-utils/directives/sticky-class.directive.mjs +0 -34
- package/esm2020/ngx-utils/ngx-utils.module.mjs +0 -204
- package/esm2020/ngx-utils/pipes/chunk.pipe.mjs +0 -25
- package/esm2020/ngx-utils/pipes/filter.pipe.mjs +0 -37
- package/esm2020/ngx-utils/pipes/find.pipe.mjs +0 -29
- package/esm2020/ngx-utils/pipes/global-template.pipe.mjs +0 -41
- package/esm2020/ngx-utils/pipes/remap.pipe.mjs +0 -32
- package/esm2020/ngx-utils/pipes/reverse.pipe.mjs +0 -24
- package/esm2020/ngx-utils/pipes/safe-html.pipe.mjs +0 -34
- package/esm2020/ngx-utils/pipes/translate.pipe.mjs +0 -86
- package/esm2020/ngx-utils/plugins/resize-event.plugin.mjs +0 -78
- package/esm2020/ngx-utils/plugins/scroll-event.plugin.mjs +0 -39
- package/esm2020/ngx-utils/services/api.service.mjs +0 -42
- package/esm2020/ngx-utils/services/base-http.client.mjs +0 -47
- package/esm2020/ngx-utils/services/base-http.service.mjs +0 -305
- package/esm2020/ngx-utils/services/config.service.mjs +0 -130
- package/esm2020/ngx-utils/services/error-handler.service.mjs +0 -49
- package/esm2020/ngx-utils/services/global-template.service.mjs +0 -37
- package/esm2020/ngx-utils/services/icon.service.mjs +0 -26
- package/esm2020/ngx-utils/services/language.service.mjs +0 -124
- package/esm2020/ngx-utils/services/state.service.mjs +0 -173
- package/esm2020/ngx-utils/services/storage.service.mjs +0 -49
- package/esm2020/ngx-utils/services/translated-url.serializer.mjs +0 -73
- package/esm2020/ngx-utils/services/universal.service.mjs +0 -81
- package/esm2020/ngx-utils/utils/ajax-request-handler.mjs +0 -40
- package/esm2020/ngx-utils/utils/array.utils.mjs +0 -107
- package/esm2020/ngx-utils/utils/auth.guard.mjs +0 -181
- package/esm2020/ngx-utils/utils/cached-factory.mjs +0 -30
- package/esm2020/ngx-utils/utils/canvas.utils.mjs +0 -388
- package/esm2020/ngx-utils/utils/date.utils.mjs +0 -29
- package/esm2020/ngx-utils/utils/file.utils.mjs +0 -90
- package/esm2020/ngx-utils/utils/geometry.mjs +0 -132
- package/esm2020/ngx-utils/utils/jsonfn.mjs +0 -45
- package/esm2020/ngx-utils/utils/loader.utils.mjs +0 -55
- package/esm2020/ngx-utils/utils/math.utils.mjs +0 -44
- package/esm2020/ngx-utils/utils/object.utils.mjs +0 -320
- package/esm2020/ngx-utils/utils/reflect.utils.mjs +0 -33
- package/esm2020/ngx-utils/utils/set.utils.mjs +0 -20
- package/esm2020/ngx-utils/utils/string.utils.mjs +0 -41
- package/esm2020/ngx-utils/utils/unique.utils.mjs +0 -24
- package/esm2020/ngx-utils/utils/vector.mjs +0 -77
- package/esm2020/ngx-utils/utils/wasi.mjs +0 -159
- package/esm2020/ngx-utils/utils/wasm-worker-proxy.mjs +0 -99
- package/esm2020/tools/config.mjs +0 -71
- package/fesm2015/stemy-ngx-utils-tools.mjs +0 -77
- package/fesm2015/stemy-ngx-utils.mjs +0 -5894
- package/fesm2015/stemy-ngx-utils.mjs.map +0 -1
- package/fesm2020/stemy-ngx-utils-tools.mjs.map +0 -1
- package/fesm2020/stemy-ngx-utils.mjs.map +0 -1
- package/tools/package.json +0 -10
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, OnChanges, QueryList, SimpleChanges, TemplateRef } from "@angular/core";
|
|
2
|
-
import { IPaginationData, ITableColumns, ITableDataQuery, ITableTemplates, TableColumns, TableDataLoader } from "../../common-types";
|
|
3
|
-
import { DynamicTableTemplateDirective } from "../../directives/dynamic-table-template.directive";
|
|
4
|
-
import { PaginationDirective } from "../../directives/pagination.directive";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DynamicTableComponent implements AfterContentInit, AfterViewInit, OnChanges {
|
|
7
|
-
label: string;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
dataLoader: TableDataLoader;
|
|
10
|
-
data: any[];
|
|
11
|
-
page: number;
|
|
12
|
-
urlParam: string;
|
|
13
|
-
parallelData: any[];
|
|
14
|
-
columns: TableColumns;
|
|
15
|
-
showFilter: boolean;
|
|
16
|
-
itemsPerPage: number;
|
|
17
|
-
updateTime: number;
|
|
18
|
-
filterTime: number;
|
|
19
|
-
maxPages: number;
|
|
20
|
-
directionLinks: boolean;
|
|
21
|
-
boundaryLinks: boolean;
|
|
22
|
-
orderBy: string;
|
|
23
|
-
orderDescending: boolean;
|
|
24
|
-
testId: string;
|
|
25
|
-
titlePrefix: string;
|
|
26
|
-
tableId: string;
|
|
27
|
-
templates: ITableTemplates;
|
|
28
|
-
filter: string;
|
|
29
|
-
query: ITableDataQuery;
|
|
30
|
-
hasQuery: boolean;
|
|
31
|
-
realColumns: ITableColumns;
|
|
32
|
-
cols: string[];
|
|
33
|
-
get items(): any[];
|
|
34
|
-
rowTemplate: TemplateRef<any>;
|
|
35
|
-
wrapperTemplate: TemplateRef<any>;
|
|
36
|
-
filterTemplate: TemplateRef<any>;
|
|
37
|
-
columnsTemplate: TemplateRef<any>;
|
|
38
|
-
defaultRowTemplate: TemplateRef<any>;
|
|
39
|
-
defaultWrapperTemplate: TemplateRef<any>;
|
|
40
|
-
defaultFilterTemplate: TemplateRef<any>;
|
|
41
|
-
protected pagination: PaginationDirective;
|
|
42
|
-
protected templateDirectives: QueryList<DynamicTableTemplateDirective>;
|
|
43
|
-
private static compare;
|
|
44
|
-
constructor();
|
|
45
|
-
ngAfterContentInit(): void;
|
|
46
|
-
ngAfterViewInit(): void;
|
|
47
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
48
|
-
refresh(time?: number): void;
|
|
49
|
-
setFilter(filter: string): void;
|
|
50
|
-
setOrder(column: string): void;
|
|
51
|
-
updateQuery(col: string, value: string): void;
|
|
52
|
-
loadData: (page: number, itemsPerPage: number) => Promise<IPaginationData>;
|
|
53
|
-
private loadLocalData;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "dynamic-table", never, { "label": "label"; "placeholder": "placeholder"; "dataLoader": "dataLoader"; "data": "data"; "page": "page"; "urlParam": "urlParam"; "parallelData": "parallelData"; "columns": "columns"; "showFilter": "showFilter"; "itemsPerPage": "itemsPerPage"; "updateTime": "updateTime"; "filterTime": "filterTime"; "maxPages": "maxPages"; "directionLinks": "directionLinks"; "boundaryLinks": "boundaryLinks"; "orderBy": "orderBy"; "orderDescending": "orderDescending"; "testId": "testId"; "titlePrefix": "titlePrefix"; }, {}, ["rowTemplate", "wrapperTemplate", "filterTemplate", "templateDirectives"], never>;
|
|
56
|
-
}
|
|
1
|
+
import { AfterContentInit, AfterViewInit, OnChanges, QueryList, SimpleChanges, TemplateRef } from "@angular/core";
|
|
2
|
+
import { IPaginationData, ITableColumns, ITableDataQuery, ITableTemplates, TableColumns, TableDataLoader } from "../../common-types";
|
|
3
|
+
import { DynamicTableTemplateDirective } from "../../directives/dynamic-table-template.directive";
|
|
4
|
+
import { PaginationDirective } from "../../directives/pagination.directive";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DynamicTableComponent implements AfterContentInit, AfterViewInit, OnChanges {
|
|
7
|
+
label: string;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
dataLoader: TableDataLoader;
|
|
10
|
+
data: any[];
|
|
11
|
+
page: number;
|
|
12
|
+
urlParam: string;
|
|
13
|
+
parallelData: any[];
|
|
14
|
+
columns: TableColumns;
|
|
15
|
+
showFilter: boolean;
|
|
16
|
+
itemsPerPage: number;
|
|
17
|
+
updateTime: number;
|
|
18
|
+
filterTime: number;
|
|
19
|
+
maxPages: number;
|
|
20
|
+
directionLinks: boolean;
|
|
21
|
+
boundaryLinks: boolean;
|
|
22
|
+
orderBy: string;
|
|
23
|
+
orderDescending: boolean;
|
|
24
|
+
testId: string;
|
|
25
|
+
titlePrefix: string;
|
|
26
|
+
tableId: string;
|
|
27
|
+
templates: ITableTemplates;
|
|
28
|
+
filter: string;
|
|
29
|
+
query: ITableDataQuery;
|
|
30
|
+
hasQuery: boolean;
|
|
31
|
+
realColumns: ITableColumns;
|
|
32
|
+
cols: string[];
|
|
33
|
+
get items(): any[];
|
|
34
|
+
rowTemplate: TemplateRef<any>;
|
|
35
|
+
wrapperTemplate: TemplateRef<any>;
|
|
36
|
+
filterTemplate: TemplateRef<any>;
|
|
37
|
+
columnsTemplate: TemplateRef<any>;
|
|
38
|
+
defaultRowTemplate: TemplateRef<any>;
|
|
39
|
+
defaultWrapperTemplate: TemplateRef<any>;
|
|
40
|
+
defaultFilterTemplate: TemplateRef<any>;
|
|
41
|
+
protected pagination: PaginationDirective;
|
|
42
|
+
protected templateDirectives: QueryList<DynamicTableTemplateDirective>;
|
|
43
|
+
private static compare;
|
|
44
|
+
constructor();
|
|
45
|
+
ngAfterContentInit(): void;
|
|
46
|
+
ngAfterViewInit(): void;
|
|
47
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
48
|
+
refresh(time?: number): void;
|
|
49
|
+
setFilter(filter: string): void;
|
|
50
|
+
setOrder(column: string): void;
|
|
51
|
+
updateQuery(col: string, value: string): void;
|
|
52
|
+
loadData: (page: number, itemsPerPage: number) => Promise<IPaginationData>;
|
|
53
|
+
private loadLocalData;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "dynamic-table", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "dataLoader": { "alias": "dataLoader"; "required": false; }; "data": { "alias": "data"; "required": false; }; "page": { "alias": "page"; "required": false; }; "urlParam": { "alias": "urlParam"; "required": false; }; "parallelData": { "alias": "parallelData"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "updateTime": { "alias": "updateTime"; "required": false; }; "filterTime": { "alias": "filterTime"; "required": false; }; "maxPages": { "alias": "maxPages"; "required": false; }; "directionLinks": { "alias": "directionLinks"; "required": false; }; "boundaryLinks": { "alias": "boundaryLinks"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "orderDescending": { "alias": "orderDescending"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "titlePrefix": { "alias": "titlePrefix"; "required": false; }; }, {}, ["rowTemplate", "wrapperTemplate", "filterTemplate", "templateDirectives"], never, false, never>;
|
|
56
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { StateService } from "../../services/state.service";
|
|
3
|
-
import { PaginationDirective } from "../../directives/pagination.directive";
|
|
4
|
-
import { IIconService } from "../../common-types";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PaginationMenuComponent implements OnInit, OnDestroy, OnChanges {
|
|
7
|
-
state: StateService;
|
|
8
|
-
pagination: PaginationDirective;
|
|
9
|
-
icons: IIconService;
|
|
10
|
-
maxSize: number;
|
|
11
|
-
urlParam: string;
|
|
12
|
-
directionLinks: boolean;
|
|
13
|
-
boundaryLinks: boolean;
|
|
14
|
-
pages: number[];
|
|
15
|
-
firstLabel: string;
|
|
16
|
-
prevLabel: string;
|
|
17
|
-
nextLabel: string;
|
|
18
|
-
lastLabel: string;
|
|
19
|
-
get hasPrev(): boolean;
|
|
20
|
-
get hasNext(): boolean;
|
|
21
|
-
private onRefresh;
|
|
22
|
-
constructor(state: StateService, pagination: PaginationDirective, icons: IIconService);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
-
paginate(page: number): void;
|
|
27
|
-
protected setIcon(labelName: string, icon: string): void;
|
|
28
|
-
protected setPages(): number;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationMenuComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationMenuComponent, "pagination-menu", never, { "maxSize": "maxSize"; "urlParam": "urlParam"; "directionLinks": "directionLinks"; "boundaryLinks": "boundaryLinks"; }, {}, never, never>;
|
|
31
|
-
}
|
|
1
|
+
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { StateService } from "../../services/state.service";
|
|
3
|
+
import { PaginationDirective } from "../../directives/pagination.directive";
|
|
4
|
+
import { IIconService } from "../../common-types";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PaginationMenuComponent implements OnInit, OnDestroy, OnChanges {
|
|
7
|
+
state: StateService;
|
|
8
|
+
pagination: PaginationDirective;
|
|
9
|
+
icons: IIconService;
|
|
10
|
+
maxSize: number;
|
|
11
|
+
urlParam: string;
|
|
12
|
+
directionLinks: boolean;
|
|
13
|
+
boundaryLinks: boolean;
|
|
14
|
+
pages: number[];
|
|
15
|
+
firstLabel: string;
|
|
16
|
+
prevLabel: string;
|
|
17
|
+
nextLabel: string;
|
|
18
|
+
lastLabel: string;
|
|
19
|
+
get hasPrev(): boolean;
|
|
20
|
+
get hasNext(): boolean;
|
|
21
|
+
private onRefresh;
|
|
22
|
+
constructor(state: StateService, pagination: PaginationDirective, icons: IIconService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
+
paginate(page: number): void;
|
|
27
|
+
protected setIcon(labelName: string, icon: string): void;
|
|
28
|
+
protected setPages(): number;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationMenuComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationMenuComponent, "pagination-menu", never, { "maxSize": { "alias": "maxSize"; "required": false; }; "urlParam": { "alias": "urlParam"; "required": false; }; "directionLinks": { "alias": "directionLinks"; "required": false; }; "boundaryLinks": { "alias": "boundaryLinks"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { UnorderedListStyle, UnorderedListTemplates, UnorderedListTemplate } from "../../common-types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UnorderedListComponent implements OnChanges, AfterContentInit, AfterViewInit {
|
|
5
|
-
private cdr;
|
|
6
|
-
data: any;
|
|
7
|
-
keyPrefix: string;
|
|
8
|
-
listStyle: UnorderedListStyle;
|
|
9
|
-
path: string;
|
|
10
|
-
level: number;
|
|
11
|
-
templates: UnorderedListTemplate[];
|
|
12
|
-
isArray: boolean;
|
|
13
|
-
isObject: boolean;
|
|
14
|
-
defaultTemplates: UnorderedListTemplates;
|
|
15
|
-
private templateDirectives;
|
|
16
|
-
private defaultKeyTemplate;
|
|
17
|
-
private defaultValueTemplate;
|
|
18
|
-
private defaultItemTemplate;
|
|
19
|
-
constructor(cdr: ChangeDetectorRef);
|
|
20
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
-
ngAfterContentInit(): void;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UnorderedListComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UnorderedListComponent, "unordered-list", never, { "data": "data"; "keyPrefix": "keyPrefix"; "listStyle": "listStyle"; "path": "path"; "level": "level"; "templates": "templates"; }, {}, ["templateDirectives"], never>;
|
|
25
|
-
}
|
|
1
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { UnorderedListStyle, UnorderedListTemplates, UnorderedListTemplate } from "../../common-types";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UnorderedListComponent implements OnChanges, AfterContentInit, AfterViewInit {
|
|
5
|
+
private cdr;
|
|
6
|
+
data: any;
|
|
7
|
+
keyPrefix: string;
|
|
8
|
+
listStyle: UnorderedListStyle;
|
|
9
|
+
path: string;
|
|
10
|
+
level: number;
|
|
11
|
+
templates: UnorderedListTemplate[];
|
|
12
|
+
isArray: boolean;
|
|
13
|
+
isObject: boolean;
|
|
14
|
+
defaultTemplates: UnorderedListTemplates;
|
|
15
|
+
private templateDirectives;
|
|
16
|
+
private defaultKeyTemplate;
|
|
17
|
+
private defaultValueTemplate;
|
|
18
|
+
private defaultItemTemplate;
|
|
19
|
+
constructor(cdr: ChangeDetectorRef);
|
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
+
ngAfterContentInit(): void;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnorderedListComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UnorderedListComponent, "unordered-list", never, { "data": { "alias": "data"; "required": false; }; "keyPrefix": { "alias": "keyPrefix"; "required": false; }; "listStyle": { "alias": "listStyle"; "required": false; }; "path": { "alias": "path"; "required": false; }; "level": { "alias": "level"; "required": false; }; "templates": { "alias": "templates"; "required": false; }; }, {}, ["templateDirectives"], never, false, never>;
|
|
25
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import { AsyncMethod, IAsyncMessage, IToasterService } from "../common-types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AsyncMethodBase {
|
|
5
|
-
protected toaster: IToasterService;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
context: any;
|
|
8
|
-
onSuccess: EventEmitter<IAsyncMessage>;
|
|
9
|
-
onError: EventEmitter<IAsyncMessage>;
|
|
10
|
-
protected loading: boolean;
|
|
11
|
-
get isDisabled(): boolean;
|
|
12
|
-
get isLoading(): boolean;
|
|
13
|
-
constructor(toaster: IToasterService);
|
|
14
|
-
protected getMethod(): AsyncMethod;
|
|
15
|
-
click(ev: Event): void;
|
|
16
|
-
callMethod(): boolean;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncMethodBase, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AsyncMethodBase, "[__asmb__]", never, { "disabled": "disabled"; "context": "context"; }, { "onSuccess": "onSuccess"; "onError": "onError"; }, never>;
|
|
19
|
-
}
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { AsyncMethod, IAsyncMessage, IToasterService } from "../common-types";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AsyncMethodBase {
|
|
5
|
+
protected toaster: IToasterService;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
context: any;
|
|
8
|
+
onSuccess: EventEmitter<IAsyncMessage>;
|
|
9
|
+
onError: EventEmitter<IAsyncMessage>;
|
|
10
|
+
protected loading: boolean;
|
|
11
|
+
get isDisabled(): boolean;
|
|
12
|
+
get isLoading(): boolean;
|
|
13
|
+
constructor(toaster: IToasterService);
|
|
14
|
+
protected getMethod(): AsyncMethod;
|
|
15
|
+
click(ev: Event): void;
|
|
16
|
+
callMethod(): boolean;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncMethodBase, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AsyncMethodBase, "[__asmb__]", never, { "disabled": { "alias": "disabled"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "onSuccess": "onSuccess"; "onError": "onError"; }, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AsyncMethod } from "../common-types";
|
|
2
|
-
import { AsyncMethodBase } from "./async-method.base";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AsyncMethodDirective extends AsyncMethodBase {
|
|
5
|
-
method: AsyncMethod;
|
|
6
|
-
protected getMethod(): AsyncMethod;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncMethodDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AsyncMethodDirective, "[async-method]", ["async-method"], { "method": "async-method"; }, {}, never>;
|
|
9
|
-
}
|
|
1
|
+
import { AsyncMethod } from "../common-types";
|
|
2
|
+
import { AsyncMethodBase } from "./async-method.base";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AsyncMethodDirective extends AsyncMethodBase {
|
|
5
|
+
method: AsyncMethod;
|
|
6
|
+
protected getMethod(): AsyncMethod;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncMethodDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AsyncMethodDirective, "[async-method]", ["async-method"], { "method": { "alias": "async-method"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, Renderer2, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { HttpClient } from "@angular/common/http";
|
|
3
|
-
import { UniversalService } from "../services/universal.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BackgroundDirective implements OnChanges {
|
|
6
|
-
private http;
|
|
7
|
-
private element;
|
|
8
|
-
private renderer;
|
|
9
|
-
private universal;
|
|
10
|
-
background: string;
|
|
11
|
-
backgroundSize: string;
|
|
12
|
-
constructor(http: HttpClient, element: ElementRef, renderer: Renderer2, universal: UniversalService);
|
|
13
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
-
private setBackground;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[background]", never, { "background": "background"; "backgroundSize": "backgroundSize"; }, {}, never>;
|
|
17
|
-
}
|
|
1
|
+
import { ElementRef, OnChanges, Renderer2, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { HttpClient } from "@angular/common/http";
|
|
3
|
+
import { UniversalService } from "../services/universal.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BackgroundDirective implements OnChanges {
|
|
6
|
+
private http;
|
|
7
|
+
private element;
|
|
8
|
+
private renderer;
|
|
9
|
+
private universal;
|
|
10
|
+
background: string;
|
|
11
|
+
backgroundSize: string;
|
|
12
|
+
constructor(http: HttpClient, element: ElementRef, renderer: Renderer2, universal: UniversalService);
|
|
13
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
+
private setBackground;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[background]", never, { "background": { "alias": "background"; "required": false; }; "backgroundSize": { "alias": "backgroundSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TemplateRef } from "@angular/core";
|
|
2
|
-
import { ITableTemplate } from "../common-types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DynamicTableTemplateDirective implements ITableTemplate {
|
|
5
|
-
ref: TemplateRef<any>;
|
|
6
|
-
column: string | string[];
|
|
7
|
-
pure: boolean;
|
|
8
|
-
constructor(ref: TemplateRef<any>);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableTemplateDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicTableTemplateDirective, "ng-template[column]", never, { "column": "column"; "pure": "pure"; }, {}, never>;
|
|
11
|
-
}
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
2
|
+
import { ITableTemplate } from "../common-types";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DynamicTableTemplateDirective implements ITableTemplate {
|
|
5
|
+
ref: TemplateRef<any>;
|
|
6
|
+
column: string | string[];
|
|
7
|
+
pure: boolean;
|
|
8
|
+
constructor(ref: TemplateRef<any>);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableTemplateDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicTableTemplateDirective, "ng-template[column]", never, { "column": { "alias": "column"; "required": false; }; "pure": { "alias": "pure"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnDestroy, OnInit, TemplateRef } from "@angular/core";
|
|
2
|
-
import { IGlobalTemplates } from "../common-types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GlobalTemplateDirective implements OnInit, OnDestroy {
|
|
5
|
-
readonly globalTemplates: IGlobalTemplates;
|
|
6
|
-
readonly template: TemplateRef<any>;
|
|
7
|
-
id: string;
|
|
8
|
-
constructor(globalTemplates: IGlobalTemplates, template: TemplateRef<any>);
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalTemplateDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GlobalTemplateDirective, "[globalTemplate]", never, { "id": "globalTemplate"; }, {}, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef } from "@angular/core";
|
|
2
|
+
import { IGlobalTemplates } from "../common-types";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GlobalTemplateDirective implements OnInit, OnDestroy {
|
|
5
|
+
readonly globalTemplates: IGlobalTemplates;
|
|
6
|
+
readonly template: TemplateRef<any>;
|
|
7
|
+
id: string;
|
|
8
|
+
constructor(globalTemplates: IGlobalTemplates, template: TemplateRef<any>);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalTemplateDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GlobalTemplateDirective, "[globalTemplate]", never, { "id": { "alias": "globalTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { Subscription } from "rxjs";
|
|
3
|
-
import { IIconService } from "../common-types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IconDirective implements OnChanges, OnInit, OnDestroy {
|
|
6
|
-
private element;
|
|
7
|
-
private renderer;
|
|
8
|
-
private icons;
|
|
9
|
-
icon: string;
|
|
10
|
-
activeIcon: string;
|
|
11
|
-
active: boolean;
|
|
12
|
-
activeChange: EventEmitter<boolean>;
|
|
13
|
-
get isActive(): boolean;
|
|
14
|
-
protected iconsLoaded: Subscription;
|
|
15
|
-
constructor(element: ElementRef, renderer: Renderer2, icons: IIconService);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
-
click(): void;
|
|
20
|
-
private changeIcon;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "[icon]", never, { "icon": "icon"; "activeIcon": "activeIcon"; "active": "active"; }, { "activeChange": "activeChange"; }, never>;
|
|
23
|
-
}
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { Subscription } from "rxjs";
|
|
3
|
+
import { IIconService } from "../common-types";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IconDirective implements OnChanges, OnInit, OnDestroy {
|
|
6
|
+
private element;
|
|
7
|
+
private renderer;
|
|
8
|
+
private icons;
|
|
9
|
+
icon: string;
|
|
10
|
+
activeIcon: string;
|
|
11
|
+
active: boolean;
|
|
12
|
+
activeChange: EventEmitter<boolean>;
|
|
13
|
+
get isActive(): boolean;
|
|
14
|
+
protected iconsLoaded: Subscription;
|
|
15
|
+
constructor(element: ElementRef, renderer: Renderer2, icons: IIconService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
click(): void;
|
|
20
|
+
private changeIcon;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "[icon]", never, { "icon": { "alias": "icon"; "required": false; }; "activeIcon": { "alias": "activeIcon"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, { "activeChange": "activeChange"; }, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { DoCheck, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NgxTemplateOutletDirective implements OnChanges, DoCheck {
|
|
4
|
-
private _viewContainerRef;
|
|
5
|
-
private viewRef;
|
|
6
|
-
context: Object;
|
|
7
|
-
additionalContext: Object;
|
|
8
|
-
ngxTemplateOutlet: TemplateRef<any>;
|
|
9
|
-
private static hasContextShapeChanged;
|
|
10
|
-
constructor(_viewContainerRef: ViewContainerRef);
|
|
11
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
-
ngDoCheck(): void;
|
|
13
|
-
private shouldRecreateView;
|
|
14
|
-
private updateExistingContext;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgxTemplateOutletDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxTemplateOutletDirective, "[ngxTemplateOutlet]", never, { "context": "context"; "additionalContext": "additionalContext"; "ngxTemplateOutlet": "ngxTemplateOutlet"; }, {}, never>;
|
|
17
|
-
}
|
|
1
|
+
import { DoCheck, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NgxTemplateOutletDirective implements OnChanges, DoCheck {
|
|
4
|
+
private _viewContainerRef;
|
|
5
|
+
private viewRef;
|
|
6
|
+
context: Object;
|
|
7
|
+
additionalContext: Object;
|
|
8
|
+
ngxTemplateOutlet: TemplateRef<any>;
|
|
9
|
+
private static hasContextShapeChanged;
|
|
10
|
+
constructor(_viewContainerRef: ViewContainerRef);
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
ngDoCheck(): void;
|
|
13
|
+
private shouldRecreateView;
|
|
14
|
+
private updateExistingContext;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxTemplateOutletDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxTemplateOutletDirective, "[ngxTemplateOutlet]", never, { "context": { "alias": "context"; "required": false; }; "additionalContext": { "alias": "additionalContext"; "required": false; }; "ngxTemplateOutlet": { "alias": "ngxTemplateOutlet"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
-
import { PaginationDirective } from "./pagination.directive";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PaginationItemDirective implements OnInit, OnDestroy {
|
|
5
|
-
private pagination;
|
|
6
|
-
private viewContainer;
|
|
7
|
-
private templateRef;
|
|
8
|
-
private onRefresh;
|
|
9
|
-
constructor(pagination: PaginationDirective, viewContainer: ViewContainerRef, templateRef: TemplateRef<any>);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
private renderView;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationItemDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationItemDirective, "[paginationItem]", never, {}, {}, never>;
|
|
15
|
-
}
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { PaginationDirective } from "./pagination.directive";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PaginationItemDirective implements OnInit, OnDestroy {
|
|
5
|
+
private pagination;
|
|
6
|
+
private viewContainer;
|
|
7
|
+
private templateRef;
|
|
8
|
+
private onRefresh;
|
|
9
|
+
constructor(pagination: PaginationDirective, viewContainer: ViewContainerRef, templateRef: TemplateRef<any>);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
private renderView;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationItemDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationItemDirective, "[paginationItem]", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { EventEmitter, NgZone, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { PaginationDataLoader } from "../common-types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PaginationDirective implements OnChanges {
|
|
5
|
-
private zone;
|
|
6
|
-
get total(): number;
|
|
7
|
-
get items(): any[];
|
|
8
|
-
loader: PaginationDataLoader;
|
|
9
|
-
page: number;
|
|
10
|
-
itemsPerPage: number;
|
|
11
|
-
updateTime: number;
|
|
12
|
-
waitFor: Promise<any>;
|
|
13
|
-
pageChange: EventEmitter<number>;
|
|
14
|
-
onRefresh: EventEmitter<PaginationDirective>;
|
|
15
|
-
maxPage: number;
|
|
16
|
-
private data;
|
|
17
|
-
private updateTimer;
|
|
18
|
-
constructor(zone: NgZone);
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
refresh(time?: number): void;
|
|
21
|
-
paginate(page: number): void;
|
|
22
|
-
private loadData;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationDirective, "[pagination]", ["pagination"], { "loader": "pagination"; "page": "page"; "itemsPerPage": "itemsPerPage"; "updateTime": "updateTime"; "waitFor": "waitFor"; }, { "pageChange": "pageChange"; "onRefresh": "onRefresh"; }, never>;
|
|
25
|
-
}
|
|
1
|
+
import { EventEmitter, NgZone, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { PaginationDataLoader } from "../common-types";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PaginationDirective implements OnChanges {
|
|
5
|
+
private zone;
|
|
6
|
+
get total(): number;
|
|
7
|
+
get items(): any[];
|
|
8
|
+
loader: PaginationDataLoader;
|
|
9
|
+
page: number;
|
|
10
|
+
itemsPerPage: number;
|
|
11
|
+
updateTime: number;
|
|
12
|
+
waitFor: Promise<any>;
|
|
13
|
+
pageChange: EventEmitter<number>;
|
|
14
|
+
onRefresh: EventEmitter<PaginationDirective>;
|
|
15
|
+
maxPage: number;
|
|
16
|
+
private data;
|
|
17
|
+
private updateTimer;
|
|
18
|
+
constructor(zone: NgZone);
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
+
refresh(time?: number): void;
|
|
21
|
+
paginate(page: number): void;
|
|
22
|
+
private loadData;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationDirective, "[pagination]", ["pagination"], { "loader": { "alias": "pagination"; "required": false; }; "page": { "alias": "page"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "updateTime": { "alias": "updateTime"; "required": false; }; "waitFor": { "alias": "waitFor"; "required": false; }; }, { "pageChange": "pageChange"; "onRefresh": "onRefresh"; }, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ViewContainerRef, TemplateRef } from "@angular/core";
|
|
2
|
-
import { HttpClient } from "@angular/common/http";
|
|
3
|
-
import { UniversalService } from "../services/universal.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ResourceIfDirective {
|
|
6
|
-
private http;
|
|
7
|
-
private viewContainer;
|
|
8
|
-
private templateRef;
|
|
9
|
-
private universal;
|
|
10
|
-
private context;
|
|
11
|
-
private resource;
|
|
12
|
-
set resourceIf(resource: string);
|
|
13
|
-
get resourceIf(): string;
|
|
14
|
-
get url(): string;
|
|
15
|
-
constructor(http: HttpClient, viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, universal: UniversalService);
|
|
16
|
-
private renderView;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceIfDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ResourceIfDirective, "[resourceIf]", ["resourceIf"], { "resourceIf": "resourceIf"; }, {}, never>;
|
|
19
|
-
}
|
|
1
|
+
import { ViewContainerRef, TemplateRef } from "@angular/core";
|
|
2
|
+
import { HttpClient } from "@angular/common/http";
|
|
3
|
+
import { UniversalService } from "../services/universal.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ResourceIfDirective {
|
|
6
|
+
private http;
|
|
7
|
+
private viewContainer;
|
|
8
|
+
private templateRef;
|
|
9
|
+
private universal;
|
|
10
|
+
private context;
|
|
11
|
+
private resource;
|
|
12
|
+
set resourceIf(resource: string);
|
|
13
|
+
get resourceIf(): string;
|
|
14
|
+
get url(): string;
|
|
15
|
+
constructor(http: HttpClient, viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, universal: UniversalService);
|
|
16
|
+
private renderView;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceIfDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResourceIfDirective, "[resourceIf]", ["resourceIf"], { "resourceIf": { "alias": "resourceIf"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, Renderer2 } from "@angular/core";
|
|
2
|
-
import { EventsService } from "../services/events.service";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class StickyClassDirective implements OnInit, OnDestroy {
|
|
5
|
-
private events;
|
|
6
|
-
private element;
|
|
7
|
-
private renderer;
|
|
8
|
-
stickyClass: string;
|
|
9
|
-
private stickyUpdated;
|
|
10
|
-
constructor(events: EventsService, element: ElementRef, renderer: Renderer2);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StickyClassDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StickyClassDirective, "[stickyClass]", never, { "stickyClass": "stickyClass"; }, {}, never>;
|
|
15
|
-
}
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, Renderer2 } from "@angular/core";
|
|
2
|
+
import { EventsService } from "../services/events.service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StickyClassDirective implements OnInit, OnDestroy {
|
|
5
|
+
private events;
|
|
6
|
+
private element;
|
|
7
|
+
private renderer;
|
|
8
|
+
stickyClass: string;
|
|
9
|
+
private stickyUpdated;
|
|
10
|
+
constructor(events: EventsService, element: ElementRef, renderer: Renderer2);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StickyClassDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StickyClassDirective, "[stickyClass]", never, { "stickyClass": { "alias": "stickyClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
}
|