ngx-vector-components 4.96.0 → 4.96.1
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/CHANGELOG.md +1233 -1227
- package/README.md +35 -35
- package/assets/icons/chevron_down_icon.svg +3 -3
- package/assets/icons/home_menu_icon.svg +3 -3
- package/assets/icons/logout_icon.svg +9 -9
- package/assets/icons/menu_footer_icon.svg +3 -3
- package/assets/icons/menu_hamburguer_icon.svg +3 -3
- package/assets/icons/terms_of_use_icon.svg +9 -9
- package/assets/icons/vector_admin_icon.svg +4 -4
- package/assets/icons/vector_fintech_icon.svg +3 -3
- package/assets/icons/vector_logtech_icon.svg +6 -6
- package/assets/icons/vector_marketplace_icon.svg +3 -3
- package/assets/images/bunge_logo.svg +23 -23
- package/assets/images/cofco_logo.svg +117 -117
- package/assets/images/emote_bad.svg +6 -6
- package/assets/images/emote_cool.svg +5 -5
- package/assets/images/emote_nice.svg +5 -5
- package/assets/images/success_sign.svg +4 -4
- package/assets/images/vector-logo-horizontal-inverse-color.svg +13 -13
- package/assets/images/vector_logo_horizontal.svg +13 -13
- package/assets/images/warn_sign.svg +4 -4
- package/assets/styles/_fonts.scss +114 -114
- package/assets/styles/_mixins.scss +7 -7
- package/assets/styles/_primeng-custom-theme.scss +982 -982
- package/assets/styles/_spinner.scss +35 -35
- package/assets/styles/_styles.scss +115 -115
- package/assets/styles/_variables.scss +27 -27
- package/esm2020/lib/components/badge/badge.component.mjs +39 -39
- package/esm2020/lib/components/badge/badge.module.mjs +19 -19
- package/esm2020/lib/components/badge/index.mjs +3 -3
- package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +66 -66
- package/esm2020/lib/components/breadcrumb/breadcrumb.module.mjs +18 -18
- package/esm2020/lib/components/breadcrumb/index.mjs +3 -3
- package/esm2020/lib/components/crud-base/crud-base.component.mjs +47 -47
- package/esm2020/lib/components/crud-base/index.mjs +2 -2
- package/esm2020/lib/components/crud-footer/crud-footer.component.mjs +32 -32
- package/esm2020/lib/components/crud-footer/crud-footer.module.mjs +20 -20
- package/esm2020/lib/components/crud-footer/index.mjs +3 -3
- package/esm2020/lib/components/crud-header/crud-header.component.mjs +30 -30
- package/esm2020/lib/components/crud-header/crud-header.module.mjs +19 -19
- package/esm2020/lib/components/crud-header/index.mjs +3 -3
- package/esm2020/lib/components/crud-history/crud-history.component.mjs +82 -82
- package/esm2020/lib/components/crud-history/crud-history.module.mjs +20 -20
- package/esm2020/lib/components/crud-history/index.mjs +3 -3
- package/esm2020/lib/components/fields/button/button.component.mjs +41 -41
- package/esm2020/lib/components/fields/button/index.mjs +2 -2
- package/esm2020/lib/components/fields/calendar-field/calendar-field.component.mjs +74 -74
- package/esm2020/lib/components/fields/calendar-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/checkbox-field/checkbox-field.component.mjs +46 -46
- package/esm2020/lib/components/fields/checkbox-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/currency-field/currency-field.component.mjs +98 -98
- package/esm2020/lib/components/fields/currency-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/data-table/data-table.component.mjs +386 -386
- package/esm2020/lib/components/fields/data-table/index.mjs +2 -2
- package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +204 -204
- package/esm2020/lib/components/fields/dropdown-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/field-error-message/field-error-message.component.mjs +30 -30
- package/esm2020/lib/components/fields/field-error-message/index.mjs +2 -2
- package/esm2020/lib/components/fields/fields.module.mjs +213 -213
- package/esm2020/lib/components/fields/filters/filters.component.mjs +203 -203
- package/esm2020/lib/components/fields/filters/index.mjs +2 -2
- package/esm2020/lib/components/fields/index.mjs +19 -19
- package/esm2020/lib/components/fields/input-number-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/input-number-field/input-number-field.component.mjs +85 -85
- package/esm2020/lib/components/fields/multiselect-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/multiselect-field/multiselect-field.component.mjs +50 -50
- package/esm2020/lib/components/fields/percentage-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/percentage-field/percentage-field.component.mjs +42 -42
- package/esm2020/lib/components/fields/radio-button-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/radio-button-field/radio-button-field.component.mjs +48 -48
- package/esm2020/lib/components/fields/range-value/index.mjs +2 -2
- package/esm2020/lib/components/fields/range-value/range-value.component.mjs +72 -72
- package/esm2020/lib/components/fields/search-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/search-field/search-field.component.mjs +33 -33
- package/esm2020/lib/components/fields/select-button-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/select-button-field/select-button-field.component.mjs +20 -20
- package/esm2020/lib/components/fields/text-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/text-field/text-field.component.mjs +232 -232
- package/esm2020/lib/components/fields/textarea-field/index.mjs +2 -2
- package/esm2020/lib/components/fields/textarea-field/textarea-field.component.mjs +81 -81
- package/esm2020/lib/components/generic-error-modal/generic-error-modal.component.mjs +36 -36
- package/esm2020/lib/components/generic-error-modal/generic-error-modal.module.mjs +20 -20
- package/esm2020/lib/components/generic-error-modal/index.mjs +3 -3
- package/esm2020/lib/components/generic-modal/generic-modal.component.mjs +66 -66
- package/esm2020/lib/components/generic-modal/generic-modal.module.mjs +20 -20
- package/esm2020/lib/components/generic-modal/index.mjs +3 -3
- package/esm2020/lib/components/index.mjs +14 -14
- package/esm2020/lib/components/menu/index.mjs +4 -4
- package/esm2020/lib/components/menu/menu.component.mjs +305 -305
- package/esm2020/lib/components/menu/menu.module.mjs +20 -20
- package/esm2020/lib/components/menu/sub-menus-list/sub-menus-list.component.mjs +42 -42
- package/esm2020/lib/components/panel/index.mjs +3 -3
- package/esm2020/lib/components/panel/panel.component.mjs +15 -15
- package/esm2020/lib/components/panel/panel.module.mjs +19 -19
- package/esm2020/lib/components/score/index.mjs +3 -3
- package/esm2020/lib/components/score/score.component.mjs +17 -17
- package/esm2020/lib/components/score/score.module.mjs +16 -16
- package/esm2020/lib/components/top-bar/index.mjs +3 -3
- package/esm2020/lib/components/top-bar/top-bar.component.mjs +142 -142
- package/esm2020/lib/components/top-bar/top-bar.module.mjs +20 -20
- package/esm2020/lib/guards/crud-list-has-items.guard.mjs +22 -22
- package/esm2020/lib/guards/get-token-by-guid.guard.mjs +54 -54
- package/esm2020/lib/guards/has-permission.guard.mjs +27 -27
- package/esm2020/lib/guards/index.mjs +6 -6
- package/esm2020/lib/guards/role.guard.mjs +24 -24
- package/esm2020/lib/guards/token-is-present.guard.mjs +26 -26
- package/esm2020/lib/interceptors/http-interceptor.mjs +185 -185
- package/esm2020/lib/interceptors/index.mjs +2 -2
- package/esm2020/lib/models/app-name.enum.mjs +10 -10
- package/esm2020/lib/models/boolean-type.enum.mjs +6 -6
- package/esm2020/lib/models/crud-history.model.mjs +3 -3
- package/esm2020/lib/models/crud-mode.enum.mjs +7 -7
- package/esm2020/lib/models/currency.enum.mjs +7 -7
- package/esm2020/lib/models/data-table.model.mjs +23 -23
- package/esm2020/lib/models/document-type.enum.mjs +6 -6
- package/esm2020/lib/models/filters.model.mjs +2 -2
- package/esm2020/lib/models/generic-modal.model.mjs +2 -2
- package/esm2020/lib/models/http-response.model.mjs +2 -2
- package/esm2020/lib/models/index.mjs +18 -18
- package/esm2020/lib/models/ip-info.enum.mjs +2 -2
- package/esm2020/lib/models/list-item.model.mjs +2 -2
- package/esm2020/lib/models/locale.enum.mjs +7 -7
- package/esm2020/lib/models/menu-item.model.mjs +2 -2
- package/esm2020/lib/models/message-status.enum.mjs +8 -8
- package/esm2020/lib/models/profile.model.mjs +271 -271
- package/esm2020/lib/models/role.enum.mjs +5 -5
- package/esm2020/lib/models/status.enum.mjs +8 -8
- package/esm2020/lib/models/topbar.model.mjs +2 -2
- package/esm2020/lib/models/vector-app.model.mjs +2 -2
- package/esm2020/lib/models/vector-notification.model.mjs +2 -2
- package/esm2020/lib/models/view.enum.mjs +7 -7
- package/esm2020/lib/pipes/currency-brl.pipe.mjs +18 -18
- package/esm2020/lib/pipes/format-document.pipe.mjs +17 -17
- package/esm2020/lib/pipes/index.mjs +9 -9
- package/esm2020/lib/pipes/mask.pipe.mjs +21 -21
- package/esm2020/lib/pipes/not-hidden.pipe.mjs +16 -16
- package/esm2020/lib/pipes/only-active.pipe.mjs +16 -16
- package/esm2020/lib/pipes/pipes.module.mjs +50 -50
- package/esm2020/lib/pipes/remove-last-child.pipe.mjs +18 -18
- package/esm2020/lib/pipes/unread-notifications.pipe.mjs +15 -15
- package/esm2020/lib/resolvers/get-selected-crud-item.resolver.mjs +28 -28
- package/esm2020/lib/resolvers/index.mjs +2 -2
- package/esm2020/lib/services/auth.service.mjs +77 -77
- package/esm2020/lib/services/base-dropdown.mjs +2 -2
- package/esm2020/lib/services/crud-base.service.mjs +14 -14
- package/esm2020/lib/services/enum.service.mjs +43 -43
- package/esm2020/lib/services/error-message.service.mjs +16 -16
- package/esm2020/lib/services/geolocation.service.mjs +23 -23
- package/esm2020/lib/services/index.mjs +13 -13
- package/esm2020/lib/services/loading.service.mjs +15 -15
- package/esm2020/lib/services/menu.service.mjs +152 -152
- package/esm2020/lib/services/modal.service.mjs +15 -15
- package/esm2020/lib/services/notifications.service.mjs +64 -64
- package/esm2020/lib/services/profile.service.mjs +103 -103
- package/esm2020/lib/services/storage.service.mjs +108 -108
- package/esm2020/lib/shared/shared.module.mjs +19 -19
- package/esm2020/lib/utils/cpf-cnpj-validator.util.mjs +116 -116
- package/esm2020/lib/utils/file.util.mjs +15 -15
- package/esm2020/lib/utils/index.mjs +8 -8
- package/esm2020/lib/utils/mask.util.mjs +76 -76
- package/esm2020/lib/utils/object.util.mjs +27 -27
- package/esm2020/lib/utils/string.util.mjs +16 -16
- package/esm2020/lib/utils/validation.util.mjs +234 -234
- package/esm2020/lib/utils/window.util.mjs +9 -9
- package/esm2020/ngx-vector-components.mjs +4 -4
- package/esm2020/public-api.mjs +9 -9
- package/fesm2015/ngx-vector-components.mjs +4562 -4562
- package/fesm2015/ngx-vector-components.mjs.map +1 -1
- package/fesm2020/ngx-vector-components.mjs +4540 -4540
- package/fesm2020/ngx-vector-components.mjs.map +1 -1
- package/lib/components/badge/badge.component.d.ts +15 -15
- package/lib/components/badge/badge.module.d.ts +9 -9
- package/lib/components/badge/index.d.ts +2 -2
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +19 -19
- package/lib/components/breadcrumb/breadcrumb.module.d.ts +8 -8
- package/lib/components/breadcrumb/index.d.ts +2 -2
- package/lib/components/crud-base/crud-base.component.d.ts +20 -20
- package/lib/components/crud-base/index.d.ts +1 -1
- package/lib/components/crud-footer/crud-footer.component.d.ts +13 -13
- package/lib/components/crud-footer/crud-footer.module.d.ts +10 -10
- package/lib/components/crud-footer/index.d.ts +2 -2
- package/lib/components/crud-header/crud-header.component.d.ts +11 -11
- package/lib/components/crud-header/crud-header.module.d.ts +9 -9
- package/lib/components/crud-header/index.d.ts +2 -2
- package/lib/components/crud-history/crud-history.component.d.ts +12 -12
- package/lib/components/crud-history/crud-history.module.d.ts +10 -10
- package/lib/components/crud-history/index.d.ts +2 -2
- package/lib/components/fields/button/button.component.d.ts +17 -17
- package/lib/components/fields/button/index.d.ts +1 -1
- package/lib/components/fields/calendar-field/calendar-field.component.d.ts +23 -23
- package/lib/components/fields/calendar-field/index.d.ts +1 -1
- package/lib/components/fields/checkbox-field/checkbox-field.component.d.ts +19 -19
- package/lib/components/fields/checkbox-field/index.d.ts +1 -1
- package/lib/components/fields/currency-field/currency-field.component.d.ts +32 -32
- package/lib/components/fields/currency-field/index.d.ts +1 -1
- package/lib/components/fields/data-table/data-table.component.d.ts +82 -82
- package/lib/components/fields/data-table/index.d.ts +1 -1
- package/lib/components/fields/dropdown-field/dropdown-field.component.d.ts +52 -52
- package/lib/components/fields/dropdown-field/index.d.ts +1 -1
- package/lib/components/fields/field-error-message/field-error-message.component.d.ts +10 -10
- package/lib/components/fields/field-error-message/index.d.ts +1 -1
- package/lib/components/fields/fields.module.d.ts +48 -48
- package/lib/components/fields/filters/filters.component.d.ts +63 -63
- package/lib/components/fields/filters/index.d.ts +1 -1
- package/lib/components/fields/index.d.ts +18 -18
- package/lib/components/fields/input-number-field/index.d.ts +1 -1
- package/lib/components/fields/input-number-field/input-number-field.component.d.ts +28 -28
- package/lib/components/fields/multiselect-field/index.d.ts +1 -1
- package/lib/components/fields/multiselect-field/multiselect-field.component.d.ts +16 -16
- package/lib/components/fields/percentage-field/index.d.ts +1 -1
- package/lib/components/fields/percentage-field/percentage-field.component.d.ts +16 -16
- package/lib/components/fields/radio-button-field/index.d.ts +1 -1
- package/lib/components/fields/radio-button-field/radio-button-field.component.d.ts +25 -25
- package/lib/components/fields/range-value/index.d.ts +1 -1
- package/lib/components/fields/range-value/range-value.component.d.ts +18 -18
- package/lib/components/fields/search-field/index.d.ts +1 -1
- package/lib/components/fields/search-field/search-field.component.d.ts +14 -14
- package/lib/components/fields/select-button-field/index.d.ts +1 -1
- package/lib/components/fields/select-button-field/select-button-field.component.d.ts +9 -9
- package/lib/components/fields/text-field/index.d.ts +1 -1
- package/lib/components/fields/text-field/text-field.component.d.ts +55 -55
- package/lib/components/fields/textarea-field/index.d.ts +1 -1
- package/lib/components/fields/textarea-field/textarea-field.component.d.ts +22 -22
- package/lib/components/generic-error-modal/generic-error-modal.component.d.ts +15 -15
- package/lib/components/generic-error-modal/generic-error-modal.module.d.ts +10 -10
- package/lib/components/generic-error-modal/index.d.ts +2 -2
- package/lib/components/generic-modal/generic-modal.component.d.ts +24 -24
- package/lib/components/generic-modal/generic-modal.module.d.ts +10 -10
- package/lib/components/generic-modal/index.d.ts +2 -2
- package/lib/components/index.d.ts +13 -13
- package/lib/components/menu/index.d.ts +3 -3
- package/lib/components/menu/menu.component.d.ts +53 -53
- package/lib/components/menu/menu.module.d.ts +10 -10
- package/lib/components/menu/sub-menus-list/sub-menus-list.component.d.ts +14 -14
- package/lib/components/panel/index.d.ts +2 -2
- package/lib/components/panel/panel.component.d.ts +8 -8
- package/lib/components/panel/panel.module.d.ts +9 -9
- package/lib/components/score/index.d.ts +2 -2
- package/lib/components/score/score.component.d.ts +9 -9
- package/lib/components/score/score.module.d.ts +7 -7
- package/lib/components/top-bar/index.d.ts +2 -2
- package/lib/components/top-bar/top-bar.component.d.ts +48 -48
- package/lib/components/top-bar/top-bar.module.d.ts +10 -10
- package/lib/guards/crud-list-has-items.guard.d.ts +10 -10
- package/lib/guards/get-token-by-guid.guard.d.ts +15 -15
- package/lib/guards/has-permission.guard.d.ts +13 -13
- package/lib/guards/index.d.ts +5 -5
- package/lib/guards/role.guard.d.ts +11 -11
- package/lib/guards/token-is-present.guard.d.ts +11 -11
- package/lib/interceptors/http-interceptor.d.ts +31 -31
- package/lib/interceptors/index.d.ts +1 -1
- package/lib/models/app-name.enum.d.ts +8 -8
- package/lib/models/boolean-type.enum.d.ts +4 -4
- package/lib/models/crud-history.model.d.ts +13 -13
- package/lib/models/crud-mode.enum.d.ts +5 -5
- package/lib/models/currency.enum.d.ts +5 -5
- package/lib/models/data-table.model.d.ts +65 -65
- package/lib/models/document-type.enum.d.ts +4 -4
- package/lib/models/filters.model.d.ts +4 -4
- package/lib/models/generic-modal.model.d.ts +12 -13
- package/lib/models/http-response.model.d.ts +48 -48
- package/lib/models/index.d.ts +17 -17
- package/lib/models/ip-info.enum.d.ts +6 -6
- package/lib/models/list-item.model.d.ts +7 -7
- package/lib/models/locale.enum.d.ts +5 -5
- package/lib/models/menu-item.model.d.ts +16 -16
- package/lib/models/message-status.enum.d.ts +6 -6
- package/lib/models/profile.model.d.ts +292 -292
- package/lib/models/role.enum.d.ts +3 -3
- package/lib/models/status.enum.d.ts +6 -6
- package/lib/models/topbar.model.d.ts +5 -5
- package/lib/models/vector-app.model.d.ts +9 -9
- package/lib/models/vector-notification.model.d.ts +8 -8
- package/lib/models/view.enum.d.ts +5 -5
- package/lib/pipes/currency-brl.pipe.d.ts +7 -7
- package/lib/pipes/format-document.pipe.d.ts +7 -7
- package/lib/pipes/index.d.ts +8 -8
- package/lib/pipes/mask.pipe.d.ts +7 -7
- package/lib/pipes/not-hidden.pipe.d.ts +7 -7
- package/lib/pipes/only-active.pipe.d.ts +7 -7
- package/lib/pipes/pipes.module.d.ts +13 -13
- package/lib/pipes/remove-last-child.pipe.d.ts +7 -7
- package/lib/pipes/unread-notifications.pipe.d.ts +9 -9
- package/lib/resolvers/get-selected-crud-item.resolver.d.ts +10 -10
- package/lib/resolvers/index.d.ts +1 -1
- package/lib/services/auth.service.d.ts +24 -24
- package/lib/services/base-dropdown.d.ts +7 -7
- package/lib/services/crud-base.service.d.ts +7 -7
- package/lib/services/enum.service.d.ts +13 -13
- package/lib/services/error-message.service.d.ts +8 -8
- package/lib/services/geolocation.service.d.ts +13 -13
- package/lib/services/index.d.ts +12 -12
- package/lib/services/loading.service.d.ts +7 -7
- package/lib/services/menu.service.d.ts +35 -35
- package/lib/services/modal.service.d.ts +7 -7
- package/lib/services/notifications.service.d.ts +13 -13
- package/lib/services/profile.service.d.ts +26 -26
- package/lib/services/storage.service.d.ts +43 -43
- package/lib/shared/shared.module.d.ts +10 -10
- package/lib/utils/cpf-cnpj-validator.util.d.ts +5 -5
- package/lib/utils/file.util.d.ts +4 -4
- package/lib/utils/index.d.ts +7 -7
- package/lib/utils/mask.util.d.ts +21 -21
- package/lib/utils/object.util.d.ts +5 -5
- package/lib/utils/string.util.d.ts +4 -4
- package/lib/utils/validation.util.d.ts +17 -17
- package/lib/utils/window.util.d.ts +4 -4
- package/ngx-vector-components.d.ts +5 -5
- package/package.json +1 -1
- package/public-api.d.ts +8 -8
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { FilterChangedEvent, ListItem } from '../../../models';
|
|
3
|
-
import { DataTableLazyLoadEvent, TableColumn } from '../../../models/data-table.model';
|
|
4
|
-
import { FilterField, FiltersComponent } from '../filters/filters.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DataTableComponent implements OnInit, OnDestroy {
|
|
7
|
-
cd: ChangeDetectorRef;
|
|
8
|
-
columns: TableColumn[];
|
|
9
|
-
set data(_data: any[]);
|
|
10
|
-
get data(): any[];
|
|
11
|
-
private _data;
|
|
12
|
-
exportExcel: boolean;
|
|
13
|
-
exportPDF: boolean;
|
|
14
|
-
totalRecords: number;
|
|
15
|
-
disabledHeadercheckbox: boolean;
|
|
16
|
-
filters: FilterField[];
|
|
17
|
-
addItemLabel: string;
|
|
18
|
-
pagination: boolean;
|
|
19
|
-
virtualPagination: boolean;
|
|
20
|
-
set tabs(_tabs: ListItem[]);
|
|
21
|
-
customButtons: {
|
|
22
|
-
label: string;
|
|
23
|
-
clickFunction: Function;
|
|
24
|
-
}[] | undefined;
|
|
25
|
-
addItemButtonPlusSign: boolean;
|
|
26
|
-
hasActions: boolean;
|
|
27
|
-
hasExpandableIcon: boolean;
|
|
28
|
-
addNameColumnExpand: string;
|
|
29
|
-
expandable: boolean;
|
|
30
|
-
expansionTemplate: TemplateRef<any> | null;
|
|
31
|
-
set selectionMode(_selectionMode: "multiple" | "single" | null);
|
|
32
|
-
selectionType: 'checkbox' | 'radiobutton' | null;
|
|
33
|
-
set height(_height: string);
|
|
34
|
-
onLazyLoad: EventEmitter<DataTableLazyLoadEvent>;
|
|
35
|
-
onFilter: EventEmitter<any>;
|
|
36
|
-
onAdd: EventEmitter<void>;
|
|
37
|
-
onExportExcel: EventEmitter<void>;
|
|
38
|
-
onExportPDF: EventEmitter<void>;
|
|
39
|
-
onSelectedRows: EventEmitter<any>;
|
|
40
|
-
onFilterChanged: EventEmitter<FilterChangedEvent>;
|
|
41
|
-
onTabSelected: EventEmitter<ListItem>;
|
|
42
|
-
onExpandRow: EventEmitter<any>;
|
|
43
|
-
filtersComponent: FiltersComponent | undefined;
|
|
44
|
-
selectedItems: any;
|
|
45
|
-
get tabs(): ListItem[];
|
|
46
|
-
get height(): string;
|
|
47
|
-
get selectionMode(): "multiple" | "single" | null;
|
|
48
|
-
private _selectionMode;
|
|
49
|
-
private _height;
|
|
50
|
-
private _tabs;
|
|
51
|
-
private _draw;
|
|
52
|
-
private _firstLazyLoadedDone;
|
|
53
|
-
private _lastLazyLoadEvent;
|
|
54
|
-
private _tabSelected;
|
|
55
|
-
private _filterSubscription;
|
|
56
|
-
constructor(cd: ChangeDetectorRef);
|
|
57
|
-
ngOnInit(): void;
|
|
58
|
-
ngOnDestroy(): void;
|
|
59
|
-
getColStyle(col: TableColumn): {
|
|
60
|
-
'min-width': string | undefined;
|
|
61
|
-
};
|
|
62
|
-
lazyLoaded(params?: {
|
|
63
|
-
filter: boolean;
|
|
64
|
-
data: any;
|
|
65
|
-
}): void;
|
|
66
|
-
getCellContent(item: any, col: TableColumn): string;
|
|
67
|
-
getCellText(item: any, col: TableColumn): any;
|
|
68
|
-
getTooltipText(item: any, col: TableColumn): any;
|
|
69
|
-
onTabChange($event: any): void;
|
|
70
|
-
subscribeToFilterChanges(): void;
|
|
71
|
-
onRowClick(item: any): void;
|
|
72
|
-
get listHasActions(): boolean;
|
|
73
|
-
changeSelectedItems(value: any): void;
|
|
74
|
-
isHtmlCell(col: TableColumn): boolean;
|
|
75
|
-
isBadgeCell(col: TableColumn): boolean | undefined;
|
|
76
|
-
isScoreCell(col: TableColumn): boolean;
|
|
77
|
-
onSelectionChange(selection: any): void;
|
|
78
|
-
private getStatusColor;
|
|
79
|
-
private getActiveStatusColor;
|
|
80
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "vector-data-table", never, { "columns": "columns"; "data": "data"; "exportExcel": "exportExcel"; "exportPDF": "exportPDF"; "totalRecords": "totalRecords"; "disabledHeadercheckbox": "disabledHeadercheckbox"; "filters": "filters"; "addItemLabel": "addItemLabel"; "pagination": "pagination"; "virtualPagination": "virtualPagination"; "tabs": "tabs"; "customButtons": "customButtons"; "addItemButtonPlusSign": "addItemButtonPlusSign"; "hasActions": "hasActions"; "hasExpandableIcon": "hasExpandableIcon"; "addNameColumnExpand": "addNameColumnExpand"; "expandable": "expandable"; "expansionTemplate": "expansionTemplate"; "selectionMode": "selectionMode"; "selectionType": "selectionType"; "height": "height"; }, { "onLazyLoad": "onLazyLoad"; "onFilter": "onFilter"; "onAdd": "onAdd"; "onExportExcel": "onExportExcel"; "onExportPDF": "onExportPDF"; "onSelectedRows": "onSelectedRows"; "onFilterChanged": "onFilterChanged"; "onTabSelected": "onTabSelected"; "onExpandRow": "onExpandRow"; }, never, never>;
|
|
82
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { FilterChangedEvent, ListItem } from '../../../models';
|
|
3
|
+
import { DataTableLazyLoadEvent, TableColumn } from '../../../models/data-table.model';
|
|
4
|
+
import { FilterField, FiltersComponent } from '../filters/filters.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DataTableComponent implements OnInit, OnDestroy {
|
|
7
|
+
cd: ChangeDetectorRef;
|
|
8
|
+
columns: TableColumn[];
|
|
9
|
+
set data(_data: any[]);
|
|
10
|
+
get data(): any[];
|
|
11
|
+
private _data;
|
|
12
|
+
exportExcel: boolean;
|
|
13
|
+
exportPDF: boolean;
|
|
14
|
+
totalRecords: number;
|
|
15
|
+
disabledHeadercheckbox: boolean;
|
|
16
|
+
filters: FilterField[];
|
|
17
|
+
addItemLabel: string;
|
|
18
|
+
pagination: boolean;
|
|
19
|
+
virtualPagination: boolean;
|
|
20
|
+
set tabs(_tabs: ListItem[]);
|
|
21
|
+
customButtons: {
|
|
22
|
+
label: string;
|
|
23
|
+
clickFunction: Function;
|
|
24
|
+
}[] | undefined;
|
|
25
|
+
addItemButtonPlusSign: boolean;
|
|
26
|
+
hasActions: boolean;
|
|
27
|
+
hasExpandableIcon: boolean;
|
|
28
|
+
addNameColumnExpand: string;
|
|
29
|
+
expandable: boolean;
|
|
30
|
+
expansionTemplate: TemplateRef<any> | null;
|
|
31
|
+
set selectionMode(_selectionMode: "multiple" | "single" | null);
|
|
32
|
+
selectionType: 'checkbox' | 'radiobutton' | null;
|
|
33
|
+
set height(_height: string);
|
|
34
|
+
onLazyLoad: EventEmitter<DataTableLazyLoadEvent>;
|
|
35
|
+
onFilter: EventEmitter<any>;
|
|
36
|
+
onAdd: EventEmitter<void>;
|
|
37
|
+
onExportExcel: EventEmitter<void>;
|
|
38
|
+
onExportPDF: EventEmitter<void>;
|
|
39
|
+
onSelectedRows: EventEmitter<any>;
|
|
40
|
+
onFilterChanged: EventEmitter<FilterChangedEvent>;
|
|
41
|
+
onTabSelected: EventEmitter<ListItem>;
|
|
42
|
+
onExpandRow: EventEmitter<any>;
|
|
43
|
+
filtersComponent: FiltersComponent | undefined;
|
|
44
|
+
selectedItems: any;
|
|
45
|
+
get tabs(): ListItem[];
|
|
46
|
+
get height(): string;
|
|
47
|
+
get selectionMode(): "multiple" | "single" | null;
|
|
48
|
+
private _selectionMode;
|
|
49
|
+
private _height;
|
|
50
|
+
private _tabs;
|
|
51
|
+
private _draw;
|
|
52
|
+
private _firstLazyLoadedDone;
|
|
53
|
+
private _lastLazyLoadEvent;
|
|
54
|
+
private _tabSelected;
|
|
55
|
+
private _filterSubscription;
|
|
56
|
+
constructor(cd: ChangeDetectorRef);
|
|
57
|
+
ngOnInit(): void;
|
|
58
|
+
ngOnDestroy(): void;
|
|
59
|
+
getColStyle(col: TableColumn): {
|
|
60
|
+
'min-width': string | undefined;
|
|
61
|
+
};
|
|
62
|
+
lazyLoaded(params?: {
|
|
63
|
+
filter: boolean;
|
|
64
|
+
data: any;
|
|
65
|
+
}): void;
|
|
66
|
+
getCellContent(item: any, col: TableColumn): string;
|
|
67
|
+
getCellText(item: any, col: TableColumn): any;
|
|
68
|
+
getTooltipText(item: any, col: TableColumn): any;
|
|
69
|
+
onTabChange($event: any): void;
|
|
70
|
+
subscribeToFilterChanges(): void;
|
|
71
|
+
onRowClick(item: any): void;
|
|
72
|
+
get listHasActions(): boolean;
|
|
73
|
+
changeSelectedItems(value: any): void;
|
|
74
|
+
isHtmlCell(col: TableColumn): boolean;
|
|
75
|
+
isBadgeCell(col: TableColumn): boolean | undefined;
|
|
76
|
+
isScoreCell(col: TableColumn): boolean;
|
|
77
|
+
onSelectionChange(selection: any): void;
|
|
78
|
+
private getStatusColor;
|
|
79
|
+
private getActiveStatusColor;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "vector-data-table", never, { "columns": "columns"; "data": "data"; "exportExcel": "exportExcel"; "exportPDF": "exportPDF"; "totalRecords": "totalRecords"; "disabledHeadercheckbox": "disabledHeadercheckbox"; "filters": "filters"; "addItemLabel": "addItemLabel"; "pagination": "pagination"; "virtualPagination": "virtualPagination"; "tabs": "tabs"; "customButtons": "customButtons"; "addItemButtonPlusSign": "addItemButtonPlusSign"; "hasActions": "hasActions"; "hasExpandableIcon": "hasExpandableIcon"; "addNameColumnExpand": "addNameColumnExpand"; "expandable": "expandable"; "expansionTemplate": "expansionTemplate"; "selectionMode": "selectionMode"; "selectionType": "selectionType"; "height": "height"; }, { "onLazyLoad": "onLazyLoad"; "onFilter": "onFilter"; "onAdd": "onAdd"; "onExportExcel": "onExportExcel"; "onExportPDF": "onExportPDF"; "onSelectedRows": "onSelectedRows"; "onFilterChanged": "onFilterChanged"; "onTabSelected": "onTabSelected"; "onExpandRow": "onExpandRow"; }, never, never>;
|
|
82
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './data-table.component';
|
|
1
|
+
export * from './data-table.component';
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ListItem } from '../../../models';
|
|
3
|
-
import { BaseDropdown } from '../../../services';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare type DropdownButtonAction = {
|
|
6
|
-
label: string;
|
|
7
|
-
onClick: (value: any) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare class DropdownFieldComponent implements OnInit, OnDestroy {
|
|
10
|
-
private renderer;
|
|
11
|
-
set options(_options: ListItem[]);
|
|
12
|
-
isNgContent: boolean;
|
|
13
|
-
isRequired: boolean | undefined;
|
|
14
|
-
set control(_control: any);
|
|
15
|
-
label: string;
|
|
16
|
-
service: BaseDropdown | undefined;
|
|
17
|
-
paged: boolean;
|
|
18
|
-
buttonAction: DropdownButtonAction | undefined;
|
|
19
|
-
dependencies: any;
|
|
20
|
-
hiddenErrorMessage: boolean;
|
|
21
|
-
dynamicFilters?: ListItem[];
|
|
22
|
-
minLengthToService: number;
|
|
23
|
-
initialLoad: boolean;
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
onFocus: EventEmitter<any>;
|
|
26
|
-
onChange: EventEmitter<any>;
|
|
27
|
-
get control(): any;
|
|
28
|
-
get options(): ListItem[];
|
|
29
|
-
get placeholder(): string;
|
|
30
|
-
pagedSuggestions: ListItem[];
|
|
31
|
-
unlistenAutocompleteVirtualScroll: () => void;
|
|
32
|
-
selectedDynamicFilter: any;
|
|
33
|
-
private _control;
|
|
34
|
-
private _options;
|
|
35
|
-
private currentScrollPage;
|
|
36
|
-
private currentScrollIndex;
|
|
37
|
-
private subscription;
|
|
38
|
-
private currentSearchQuery;
|
|
39
|
-
constructor(renderer: Renderer2);
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
ngOnDestroy(): void;
|
|
42
|
-
fieldErrorLabel(): string;
|
|
43
|
-
search($event?: any, forceSearch?: boolean): void;
|
|
44
|
-
onOpenAutocompletePanel(): void;
|
|
45
|
-
onHideAutocompletePanel(): void;
|
|
46
|
-
private pageResults;
|
|
47
|
-
private setControlValueFromSuggestions;
|
|
48
|
-
private handleSearchErrors;
|
|
49
|
-
private filterListByQuery;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFieldComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownFieldComponent, "vector-dropdown-field", never, { "options": "options"; "isNgContent": "isNgContent"; "isRequired": "isRequired"; "control": "control"; "label": "label"; "service": "service"; "paged": "paged"; "buttonAction": "buttonAction"; "dependencies": "dependencies"; "hiddenErrorMessage": "hiddenErrorMessage"; "dynamicFilters": "dynamicFilters"; "minLengthToService": "minLengthToService"; "initialLoad": "initialLoad"; "disabled": "disabled"; }, { "onFocus": "onFocus"; "onChange": "onChange"; }, never, never>;
|
|
52
|
-
}
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ListItem } from '../../../models';
|
|
3
|
+
import { BaseDropdown } from '../../../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare type DropdownButtonAction = {
|
|
6
|
+
label: string;
|
|
7
|
+
onClick: (value: any) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare class DropdownFieldComponent implements OnInit, OnDestroy {
|
|
10
|
+
private renderer;
|
|
11
|
+
set options(_options: ListItem[]);
|
|
12
|
+
isNgContent: boolean;
|
|
13
|
+
isRequired: boolean | undefined;
|
|
14
|
+
set control(_control: any);
|
|
15
|
+
label: string;
|
|
16
|
+
service: BaseDropdown | undefined;
|
|
17
|
+
paged: boolean;
|
|
18
|
+
buttonAction: DropdownButtonAction | undefined;
|
|
19
|
+
dependencies: any;
|
|
20
|
+
hiddenErrorMessage: boolean;
|
|
21
|
+
dynamicFilters?: ListItem[];
|
|
22
|
+
minLengthToService: number;
|
|
23
|
+
initialLoad: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
onFocus: EventEmitter<any>;
|
|
26
|
+
onChange: EventEmitter<any>;
|
|
27
|
+
get control(): any;
|
|
28
|
+
get options(): ListItem[];
|
|
29
|
+
get placeholder(): string;
|
|
30
|
+
pagedSuggestions: ListItem[];
|
|
31
|
+
unlistenAutocompleteVirtualScroll: () => void;
|
|
32
|
+
selectedDynamicFilter: any;
|
|
33
|
+
private _control;
|
|
34
|
+
private _options;
|
|
35
|
+
private currentScrollPage;
|
|
36
|
+
private currentScrollIndex;
|
|
37
|
+
private subscription;
|
|
38
|
+
private currentSearchQuery;
|
|
39
|
+
constructor(renderer: Renderer2);
|
|
40
|
+
ngOnInit(): void;
|
|
41
|
+
ngOnDestroy(): void;
|
|
42
|
+
fieldErrorLabel(): string;
|
|
43
|
+
search($event?: any, forceSearch?: boolean): void;
|
|
44
|
+
onOpenAutocompletePanel(): void;
|
|
45
|
+
onHideAutocompletePanel(): void;
|
|
46
|
+
private pageResults;
|
|
47
|
+
private setControlValueFromSuggestions;
|
|
48
|
+
private handleSearchErrors;
|
|
49
|
+
private filterListByQuery;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFieldComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownFieldComponent, "vector-dropdown-field", never, { "options": "options"; "isNgContent": "isNgContent"; "isRequired": "isRequired"; "control": "control"; "label": "label"; "service": "service"; "paged": "paged"; "buttonAction": "buttonAction"; "dependencies": "dependencies"; "hiddenErrorMessage": "hiddenErrorMessage"; "dynamicFilters": "dynamicFilters"; "minLengthToService": "minLengthToService"; "initialLoad": "initialLoad"; "disabled": "disabled"; }, { "onFocus": "onFocus"; "onChange": "onChange"; }, never, never>;
|
|
52
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './dropdown-field.component';
|
|
1
|
+
export * from './dropdown-field.component';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FieldErrorMessageComponent implements OnInit {
|
|
4
|
-
control: any;
|
|
5
|
-
constructor();
|
|
6
|
-
ngOnInit(): void;
|
|
7
|
-
fieldErrorLabel(): string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldErrorMessageComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldErrorMessageComponent, "vector-field-error-message", never, { "control": "control"; }, {}, never, never>;
|
|
10
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FieldErrorMessageComponent implements OnInit {
|
|
4
|
+
control: any;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
fieldErrorLabel(): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldErrorMessageComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldErrorMessageComponent, "vector-field-error-message", never, { "control": "control"; }, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './field-error-message.component';
|
|
1
|
+
export * from './field-error-message.component';
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./text-field/text-field.component";
|
|
3
|
-
import * as i2 from "./checkbox-field/checkbox-field.component";
|
|
4
|
-
import * as i3 from "./button/button.component";
|
|
5
|
-
import * as i4 from "./calendar-field/calendar-field.component";
|
|
6
|
-
import * as i5 from "./multiselect-field/multiselect-field.component";
|
|
7
|
-
import * as i6 from "./dropdown-field/dropdown-field.component";
|
|
8
|
-
import * as i7 from "./range-value/range-value.component";
|
|
9
|
-
import * as i8 from "./search-field/search-field.component";
|
|
10
|
-
import * as i9 from "./radio-button-field/radio-button-field.component";
|
|
11
|
-
import * as i10 from "./currency-field/currency-field.component";
|
|
12
|
-
import * as i11 from "./percentage-field/percentage-field.component";
|
|
13
|
-
import * as i12 from "./data-table/data-table.component";
|
|
14
|
-
import * as i13 from "./filters/filters.component";
|
|
15
|
-
import * as i14 from "./textarea-field/textarea-field.component";
|
|
16
|
-
import * as i15 from "./field-error-message/field-error-message.component";
|
|
17
|
-
import * as i16 from "./select-button-field/select-button-field.component";
|
|
18
|
-
import * as i17 from "./input-number-field/input-number-field.component";
|
|
19
|
-
import * as i18 from "../../shared/shared.module";
|
|
20
|
-
import * as i19 from "@angular/forms";
|
|
21
|
-
import * as i20 from "primeng/keyfilter";
|
|
22
|
-
import * as i21 from "primeng/inputtext";
|
|
23
|
-
import * as i22 from "primeng/checkbox";
|
|
24
|
-
import * as i23 from "primeng/inputmask";
|
|
25
|
-
import * as i24 from "primeng/calendar";
|
|
26
|
-
import * as i25 from "primeng/multiselect";
|
|
27
|
-
import * as i26 from "primeng/dropdown";
|
|
28
|
-
import * as i27 from "primeng/autocomplete";
|
|
29
|
-
import * as i28 from "primeng/slider";
|
|
30
|
-
import * as i29 from "primeng/radiobutton";
|
|
31
|
-
import * as i30 from "primeng/table";
|
|
32
|
-
import * as i31 from "primeng/fileupload";
|
|
33
|
-
import * as i32 from "primeng/dialog";
|
|
34
|
-
import * as i33 from "primeng/inputnumber";
|
|
35
|
-
import * as i34 from "primeng/menu";
|
|
36
|
-
import * as i35 from "primeng/tabview";
|
|
37
|
-
import * as i36 from "../panel/panel.module";
|
|
38
|
-
import * as i37 from "primeng/button";
|
|
39
|
-
import * as i38 from "primeng/inputtextarea";
|
|
40
|
-
import * as i39 from "primeng/selectbutton";
|
|
41
|
-
import * as i40 from "../badge/badge.module";
|
|
42
|
-
import * as i41 from "../score/score.module";
|
|
43
|
-
import * as i42 from "@ngx-translate/core";
|
|
44
|
-
export declare class FieldsModule {
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldsModule, never>;
|
|
46
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FieldsModule, [typeof i1.TextFieldComponent, typeof i2.CheckboxFieldComponent, typeof i3.ButtonComponent, typeof i4.CalendarComponent, typeof i5.MultiselectFieldComponent, typeof i6.DropdownFieldComponent, typeof i7.RangeValueComponent, typeof i8.SearchFieldComponent, typeof i9.RadioButtonFieldComponent, typeof i10.CurrencyFieldComponent, typeof i11.PercentageFieldComponent, typeof i12.DataTableComponent, typeof i13.FiltersComponent, typeof i14.TextareaFieldComponent, typeof i15.FieldErrorMessageComponent, typeof i16.SelectButtonFieldComponent, typeof i17.InputNumberFieldComponent], [typeof i18.SharedModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.KeyFilterModule, typeof i21.InputTextModule, typeof i22.CheckboxModule, typeof i23.InputMaskModule, typeof i24.CalendarModule, typeof i25.MultiSelectModule, typeof i26.DropdownModule, typeof i27.AutoCompleteModule, typeof i28.SliderModule, typeof i29.RadioButtonModule, typeof i30.TableModule, typeof i31.FileUploadModule, typeof i32.DialogModule, typeof i33.InputNumberModule, typeof i34.MenuModule, typeof i35.TabViewModule, typeof i36.PanelModule, typeof i37.ButtonModule, typeof i38.InputTextareaModule, typeof i39.SelectButtonModule, typeof i33.InputNumberModule, typeof i40.BadgeModule, typeof i41.ScoreModule, typeof i42.TranslateModule], [typeof i1.TextFieldComponent, typeof i2.CheckboxFieldComponent, typeof i3.ButtonComponent, typeof i4.CalendarComponent, typeof i5.MultiselectFieldComponent, typeof i6.DropdownFieldComponent, typeof i7.RangeValueComponent, typeof i8.SearchFieldComponent, typeof i9.RadioButtonFieldComponent, typeof i31.FileUploadModule, typeof i32.DialogModule, typeof i10.CurrencyFieldComponent, typeof i11.PercentageFieldComponent, typeof i12.DataTableComponent, typeof i13.FiltersComponent, typeof i14.TextareaFieldComponent, typeof i15.FieldErrorMessageComponent, typeof i16.SelectButtonFieldComponent, typeof i17.InputNumberFieldComponent]>;
|
|
47
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FieldsModule>;
|
|
48
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./text-field/text-field.component";
|
|
3
|
+
import * as i2 from "./checkbox-field/checkbox-field.component";
|
|
4
|
+
import * as i3 from "./button/button.component";
|
|
5
|
+
import * as i4 from "./calendar-field/calendar-field.component";
|
|
6
|
+
import * as i5 from "./multiselect-field/multiselect-field.component";
|
|
7
|
+
import * as i6 from "./dropdown-field/dropdown-field.component";
|
|
8
|
+
import * as i7 from "./range-value/range-value.component";
|
|
9
|
+
import * as i8 from "./search-field/search-field.component";
|
|
10
|
+
import * as i9 from "./radio-button-field/radio-button-field.component";
|
|
11
|
+
import * as i10 from "./currency-field/currency-field.component";
|
|
12
|
+
import * as i11 from "./percentage-field/percentage-field.component";
|
|
13
|
+
import * as i12 from "./data-table/data-table.component";
|
|
14
|
+
import * as i13 from "./filters/filters.component";
|
|
15
|
+
import * as i14 from "./textarea-field/textarea-field.component";
|
|
16
|
+
import * as i15 from "./field-error-message/field-error-message.component";
|
|
17
|
+
import * as i16 from "./select-button-field/select-button-field.component";
|
|
18
|
+
import * as i17 from "./input-number-field/input-number-field.component";
|
|
19
|
+
import * as i18 from "../../shared/shared.module";
|
|
20
|
+
import * as i19 from "@angular/forms";
|
|
21
|
+
import * as i20 from "primeng/keyfilter";
|
|
22
|
+
import * as i21 from "primeng/inputtext";
|
|
23
|
+
import * as i22 from "primeng/checkbox";
|
|
24
|
+
import * as i23 from "primeng/inputmask";
|
|
25
|
+
import * as i24 from "primeng/calendar";
|
|
26
|
+
import * as i25 from "primeng/multiselect";
|
|
27
|
+
import * as i26 from "primeng/dropdown";
|
|
28
|
+
import * as i27 from "primeng/autocomplete";
|
|
29
|
+
import * as i28 from "primeng/slider";
|
|
30
|
+
import * as i29 from "primeng/radiobutton";
|
|
31
|
+
import * as i30 from "primeng/table";
|
|
32
|
+
import * as i31 from "primeng/fileupload";
|
|
33
|
+
import * as i32 from "primeng/dialog";
|
|
34
|
+
import * as i33 from "primeng/inputnumber";
|
|
35
|
+
import * as i34 from "primeng/menu";
|
|
36
|
+
import * as i35 from "primeng/tabview";
|
|
37
|
+
import * as i36 from "../panel/panel.module";
|
|
38
|
+
import * as i37 from "primeng/button";
|
|
39
|
+
import * as i38 from "primeng/inputtextarea";
|
|
40
|
+
import * as i39 from "primeng/selectbutton";
|
|
41
|
+
import * as i40 from "../badge/badge.module";
|
|
42
|
+
import * as i41 from "../score/score.module";
|
|
43
|
+
import * as i42 from "@ngx-translate/core";
|
|
44
|
+
export declare class FieldsModule {
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldsModule, never>;
|
|
46
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FieldsModule, [typeof i1.TextFieldComponent, typeof i2.CheckboxFieldComponent, typeof i3.ButtonComponent, typeof i4.CalendarComponent, typeof i5.MultiselectFieldComponent, typeof i6.DropdownFieldComponent, typeof i7.RangeValueComponent, typeof i8.SearchFieldComponent, typeof i9.RadioButtonFieldComponent, typeof i10.CurrencyFieldComponent, typeof i11.PercentageFieldComponent, typeof i12.DataTableComponent, typeof i13.FiltersComponent, typeof i14.TextareaFieldComponent, typeof i15.FieldErrorMessageComponent, typeof i16.SelectButtonFieldComponent, typeof i17.InputNumberFieldComponent], [typeof i18.SharedModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.KeyFilterModule, typeof i21.InputTextModule, typeof i22.CheckboxModule, typeof i23.InputMaskModule, typeof i24.CalendarModule, typeof i25.MultiSelectModule, typeof i26.DropdownModule, typeof i27.AutoCompleteModule, typeof i28.SliderModule, typeof i29.RadioButtonModule, typeof i30.TableModule, typeof i31.FileUploadModule, typeof i32.DialogModule, typeof i33.InputNumberModule, typeof i34.MenuModule, typeof i35.TabViewModule, typeof i36.PanelModule, typeof i37.ButtonModule, typeof i38.InputTextareaModule, typeof i39.SelectButtonModule, typeof i33.InputNumberModule, typeof i40.BadgeModule, typeof i41.ScoreModule, typeof i42.TranslateModule], [typeof i1.TextFieldComponent, typeof i2.CheckboxFieldComponent, typeof i3.ButtonComponent, typeof i4.CalendarComponent, typeof i5.MultiselectFieldComponent, typeof i6.DropdownFieldComponent, typeof i7.RangeValueComponent, typeof i8.SearchFieldComponent, typeof i9.RadioButtonFieldComponent, typeof i31.FileUploadModule, typeof i32.DialogModule, typeof i10.CurrencyFieldComponent, typeof i11.PercentageFieldComponent, typeof i12.DataTableComponent, typeof i13.FiltersComponent, typeof i14.TextareaFieldComponent, typeof i15.FieldErrorMessageComponent, typeof i16.SelectButtonFieldComponent, typeof i17.InputNumberFieldComponent]>;
|
|
47
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FieldsModule>;
|
|
48
|
+
}
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute } from '@angular/router';
|
|
4
|
-
import { ListItem } from '../../../models';
|
|
5
|
-
import { BaseDropdown } from '../../../services';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare enum FieldType {
|
|
8
|
-
DROPDOWN = 0,
|
|
9
|
-
TEXT = 1,
|
|
10
|
-
DATE = 2,
|
|
11
|
-
NUMBER = 3,
|
|
12
|
-
CURRENCY = 4,
|
|
13
|
-
DYNAMIC_DROPDOWN = 5,
|
|
14
|
-
SELECT_BUTTON = 6,
|
|
15
|
-
DATE_RANGE = 7,
|
|
16
|
-
MULTISELECT = 8
|
|
17
|
-
}
|
|
18
|
-
export declare type FilterField = {
|
|
19
|
-
name: string;
|
|
20
|
-
type: FieldType;
|
|
21
|
-
minLength?: number;
|
|
22
|
-
maxLength?: number;
|
|
23
|
-
min?: number;
|
|
24
|
-
max?: number;
|
|
25
|
-
required?: boolean;
|
|
26
|
-
readonly?: boolean;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
label?: string;
|
|
29
|
-
mask?: string;
|
|
30
|
-
options?: ListItem[];
|
|
31
|
-
filterTypes?: ListItem[];
|
|
32
|
-
service?: BaseDropdown;
|
|
33
|
-
defaultValue?: any;
|
|
34
|
-
placeholder?: string;
|
|
35
|
-
hidden?: boolean;
|
|
36
|
-
dependencies?: string[];
|
|
37
|
-
size?: 'small' | 'medium' | 'large' | 'largest' | 'full';
|
|
38
|
-
minLengthToService?: number;
|
|
39
|
-
initiateValue?: boolean;
|
|
40
|
-
};
|
|
41
|
-
export declare class FiltersComponent implements OnInit, OnDestroy {
|
|
42
|
-
private activatedRoute;
|
|
43
|
-
set fields(_fields: FilterField[]);
|
|
44
|
-
onSearch: EventEmitter<any>;
|
|
45
|
-
formBuilded: EventEmitter<void>;
|
|
46
|
-
get fields(): FilterField[];
|
|
47
|
-
fieldTypes: typeof FieldType;
|
|
48
|
-
formGroup: FormGroup;
|
|
49
|
-
private _fields;
|
|
50
|
-
private fieldsSubscription;
|
|
51
|
-
get hideFilters(): boolean;
|
|
52
|
-
constructor(activatedRoute: ActivatedRoute);
|
|
53
|
-
ngOnInit(): void;
|
|
54
|
-
ngOnDestroy(): void;
|
|
55
|
-
search(): void;
|
|
56
|
-
isTextFieldType(field: FilterField): boolean;
|
|
57
|
-
getFieldDependencies(field: FilterField): {} | undefined;
|
|
58
|
-
getGridClass(field: FilterField): "md:col-1" | "md:col-3" | "md:col-4" | "md:col-8" | "md:col-12";
|
|
59
|
-
private patchFormFromQueryParams;
|
|
60
|
-
private buildValidators;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent, "vector-filters", never, { "fields": "fields"; }, { "onSearch": "onSearch"; "formBuilded": "formBuilded"; }, never, never>;
|
|
63
|
-
}
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { ListItem } from '../../../models';
|
|
5
|
+
import { BaseDropdown } from '../../../services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare enum FieldType {
|
|
8
|
+
DROPDOWN = 0,
|
|
9
|
+
TEXT = 1,
|
|
10
|
+
DATE = 2,
|
|
11
|
+
NUMBER = 3,
|
|
12
|
+
CURRENCY = 4,
|
|
13
|
+
DYNAMIC_DROPDOWN = 5,
|
|
14
|
+
SELECT_BUTTON = 6,
|
|
15
|
+
DATE_RANGE = 7,
|
|
16
|
+
MULTISELECT = 8
|
|
17
|
+
}
|
|
18
|
+
export declare type FilterField = {
|
|
19
|
+
name: string;
|
|
20
|
+
type: FieldType;
|
|
21
|
+
minLength?: number;
|
|
22
|
+
maxLength?: number;
|
|
23
|
+
min?: number;
|
|
24
|
+
max?: number;
|
|
25
|
+
required?: boolean;
|
|
26
|
+
readonly?: boolean;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
label?: string;
|
|
29
|
+
mask?: string;
|
|
30
|
+
options?: ListItem[];
|
|
31
|
+
filterTypes?: ListItem[];
|
|
32
|
+
service?: BaseDropdown;
|
|
33
|
+
defaultValue?: any;
|
|
34
|
+
placeholder?: string;
|
|
35
|
+
hidden?: boolean;
|
|
36
|
+
dependencies?: string[];
|
|
37
|
+
size?: 'small' | 'medium' | 'large' | 'largest' | 'full';
|
|
38
|
+
minLengthToService?: number;
|
|
39
|
+
initiateValue?: boolean;
|
|
40
|
+
};
|
|
41
|
+
export declare class FiltersComponent implements OnInit, OnDestroy {
|
|
42
|
+
private activatedRoute;
|
|
43
|
+
set fields(_fields: FilterField[]);
|
|
44
|
+
onSearch: EventEmitter<any>;
|
|
45
|
+
formBuilded: EventEmitter<void>;
|
|
46
|
+
get fields(): FilterField[];
|
|
47
|
+
fieldTypes: typeof FieldType;
|
|
48
|
+
formGroup: FormGroup;
|
|
49
|
+
private _fields;
|
|
50
|
+
private fieldsSubscription;
|
|
51
|
+
get hideFilters(): boolean;
|
|
52
|
+
constructor(activatedRoute: ActivatedRoute);
|
|
53
|
+
ngOnInit(): void;
|
|
54
|
+
ngOnDestroy(): void;
|
|
55
|
+
search(): void;
|
|
56
|
+
isTextFieldType(field: FilterField): boolean;
|
|
57
|
+
getFieldDependencies(field: FilterField): {} | undefined;
|
|
58
|
+
getGridClass(field: FilterField): "md:col-1" | "md:col-3" | "md:col-4" | "md:col-8" | "md:col-12";
|
|
59
|
+
private patchFormFromQueryParams;
|
|
60
|
+
private buildValidators;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent, "vector-filters", never, { "fields": "fields"; }, { "onSearch": "onSearch"; "formBuilded": "formBuilded"; }, never, never>;
|
|
63
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './filters.component';
|
|
1
|
+
export * from './filters.component';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export * from './button';
|
|
2
|
-
export * from './calendar-field';
|
|
3
|
-
export * from './checkbox-field';
|
|
4
|
-
export * from './currency-field';
|
|
5
|
-
export * from './data-table';
|
|
6
|
-
export * from './dropdown-field';
|
|
7
|
-
export * from './field-error-message';
|
|
8
|
-
export * from './fields.module';
|
|
9
|
-
export * from './filters';
|
|
10
|
-
export * from './input-number-field';
|
|
11
|
-
export * from './multiselect-field';
|
|
12
|
-
export * from './percentage-field';
|
|
13
|
-
export * from './radio-button-field';
|
|
14
|
-
export * from './range-value';
|
|
15
|
-
export * from './search-field';
|
|
16
|
-
export * from './select-button-field';
|
|
17
|
-
export * from './text-field';
|
|
18
|
-
export * from './textarea-field';
|
|
1
|
+
export * from './button';
|
|
2
|
+
export * from './calendar-field';
|
|
3
|
+
export * from './checkbox-field';
|
|
4
|
+
export * from './currency-field';
|
|
5
|
+
export * from './data-table';
|
|
6
|
+
export * from './dropdown-field';
|
|
7
|
+
export * from './field-error-message';
|
|
8
|
+
export * from './fields.module';
|
|
9
|
+
export * from './filters';
|
|
10
|
+
export * from './input-number-field';
|
|
11
|
+
export * from './multiselect-field';
|
|
12
|
+
export * from './percentage-field';
|
|
13
|
+
export * from './radio-button-field';
|
|
14
|
+
export * from './range-value';
|
|
15
|
+
export * from './search-field';
|
|
16
|
+
export * from './select-button-field';
|
|
17
|
+
export * from './text-field';
|
|
18
|
+
export * from './textarea-field';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './input-number-field.component';
|
|
1
|
+
export * from './input-number-field.component';
|