@unipin/angular-applet 18.9.7 → 21.0.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/README.md +49 -10
- package/common/assets/sprites/flagGlobal.png +0 -0
- package/common/assets/sprites/flagSprite42.webp +0 -0
- package/common/assets/styles/freakflags.scss +263 -0
- package/common/assets/styles/theme.css +69 -0
- package/fesm2022/unipin-angular-applet-accordion.mjs +242 -0
- package/fesm2022/unipin-angular-applet-accordion.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-alert-dialog.mjs +267 -0
- package/fesm2022/unipin-angular-applet-alert-dialog.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-alert.mjs +94 -0
- package/fesm2022/unipin-angular-applet-alert.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-auth.mjs +707 -0
- package/fesm2022/unipin-angular-applet-auth.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-avatar.mjs +41 -0
- package/fesm2022/unipin-angular-applet-avatar.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-badge.mjs +50 -0
- package/fesm2022/unipin-angular-applet-badge.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-buttons.mjs +263 -0
- package/fesm2022/unipin-angular-applet-buttons.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-calendar.mjs +492 -0
- package/fesm2022/unipin-angular-applet-calendar.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-collapsible.mjs +97 -0
- package/fesm2022/unipin-angular-applet-collapsible.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-common.mjs +342 -0
- package/fesm2022/unipin-angular-applet-common.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-containers.mjs +472 -0
- package/fesm2022/unipin-angular-applet-containers.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-dialog.mjs +535 -0
- package/fesm2022/unipin-angular-applet-dialog.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-forms.mjs +1699 -0
- package/fesm2022/unipin-angular-applet-forms.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-froala.mjs +298 -0
- package/fesm2022/unipin-angular-applet-froala.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-grids.mjs +105 -0
- package/fesm2022/unipin-angular-applet-grids.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-infinite-scroll.mjs +86 -0
- package/fesm2022/unipin-angular-applet-infinite-scroll.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-json-viewer.mjs +71 -0
- package/fesm2022/unipin-angular-applet-json-viewer.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-loading-dialog.mjs +252 -0
- package/fesm2022/unipin-angular-applet-loading-dialog.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-markdown.mjs +703 -0
- package/fesm2022/unipin-angular-applet-markdown.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-micro-frontend.mjs +75 -0
- package/fesm2022/unipin-angular-applet-micro-frontend.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-popover.mjs +333 -0
- package/fesm2022/unipin-angular-applet-popover.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-progress-bar.mjs +38 -0
- package/fesm2022/unipin-angular-applet-progress-bar.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-skeleton.mjs +32 -0
- package/fesm2022/unipin-angular-applet-skeleton.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-spinner.mjs +144 -0
- package/fesm2022/unipin-angular-applet-spinner.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-swipeable.mjs +270 -0
- package/fesm2022/unipin-angular-applet-swipeable.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-tabs.mjs +142 -0
- package/fesm2022/unipin-angular-applet-tabs.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-tooltip.mjs +118 -0
- package/fesm2022/unipin-angular-applet-tooltip.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet.mjs +5 -4617
- package/fesm2022/unipin-angular-applet.mjs.map +1 -1
- package/package.json +132 -29
- package/types/unipin-angular-applet-accordion.d.ts +60 -0
- package/types/unipin-angular-applet-alert-dialog.d.ts +35 -0
- package/types/unipin-angular-applet-alert.d.ts +34 -0
- package/types/unipin-angular-applet-auth.d.ts +225 -0
- package/types/unipin-angular-applet-avatar.d.ts +16 -0
- package/types/unipin-angular-applet-badge.d.ts +20 -0
- package/types/unipin-angular-applet-buttons.d.ts +37 -0
- package/types/unipin-angular-applet-calendar.d.ts +44 -0
- package/types/unipin-angular-applet-collapsible.d.ts +35 -0
- package/types/unipin-angular-applet-common.d.ts +94 -0
- package/types/unipin-angular-applet-containers.d.ts +179 -0
- package/types/unipin-angular-applet-dialog.d.ts +180 -0
- package/types/unipin-angular-applet-forms.d.ts +412 -0
- package/types/unipin-angular-applet-froala.d.ts +85 -0
- package/types/unipin-angular-applet-grids.d.ts +22 -0
- package/types/unipin-angular-applet-infinite-scroll.d.ts +51 -0
- package/types/unipin-angular-applet-json-viewer.d.ts +30 -0
- package/types/unipin-angular-applet-loading-dialog.d.ts +19 -0
- package/types/unipin-angular-applet-markdown.d.ts +119 -0
- package/types/unipin-angular-applet-micro-frontend.d.ts +11 -0
- package/types/unipin-angular-applet-popover.d.ts +58 -0
- package/types/unipin-angular-applet-progress-bar.d.ts +14 -0
- package/types/unipin-angular-applet-skeleton.d.ts +11 -0
- package/types/unipin-angular-applet-spinner.d.ts +12 -0
- package/types/unipin-angular-applet-swipeable.d.ts +66 -0
- package/types/unipin-angular-applet-tabs.d.ts +40 -0
- package/types/unipin-angular-applet-tooltip.d.ts +32 -0
- package/types/unipin-angular-applet.d.ts +3 -0
- package/esm2022/graphql/generated.mjs +0 -938
- package/esm2022/lib/components/approval/detail/approval-detail.component.mjs +0 -78
- package/esm2022/lib/components/approval/form/approval-form.component.mjs +0 -128
- package/esm2022/lib/components/approval/index.mjs +0 -5
- package/esm2022/lib/components/approval/list/approval-list.component.mjs +0 -114
- package/esm2022/lib/components/approval/list/provide-approval-entities.util.mjs +0 -9
- package/esm2022/lib/components/approval/services/approval.service.mjs +0 -46
- package/esm2022/lib/components/audit/detail/audit-detail.component.mjs +0 -123
- package/esm2022/lib/components/audit/index.mjs +0 -3
- package/esm2022/lib/components/audit/list/audit-list.component.mjs +0 -81
- package/esm2022/lib/components/audit/service/audit.service.mjs +0 -49
- package/esm2022/lib/components/audit/types/audit-detail-form.type.mjs +0 -2
- package/esm2022/lib/components/buttons/group/btn-group.component.mjs +0 -43
- package/esm2022/lib/components/buttons/group/interfaces/btn-group-config.interface.mjs +0 -2
- package/esm2022/lib/components/buttons/index.mjs +0 -3
- package/esm2022/lib/components/buttons/loading/btn-loading.component.mjs +0 -48
- package/esm2022/lib/components/containers/applet-container/applet-container.component.mjs +0 -55
- package/esm2022/lib/components/containers/applet-container/provide-applet-config.util.mjs +0 -9
- package/esm2022/lib/components/containers/colum-header-container/column-header-container.component.mjs +0 -23
- package/esm2022/lib/components/containers/column-container/column-container.component.mjs +0 -79
- package/esm2022/lib/components/containers/column-container/directives/lazy-route.directive.mjs +0 -57
- package/esm2022/lib/components/containers/index.mjs +0 -7
- package/esm2022/lib/components/containers/list-container/index.mjs +0 -3
- package/esm2022/lib/components/containers/list-container/interfaces/list-container-config.interface.mjs +0 -2
- package/esm2022/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.mjs +0 -58
- package/esm2022/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.mjs +0 -57
- package/esm2022/lib/components/containers/modal-container/modal-container.component.mjs +0 -40
- package/esm2022/lib/components/filter/filter.component.mjs +0 -222
- package/esm2022/lib/components/filter/index.mjs +0 -2
- package/esm2022/lib/components/filter/interfaces/filter-config.interface.mjs +0 -2
- package/esm2022/lib/components/filter/interfaces/filter-field.interface.mjs +0 -2
- package/esm2022/lib/components/filter/interfaces/filter-search-event.interface.mjs +0 -2
- package/esm2022/lib/components/forms/country-input/form-country-input.component.mjs +0 -122
- package/esm2022/lib/components/forms/currency-input/form-currency-input.component.mjs +0 -157
- package/esm2022/lib/components/forms/date/form-date.component.mjs +0 -117
- package/esm2022/lib/components/forms/image-picker/directives/drag-n-drop.directive.mjs +0 -49
- package/esm2022/lib/components/forms/image-picker/form-image-picker.component.mjs +0 -68
- package/esm2022/lib/components/forms/index.mjs +0 -12
- package/esm2022/lib/components/forms/input/form-input.component.mjs +0 -98
- package/esm2022/lib/components/forms/number/form-number.component.mjs +0 -97
- package/esm2022/lib/components/forms/number/pipes/locale-number.pipe.mjs +0 -33
- package/esm2022/lib/components/forms/password/form-password.component.mjs +0 -100
- package/esm2022/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.mjs +0 -135
- package/esm2022/lib/components/forms/searchable-select/form-searchable-select.component.mjs +0 -138
- package/esm2022/lib/components/forms/select/form-select.component.mjs +0 -119
- package/esm2022/lib/components/forms/textarea/form-textarea.component.mjs +0 -88
- package/esm2022/lib/components/grids/grid-pagination/grid-pagination.component.mjs +0 -111
- package/esm2022/lib/components/grids/grid-snapshot/grid-snapshot.component.mjs +0 -109
- package/esm2022/lib/components/grids/index.mjs +0 -4
- package/esm2022/lib/components/grids/interfaces/grid-config.interface.mjs +0 -2
- package/esm2022/lib/components/grids/services/grid.service.mjs +0 -25
- package/esm2022/lib/components/index.mjs +0 -9
- package/esm2022/lib/components/infinite-scroll/directive/infinite-scroll.directive.mjs +0 -43
- package/esm2022/lib/components/infinite-scroll/index.mjs +0 -3
- package/esm2022/lib/components/infinite-scroll/infinite-scroll.component.mjs +0 -36
- package/esm2022/lib/components/tabs/index.mjs +0 -3
- package/esm2022/lib/components/tabs/tab-content/tab-content.component.mjs +0 -37
- package/esm2022/lib/components/tabs/tab-group/tab-group.component.mjs +0 -47
- package/esm2022/lib/guards/auth/auth.guard.mjs +0 -10
- package/esm2022/lib/guards/index.mjs +0 -2
- package/esm2022/lib/interceptors/header/header.interceptor.mjs +0 -29
- package/esm2022/lib/interceptors/index.mjs +0 -3
- package/esm2022/lib/interceptors/refresh-token/refresh-token.interceptor.mjs +0 -83
- package/esm2022/lib/interfaces/index.mjs +0 -2
- package/esm2022/lib/interfaces/user/user.interface.mjs +0 -2
- package/esm2022/lib/modules/index.mjs +0 -3
- package/esm2022/lib/modules/micro-frontend/index.mjs +0 -2
- package/esm2022/lib/modules/micro-frontend/utils/mf-bootstrap.util.mjs +0 -55
- package/esm2022/lib/modules/micro-frontend/utils/mf-global-state.util.mjs +0 -14
- package/esm2022/lib/modules/permission/directive/permission.directive.mjs +0 -41
- package/esm2022/lib/modules/permission/guards/permission.guard.mjs +0 -26
- package/esm2022/lib/modules/permission/index.mjs +0 -7
- package/esm2022/lib/modules/permission/pages/401/unauthorized.page.mjs +0 -15
- package/esm2022/lib/modules/permission/pages/loading/loading.page.mjs +0 -65
- package/esm2022/lib/modules/permission/pages/loading/provide-loading-config.util.mjs +0 -9
- package/esm2022/lib/modules/permission/services/permission.service.mjs +0 -50
- package/esm2022/lib/resolvers/auth/auth.resolver.mjs +0 -87
- package/esm2022/lib/resolvers/index.mjs +0 -2
- package/esm2022/lib/services/auth/auth.service.mjs +0 -171
- package/esm2022/lib/services/country/country.service.mjs +0 -43
- package/esm2022/lib/services/currency/currency.service.mjs +0 -40
- package/esm2022/lib/services/index.mjs +0 -6
- package/esm2022/lib/services/profile/profile.service.mjs +0 -82
- package/esm2022/lib/services/rate-group-code/rate-group-code.service.mjs +0 -31
- package/esm2022/lib/utils/contrast-color-generator/contrast-color-generator.util.mjs +0 -16
- package/esm2022/lib/utils/form-error-message/form-error-message.util.mjs +0 -21
- package/esm2022/lib/utils/format-capitalize/format-capitalize.util.mjs +0 -18
- package/esm2022/lib/utils/index.mjs +0 -5
- package/esm2022/lib/utils/redirect-to-first-menu/redirect-to-first-menu.util.mjs +0 -9
- package/esm2022/public-api.mjs +0 -10
- package/esm2022/unipin-angular-applet.mjs +0 -2
- package/graphql/generated.d.ts +0 -16225
- package/index.d.ts +0 -2
- package/lib/components/approval/detail/approval-detail.component.d.ts +0 -26
- package/lib/components/approval/form/approval-form.component.d.ts +0 -33
- package/lib/components/approval/index.d.ts +0 -4
- package/lib/components/approval/list/approval-list.component.d.ts +0 -33
- package/lib/components/approval/list/provide-approval-entities.util.d.ts +0 -3
- package/lib/components/approval/services/approval.service.d.ts +0 -18
- package/lib/components/audit/detail/audit-detail.component.d.ts +0 -33
- package/lib/components/audit/index.d.ts +0 -2
- package/lib/components/audit/list/audit-list.component.d.ts +0 -31
- package/lib/components/audit/service/audit.service.d.ts +0 -15
- package/lib/components/audit/types/audit-detail-form.type.d.ts +0 -12
- package/lib/components/buttons/group/btn-group.component.d.ts +0 -18
- package/lib/components/buttons/group/interfaces/btn-group-config.interface.d.ts +0 -11
- package/lib/components/buttons/index.d.ts +0 -3
- package/lib/components/buttons/loading/btn-loading.component.d.ts +0 -19
- package/lib/components/containers/applet-container/applet-container.component.d.ts +0 -22
- package/lib/components/containers/applet-container/provide-applet-config.util.d.ts +0 -15
- package/lib/components/containers/colum-header-container/column-header-container.component.d.ts +0 -7
- package/lib/components/containers/column-container/column-container.component.d.ts +0 -26
- package/lib/components/containers/column-container/directives/lazy-route.directive.d.ts +0 -17
- package/lib/components/containers/index.d.ts +0 -6
- package/lib/components/containers/list-container/index.d.ts +0 -3
- package/lib/components/containers/list-container/interfaces/list-container-config.interface.d.ts +0 -9
- package/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.d.ts +0 -23
- package/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.d.ts +0 -23
- package/lib/components/containers/modal-container/modal-container.component.d.ts +0 -16
- package/lib/components/filter/filter.component.d.ts +0 -44
- package/lib/components/filter/index.d.ts +0 -4
- package/lib/components/filter/interfaces/filter-config.interface.d.ts +0 -5
- package/lib/components/filter/interfaces/filter-field.interface.d.ts +0 -24
- package/lib/components/filter/interfaces/filter-search-event.interface.d.ts +0 -4
- package/lib/components/forms/country-input/form-country-input.component.d.ts +0 -41
- package/lib/components/forms/currency-input/form-currency-input.component.d.ts +0 -52
- package/lib/components/forms/date/form-date.component.d.ts +0 -33
- package/lib/components/forms/image-picker/directives/drag-n-drop.directive.d.ts +0 -10
- package/lib/components/forms/image-picker/form-image-picker.component.d.ts +0 -21
- package/lib/components/forms/index.d.ts +0 -11
- package/lib/components/forms/input/form-input.component.d.ts +0 -31
- package/lib/components/forms/number/form-number.component.d.ts +0 -27
- package/lib/components/forms/number/pipes/locale-number.pipe.d.ts +0 -8
- package/lib/components/forms/password/form-password.component.d.ts +0 -27
- package/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.d.ts +0 -41
- package/lib/components/forms/searchable-select/form-searchable-select.component.d.ts +0 -42
- package/lib/components/forms/select/form-select.component.d.ts +0 -34
- package/lib/components/forms/textarea/form-textarea.component.d.ts +0 -26
- package/lib/components/grids/grid-pagination/grid-pagination.component.d.ts +0 -33
- package/lib/components/grids/grid-snapshot/grid-snapshot.component.d.ts +0 -36
- package/lib/components/grids/index.d.ts +0 -4
- package/lib/components/grids/interfaces/grid-config.interface.d.ts +0 -16
- package/lib/components/grids/services/grid.service.d.ts +0 -12
- package/lib/components/index.d.ts +0 -8
- package/lib/components/infinite-scroll/directive/infinite-scroll.directive.d.ts +0 -15
- package/lib/components/infinite-scroll/index.d.ts +0 -2
- package/lib/components/infinite-scroll/infinite-scroll.component.d.ts +0 -12
- package/lib/components/tabs/index.d.ts +0 -6
- package/lib/components/tabs/tab-content/tab-content.component.d.ts +0 -14
- package/lib/components/tabs/tab-group/tab-group.component.d.ts +0 -18
- package/lib/guards/auth/auth.guard.d.ts +0 -1
- package/lib/guards/index.d.ts +0 -1
- package/lib/interceptors/header/header.interceptor.d.ts +0 -9
- package/lib/interceptors/index.d.ts +0 -2
- package/lib/interceptors/refresh-token/refresh-token.interceptor.d.ts +0 -14
- package/lib/interfaces/index.d.ts +0 -1
- package/lib/interfaces/user/user.interface.d.ts +0 -27
- package/lib/modules/index.d.ts +0 -2
- package/lib/modules/micro-frontend/index.d.ts +0 -1
- package/lib/modules/micro-frontend/utils/mf-bootstrap.util.d.ts +0 -9
- package/lib/modules/micro-frontend/utils/mf-global-state.util.d.ts +0 -4
- package/lib/modules/permission/directive/permission.directive.d.ts +0 -16
- package/lib/modules/permission/guards/permission.guard.d.ts +0 -2
- package/lib/modules/permission/index.d.ts +0 -6
- package/lib/modules/permission/pages/401/unauthorized.page.d.ts +0 -5
- package/lib/modules/permission/pages/loading/loading.page.d.ts +0 -18
- package/lib/modules/permission/pages/loading/provide-loading-config.util.d.ts +0 -10
- package/lib/modules/permission/services/permission.service.d.ts +0 -21
- package/lib/resolvers/auth/auth.resolver.d.ts +0 -14
- package/lib/resolvers/index.d.ts +0 -1
- package/lib/services/auth/auth.service.d.ts +0 -39
- package/lib/services/country/country.service.d.ts +0 -16
- package/lib/services/currency/currency.service.d.ts +0 -16
- package/lib/services/index.d.ts +0 -5
- package/lib/services/profile/profile.service.d.ts +0 -12
- package/lib/services/rate-group-code/rate-group-code.service.d.ts +0 -14
- package/lib/utils/contrast-color-generator/contrast-color-generator.util.d.ts +0 -4
- package/lib/utils/form-error-message/form-error-message.util.d.ts +0 -2
- package/lib/utils/format-capitalize/format-capitalize.util.d.ts +0 -1
- package/lib/utils/index.d.ts +0 -4
- package/lib/utils/redirect-to-first-menu/redirect-to-first-menu.util.d.ts +0 -2
- package/public-api.d.ts +0 -11
- package/src/assets/scss/forms.scss +0 -65
- package/src/assets/scss/grid.scss +0 -7505
- package/src/assets/scss/select.scss +0 -328
package/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { TabsChangedEvent } from '../../tabs';
|
|
5
|
-
import { ButtonGroupConfig } from '../../buttons/group/interfaces/btn-group-config.interface';
|
|
6
|
-
import { ApprovalFormComponent } from '../form/approval-form.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ApprovalDetailComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
9
|
-
protected readonly router: Router;
|
|
10
|
-
protected readonly activatedRoute: ActivatedRoute;
|
|
11
|
-
formComponent?: ApprovalFormComponent;
|
|
12
|
-
btnConfig: ButtonGroupConfig[];
|
|
13
|
-
protected guids?: string[];
|
|
14
|
-
protected guid: string;
|
|
15
|
-
protected sub: Subscription;
|
|
16
|
-
protected isApprove?: boolean;
|
|
17
|
-
protected approvalGroupGuid?: string;
|
|
18
|
-
constructor(router: Router, activatedRoute: ActivatedRoute);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
ngAfterViewInit(): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
changeTab({ fragment }: TabsChangedEvent): void;
|
|
23
|
-
protected setChildGuid(guids: string[]): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalDetailComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalDetailComponent, "up-approval-detail", never, {}, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { AlertButton, AlertController } from '@ionic/angular';
|
|
5
|
-
import { Approval } from '../../../../graphql/generated';
|
|
6
|
-
import { ButtonGroupConfig } from '../../buttons/group/interfaces/btn-group-config.interface';
|
|
7
|
-
import { ApprovalService } from '../services/approval.service';
|
|
8
|
-
import { GridService } from '../../grids/services/grid.service';
|
|
9
|
-
import { PermissionService } from '../../../modules/permission/services/permission.service';
|
|
10
|
-
import { ButtonLoadingComponent } from '../../buttons/loading/btn-loading.component';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class ApprovalFormComponent implements OnDestroy {
|
|
13
|
-
protected readonly router: Router;
|
|
14
|
-
protected readonly ch: ChangeDetectorRef;
|
|
15
|
-
protected readonly service: ApprovalService;
|
|
16
|
-
protected readonly gridService: GridService;
|
|
17
|
-
protected readonly alertCtrl: AlertController;
|
|
18
|
-
protected readonly permService: PermissionService;
|
|
19
|
-
isLoading: boolean;
|
|
20
|
-
readonly btnConfig: ButtonGroupConfig[];
|
|
21
|
-
data: Approval[];
|
|
22
|
-
protected guids: string[];
|
|
23
|
-
protected sub?: Subscription;
|
|
24
|
-
protected approvalGroupGuid?: string;
|
|
25
|
-
constructor(router: Router, ch: ChangeDetectorRef, service: ApprovalService, gridService: GridService, alertCtrl: AlertController, permService: PermissionService);
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
setGuid(guids: string[], approvalGroupGuid?: string, isApprove?: boolean): void;
|
|
28
|
-
protected request(btn: ButtonLoadingComponent): void;
|
|
29
|
-
protected setLoading(b: boolean): void;
|
|
30
|
-
protected showAlert(header: string, message: string, buttons?: (AlertButton | string)[], inputs?: any[]): Promise<void>;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalFormComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalFormComponent, "up-approval-form", never, { "isLoading": { "alias": "isLoading"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { ApprovalService } from './services/approval.service';
|
|
2
|
-
export { ApprovalListComponent } from './list/approval-list.component';
|
|
3
|
-
export { provideApprovalEntities, APPROVAL_ENTITIES } from './list/provide-approval-entities.util';
|
|
4
|
-
export { ApprovalDetailComponent } from './detail/approval-detail.component';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
-
import { AlertController } from '@ionic/angular';
|
|
3
|
-
import { GridApi, GridReadyEvent } from '@ag-grid-community/core';
|
|
4
|
-
import { ApprovalCriteria, ApprovalGroup } from '../../../../graphql/generated';
|
|
5
|
-
import { GridConfig } from '../../grids/interfaces/grid-config.interface';
|
|
6
|
-
import { FilterConfig } from '../../filter/interfaces/filter-config.interface';
|
|
7
|
-
import { FilterSearchEvent } from '../../filter/interfaces/filter-search-event.interface';
|
|
8
|
-
import { ButtonGroupConfig } from '../../buttons/group/interfaces/btn-group-config.interface';
|
|
9
|
-
import { ApprovalService } from '../services/approval.service';
|
|
10
|
-
import { ButtonLoadingComponent } from '../../buttons/loading/btn-loading.component';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class ApprovalListComponent {
|
|
13
|
-
readonly entities: string[];
|
|
14
|
-
protected readonly router: Router;
|
|
15
|
-
protected readonly route: ActivatedRoute;
|
|
16
|
-
protected readonly service: ApprovalService;
|
|
17
|
-
protected readonly alertCtrl: AlertController;
|
|
18
|
-
readonly gridConfig: GridConfig;
|
|
19
|
-
readonly filterConfig: FilterConfig;
|
|
20
|
-
btnConfig: ButtonGroupConfig[];
|
|
21
|
-
protected gridApi: GridApi;
|
|
22
|
-
protected selectedApprovalGroupGuid?: string;
|
|
23
|
-
protected input: ApprovalCriteria;
|
|
24
|
-
constructor(entities: string[], router: Router, route: ActivatedRoute, service: ApprovalService, alertCtrl: AlertController);
|
|
25
|
-
setGridApi({ api }: GridReadyEvent): void;
|
|
26
|
-
openDetail({ guid }: any): void;
|
|
27
|
-
selectApprovals(): void;
|
|
28
|
-
search({ data }: FilterSearchEvent): void;
|
|
29
|
-
protected isCheckboxSelectable(approvalGroup?: ApprovalGroup): boolean;
|
|
30
|
-
protected multipleApproval(btn: ButtonLoadingComponent): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalListComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalListComponent, "up-approval-list", never, {}, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ApolloQueryResult, FetchPolicy } from '@apollo/client/core';
|
|
3
|
-
import { Apollo, MutationResult } from 'apollo-angular';
|
|
4
|
-
import { ApprovalCriteria, PageableResponse, MutationApprovalMsApproveOrDeclineRequestArgs } from './../../../../graphql/generated';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ApprovalService {
|
|
7
|
-
protected readonly apollo: Apollo;
|
|
8
|
-
protected readonly baseAttr: string;
|
|
9
|
-
constructor(apollo: Apollo);
|
|
10
|
-
query(input: ApprovalCriteria, extraAttr?: string, fetchPolicy?: FetchPolicy): Observable<ApolloQueryResult<{
|
|
11
|
-
approvalMsApprovals: PageableResponse;
|
|
12
|
-
}>>;
|
|
13
|
-
request(variables: MutationApprovalMsApproveOrDeclineRequestArgs): Observable<MutationResult<{
|
|
14
|
-
approvalMsApproveOrDeclineRequest: string;
|
|
15
|
-
}>>;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApprovalService>;
|
|
18
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
-
import { Subscription } from 'rxjs';
|
|
5
|
-
import { NavController } from '@ionic/angular';
|
|
6
|
-
import { GridApi, GridReadyEvent } from '@ag-grid-community/core';
|
|
7
|
-
import { AuditTrail } from './../../../../graphql/generated';
|
|
8
|
-
import { AuditDetailForm } from '../types/audit-detail-form.type';
|
|
9
|
-
import { GridConfig } from '../../grids/interfaces/grid-config.interface';
|
|
10
|
-
import { AuditService } from '../service/audit.service';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class AuditDetailComponent implements OnDestroy {
|
|
13
|
-
protected readonly fb: FormBuilder;
|
|
14
|
-
protected readonly service: AuditService;
|
|
15
|
-
protected readonly route: ActivatedRoute;
|
|
16
|
-
protected readonly navCtrl: NavController;
|
|
17
|
-
readonly gridConfig: GridConfig;
|
|
18
|
-
readonly form: FormGroup<AuditDetailForm>;
|
|
19
|
-
data: AuditTrail;
|
|
20
|
-
isLoading: boolean;
|
|
21
|
-
protected guid: string;
|
|
22
|
-
protected gridApi: GridApi;
|
|
23
|
-
protected sub?: Subscription;
|
|
24
|
-
constructor(fb: FormBuilder, service: AuditService, route: ActivatedRoute, navCtrl: NavController);
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
setGridApi({ api }: GridReadyEvent): void;
|
|
27
|
-
isIsoDateString(str: string): boolean;
|
|
28
|
-
formatData(value: any): any;
|
|
29
|
-
getData(): void;
|
|
30
|
-
protected getChangedData({ oldData, newData }: any): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuditDetailComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuditDetailComponent, "up-audit-detail", never, {}, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { GridApi, GridReadyEvent } from '@ag-grid-community/core';
|
|
4
|
-
import { AuditTagEnum, AuditTrail, AuditTrailCriteria } from './../../../../graphql/generated';
|
|
5
|
-
import { GridConfig } from '../../grids/interfaces/grid-config.interface';
|
|
6
|
-
import { FilterConfig } from '../../filter/interfaces/filter-config.interface';
|
|
7
|
-
import { FilterSearchEvent } from '../../filter/interfaces/filter-search-event.interface';
|
|
8
|
-
import { AuditService } from '../service/audit.service';
|
|
9
|
-
import { GridPaginationComponent } from '../../grids/grid-pagination/grid-pagination.component';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class AuditListComponent implements OnChanges {
|
|
12
|
-
id: string;
|
|
13
|
-
protected url: string;
|
|
14
|
-
protected readonly router: Router;
|
|
15
|
-
protected readonly service: AuditService;
|
|
16
|
-
relatedEntities: string[];
|
|
17
|
-
tagKeys: AuditTagEnum[];
|
|
18
|
-
protected gridComponent: GridPaginationComponent;
|
|
19
|
-
readonly filterConfig: FilterConfig;
|
|
20
|
-
readonly gridConfig: GridConfig;
|
|
21
|
-
protected readonly criteria: AuditTrailCriteria;
|
|
22
|
-
protected gridApi?: GridApi;
|
|
23
|
-
constructor(id: string, url: string, router: Router, service: AuditService);
|
|
24
|
-
ngOnChanges(e: SimpleChanges): void;
|
|
25
|
-
setGridApi({ api }: GridReadyEvent): void;
|
|
26
|
-
rowClicked({ guid }: AuditTrail): void;
|
|
27
|
-
search({ data }: FilterSearchEvent): void;
|
|
28
|
-
setGuid(guid: string): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuditListComponent, [{ attribute: "id"; }, { attribute: "mainUrl"; }, null, null]>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuditListComponent, "up-audit-list", never, { "relatedEntities": { "alias": "relatedEntities"; "required": true; }; "tagKeys": { "alias": "tagKeys"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ApolloQueryResult } from '@apollo/client/core';
|
|
3
|
-
import { Apollo } from 'apollo-angular';
|
|
4
|
-
import { AuditTrail, AuditTrailCriteria } from './../../../../graphql/generated';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AuditService {
|
|
7
|
-
protected readonly apollo: Apollo;
|
|
8
|
-
protected readonly baseAttr: string;
|
|
9
|
-
constructor(apollo: Apollo);
|
|
10
|
-
query(input: AuditTrailCriteria, extraAttr?: string): Observable<ApolloQueryResult<{
|
|
11
|
-
auditMsAuditTrail: AuditTrail[];
|
|
12
|
-
}>>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuditService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuditService>;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FormControl } from '@angular/forms';
|
|
2
|
-
export type AuditDetailForm = {
|
|
3
|
-
guid: FormControl<string | null>;
|
|
4
|
-
action: FormControl<string | null>;
|
|
5
|
-
description: FormControl<string | null>;
|
|
6
|
-
userName: FormControl<string | null>;
|
|
7
|
-
sourceIp: FormControl<string | null>;
|
|
8
|
-
createdAt: FormControl<string | null>;
|
|
9
|
-
msSource: FormControl<string | null>;
|
|
10
|
-
sourcePlatform: FormControl<string | null>;
|
|
11
|
-
function: FormControl<string | null>;
|
|
12
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { InputSignal, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { PopoverController } from '@ionic/angular';
|
|
3
|
-
import { ButtonGroupConfig } from './interfaces/btn-group-config.interface';
|
|
4
|
-
import { ButtonLoadingComponent } from '../loading/btn-loading.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ButtonGroupComponent {
|
|
7
|
-
id: string;
|
|
8
|
-
protected readonly popoverCtrl: PopoverController;
|
|
9
|
-
readonly config: InputSignal<ButtonGroupConfig[]>;
|
|
10
|
-
protected isHidden: boolean;
|
|
11
|
-
activeIndex: number;
|
|
12
|
-
constructor(id: string, popoverCtrl: PopoverController);
|
|
13
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
-
clickBtn(b: ButtonLoadingComponent): void;
|
|
15
|
-
change(i: number): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, [{ attribute: "id"; }, null]>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "up-btn-group", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ButtonLoadingComponent } from '../../loading/btn-loading.component';
|
|
2
|
-
export interface ButtonGroupConfig {
|
|
3
|
-
icon?: string;
|
|
4
|
-
color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
|
|
5
|
-
description?: string;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
form?: HTMLFormElement | string;
|
|
8
|
-
label: string;
|
|
9
|
-
type?: 'button' | 'reset' | 'submit';
|
|
10
|
-
onClick: (b: ButtonLoadingComponent) => void;
|
|
11
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { IonButton } from '@ionic/angular';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ButtonLoadingComponent {
|
|
5
|
-
protected readonly ch: ChangeDetectorRef;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
form: HTMLFormElement | string | undefined;
|
|
8
|
-
type?: 'button' | 'reset' | 'submit';
|
|
9
|
-
fill: 'clear' | 'default' | 'outline' | 'solid';
|
|
10
|
-
color?: 'danger' | 'dark' | 'light' | 'medium' | 'primary' | 'secondary' | 'success' | 'tertiary' | 'warning' | string;
|
|
11
|
-
onClick: EventEmitter<ButtonLoadingComponent>;
|
|
12
|
-
protected btn: IonButton;
|
|
13
|
-
isLoading: boolean;
|
|
14
|
-
constructor(ch: ChangeDetectorRef);
|
|
15
|
-
clickBtn(): void;
|
|
16
|
-
toggleLoading(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonLoadingComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonLoadingComponent, "up-btn-loading", never, { "disabled": { "alias": "disabled"; "required": false; }; "form": { "alias": "form"; "required": false; }; "type": { "alias": "type"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "onClick": "onClick"; }, never, ["ion-icon", "*"], true, never>;
|
|
19
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { PermissionService } from '../../../modules';
|
|
4
|
-
import { AppletConfig } from './provide-applet-config.util';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AppletContainerComponent implements OnInit, OnDestroy {
|
|
7
|
-
readonly config: AppletConfig;
|
|
8
|
-
protected readonly ch: ChangeDetectorRef;
|
|
9
|
-
protected readonly permissionService: PermissionService;
|
|
10
|
-
isCollapsed: boolean;
|
|
11
|
-
isHidden: boolean[];
|
|
12
|
-
isMenuActive: boolean;
|
|
13
|
-
protected sub: Subscription;
|
|
14
|
-
protected subEvent: Subscription;
|
|
15
|
-
constructor(config: AppletConfig, ch: ChangeDetectorRef, permissionService: PermissionService);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
toggleSidenav(): void;
|
|
19
|
-
selectMenu(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppletContainerComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppletContainerComponent, "up-applet-container", never, {}, {}, never, ["*"], true, never>;
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
export declare const APPLET_CONFIG: InjectionToken<AppletConfig>;
|
|
3
|
-
export interface AppletConfig {
|
|
4
|
-
icon: string;
|
|
5
|
-
name: string;
|
|
6
|
-
version: string;
|
|
7
|
-
enabledSetting?: boolean;
|
|
8
|
-
containers: {
|
|
9
|
-
icon: string;
|
|
10
|
-
label: string;
|
|
11
|
-
permModule: string;
|
|
12
|
-
path: `/${string}`;
|
|
13
|
-
}[];
|
|
14
|
-
}
|
|
15
|
-
export declare function provideAppletConfig(config: AppletConfig): Provider;
|
package/lib/components/containers/colum-header-container/column-header-container.component.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ColumnHeaderContainerComponent {
|
|
3
|
-
header?: string;
|
|
4
|
-
prevUrl: string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnHeaderContainerComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnHeaderContainerComponent, "up-column-header-container", never, { "header": { "alias": "header"; "required": false; }; "prevUrl": { "alias": "prevUrl"; "required": false; }; }, {}, never, ["[button]", "*"], true, never>;
|
|
7
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Router, ActivatedRoute, Route } from '@angular/router';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ColumnContainerComponent implements OnDestroy {
|
|
6
|
-
protected readonly router: Router;
|
|
7
|
-
protected readonly activeRoute: ActivatedRoute;
|
|
8
|
-
readonly areas: {
|
|
9
|
-
visible: boolean;
|
|
10
|
-
route: Route;
|
|
11
|
-
}[];
|
|
12
|
-
colSize: number;
|
|
13
|
-
protected readonly openedArea: {
|
|
14
|
-
[key: string]: number;
|
|
15
|
-
};
|
|
16
|
-
protected sub: Subscription;
|
|
17
|
-
constructor(router: Router, activeRoute: ActivatedRoute);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
protected navigate(): void;
|
|
21
|
-
protected next(route: Route): void;
|
|
22
|
-
protected previous(pos: number): void;
|
|
23
|
-
protected checkScreen(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnContainerComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnContainerComponent, "up-column-container", never, {}, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LazyRouteDirective implements OnInit, OnDestroy {
|
|
6
|
-
protected readonly router: Router;
|
|
7
|
-
protected readonly vcr: ViewContainerRef;
|
|
8
|
-
protected readonly route: ActivatedRoute;
|
|
9
|
-
loadRoute: any;
|
|
10
|
-
protected sub?: Subscription;
|
|
11
|
-
constructor(router: Router, vcr: ViewContainerRef, route: ActivatedRoute);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
|
-
protected setInput(cr: ComponentRef<any>): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LazyRouteDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LazyRouteDirective, "[loadRoute]", never, { "loadRoute": { "alias": "loadRoute"; "required": true; }; }, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { AppletContainerComponent } from './applet-container/applet-container.component';
|
|
2
|
-
export { provideAppletConfig, AppletConfig, APPLET_CONFIG } from './applet-container/provide-applet-config.util';
|
|
3
|
-
export { ColumnContainerComponent } from './column-container/column-container.component';
|
|
4
|
-
export { ColumnHeaderContainerComponent } from './colum-header-container/column-header-container.component';
|
|
5
|
-
export { ModalContainerComponent } from './modal-container/modal-container.component';
|
|
6
|
-
export { ListContainerConfig, ListPaginationContainerComponent, ListSnapshotContainerComponent } from './list-container';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { ListContainerConfig } from './interfaces/list-container-config.interface';
|
|
2
|
-
export { ListPaginationContainerComponent } from './list-pagination-container/list-pagination-container.component';
|
|
3
|
-
export { ListSnapshotContainerComponent } from './list-snapshot-container/list-snapshot-container.component';
|
package/lib/components/containers/list-container/interfaces/list-container-config.interface.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ButtonGroupConfig } from '../../../buttons';
|
|
2
|
-
import { GridConfig } from '../../../grids/interfaces/grid-config.interface';
|
|
3
|
-
import { FilterConfig } from '../../../filter/interfaces/filter-config.interface';
|
|
4
|
-
export interface ListContainerConfig {
|
|
5
|
-
baseUrl: `${string}/`;
|
|
6
|
-
buttons?: ButtonGroupConfig[];
|
|
7
|
-
gridConfig: GridConfig;
|
|
8
|
-
filterConfig?: FilterConfig;
|
|
9
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { GridApi, GridReadyEvent } from '@ag-grid-community/core';
|
|
4
|
-
import { ListContainerConfig } from '../interfaces/list-container-config.interface';
|
|
5
|
-
import { FilterSearchEvent } from '../../../filter/interfaces/filter-search-event.interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ListPaginationContainerComponent {
|
|
8
|
-
id: string;
|
|
9
|
-
protected readonly router: Router;
|
|
10
|
-
header: string;
|
|
11
|
-
config: ListContainerConfig;
|
|
12
|
-
readonly onRowClick: EventEmitter<any>;
|
|
13
|
-
readonly onGridReady: EventEmitter<GridReadyEvent>;
|
|
14
|
-
readonly onSearch: EventEmitter<FilterSearchEvent>;
|
|
15
|
-
gridId: `grid-${string}`;
|
|
16
|
-
protected gridApi: GridApi;
|
|
17
|
-
constructor(id: string, router: Router);
|
|
18
|
-
openDetail(data: any): void;
|
|
19
|
-
setGridApi(ev: GridReadyEvent): void;
|
|
20
|
-
search(k: FilterSearchEvent): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListPaginationContainerComponent, [{ attribute: "id"; }, null]>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListPaginationContainerComponent, "up-list-pagination-container", never, { "header": { "alias": "header"; "required": true; }; "config": { "alias": "config"; "required": true; }; }, { "onRowClick": "onRowClick"; "onGridReady": "onGridReady"; "onSearch": "onSearch"; }, never, never, true, never>;
|
|
23
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { GridApi, GridReadyEvent } from '@ag-grid-community/core';
|
|
4
|
-
import { ListContainerConfig } from '../interfaces/list-container-config.interface';
|
|
5
|
-
import { FilterSearchEvent } from '../../../filter/interfaces/filter-search-event.interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ListSnapshotContainerComponent {
|
|
8
|
-
id: string;
|
|
9
|
-
protected readonly router: Router;
|
|
10
|
-
header: string;
|
|
11
|
-
config: ListContainerConfig;
|
|
12
|
-
readonly onRowClick: EventEmitter<any>;
|
|
13
|
-
readonly onGridReady: EventEmitter<GridReadyEvent>;
|
|
14
|
-
readonly onSearch: EventEmitter<FilterSearchEvent>;
|
|
15
|
-
gridId: `grid-${string}`;
|
|
16
|
-
protected gridApi: GridApi;
|
|
17
|
-
constructor(id: string, router: Router);
|
|
18
|
-
openDetail(data: any): void;
|
|
19
|
-
setGridApi(ev: GridReadyEvent): void;
|
|
20
|
-
search(k: FilterSearchEvent): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListSnapshotContainerComponent, [{ attribute: "id"; }, null]>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListSnapshotContainerComponent, "up-list-snapshot-container", never, { "header": { "alias": "header"; "required": true; }; "config": { "alias": "config"; "required": true; }; }, { "onRowClick": "onRowClick"; "onGridReady": "onGridReady"; "onSearch": "onSearch"; }, never, never, true, never>;
|
|
23
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ModalController } from '@ionic/angular';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ModalContainerComponent implements OnInit {
|
|
5
|
-
protected readonly modalCtrl: ModalController;
|
|
6
|
-
header: string;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
protected key: string;
|
|
9
|
-
constructor(modalCtrl: ModalController);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
popState(ev: PopStateEvent): void;
|
|
13
|
-
close(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "up-modal-container", never, { "header": { "alias": "header"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { PopoverController } from '@ionic/angular';
|
|
4
|
-
import { FilterConfig } from './interfaces/filter-config.interface';
|
|
5
|
-
import { FilterSearchEvent } from './interfaces/filter-search-event.interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FilterComponent implements OnInit {
|
|
8
|
-
placeholder: string;
|
|
9
|
-
protected readonly ch: ChangeDetectorRef;
|
|
10
|
-
protected readonly popoverCtrl: PopoverController;
|
|
11
|
-
id: string;
|
|
12
|
-
config: FilterConfig;
|
|
13
|
-
readonly onSearch: EventEmitter<FilterSearchEvent>;
|
|
14
|
-
protected readonly searchBox: ElementRef;
|
|
15
|
-
readonly form: FormGroup<any>;
|
|
16
|
-
activeFilter: {
|
|
17
|
-
label: string;
|
|
18
|
-
key: string;
|
|
19
|
-
value: string;
|
|
20
|
-
}[];
|
|
21
|
-
initialItems: Map<string, {
|
|
22
|
-
label: string;
|
|
23
|
-
value: string;
|
|
24
|
-
}[]>;
|
|
25
|
-
constructor(placeholder: string, ch: ChangeDetectorRef, popoverCtrl: PopoverController);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
close(): void;
|
|
28
|
-
clear(): void;
|
|
29
|
-
removeFilter(i: number): void;
|
|
30
|
-
search(): void;
|
|
31
|
-
protected processFilter(key: string, value: any): void;
|
|
32
|
-
add(): void;
|
|
33
|
-
applyInitialItems(item: any, key: string): void;
|
|
34
|
-
protected resetValue(): void;
|
|
35
|
-
protected getValue(value: string): {
|
|
36
|
-
key: string;
|
|
37
|
-
value: string;
|
|
38
|
-
};
|
|
39
|
-
protected emitValue(extraAction?: (key: string, value: any) => void): void;
|
|
40
|
-
protected createFormControl(key: string, val?: any, isIrresolute?: boolean): void;
|
|
41
|
-
protected saveState(): void;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, [{ attribute: "placeholder"; }, null, null]>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "up-filter", never, { "id": { "alias": "id"; "required": true; }; "config": { "alias": "config"; "required": true; }; }, { "onSearch": "onSearch"; }, never, never, true, never>;
|
|
44
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { FilterSearchEvent } from './interfaces/filter-search-event.interface';
|
|
2
|
-
export { FilterConfig } from './interfaces/filter-config.interface';
|
|
3
|
-
export { FilterField } from './interfaces/filter-field.interface';
|
|
4
|
-
export { FilterComponent } from './filter.component';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
export interface FilterField {
|
|
3
|
-
getOptions?: (keyword: string) => Observable<{
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}[]>;
|
|
7
|
-
initialValue?: string | string[];
|
|
8
|
-
initialItems?: {
|
|
9
|
-
label: string;
|
|
10
|
-
value: string;
|
|
11
|
-
}[];
|
|
12
|
-
key: string | string[];
|
|
13
|
-
label: string | string[];
|
|
14
|
-
options?: {
|
|
15
|
-
label: string;
|
|
16
|
-
value: string;
|
|
17
|
-
}[];
|
|
18
|
-
type: 'text' | 'number' | 'date-range' | 'select' | 'searchable-select' | 'checkbox' | 'number-range';
|
|
19
|
-
multiple?: boolean;
|
|
20
|
-
isIrresolute?: boolean;
|
|
21
|
-
min?: string;
|
|
22
|
-
max?: string;
|
|
23
|
-
groupBy?: string | ((item: any) => string);
|
|
24
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { Country } from '../../../../graphql/generated';
|
|
5
|
-
import { CountryService } from '../../../services';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FormCountryInputComponent implements ControlValueAccessor, Validator, OnInit, OnDestroy {
|
|
8
|
-
placeholder: string;
|
|
9
|
-
protected readonly ch: ChangeDetectorRef;
|
|
10
|
-
protected readonly countryService: CountryService;
|
|
11
|
-
clearable: boolean;
|
|
12
|
-
required: boolean;
|
|
13
|
-
multiple: boolean;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
onChange: EventEmitter<Country | undefined | null>;
|
|
16
|
-
items: {
|
|
17
|
-
label: string;
|
|
18
|
-
value: string;
|
|
19
|
-
data: Country;
|
|
20
|
-
}[];
|
|
21
|
-
isLoading: boolean;
|
|
22
|
-
isTouched: boolean;
|
|
23
|
-
value: any | null;
|
|
24
|
-
errorMsg: string;
|
|
25
|
-
protected formControl: AbstractControl;
|
|
26
|
-
protected changed: (_val: any) => void;
|
|
27
|
-
protected onTouched: () => void;
|
|
28
|
-
protected sub?: Subscription;
|
|
29
|
-
constructor(placeholder: string, ch: ChangeDetectorRef, countryService: CountryService);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
registerOnChange(fn: any): void;
|
|
33
|
-
registerOnTouched(fn: any): void;
|
|
34
|
-
writeValue(val: any): void;
|
|
35
|
-
setDisabledState?(d: boolean): void;
|
|
36
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
37
|
-
change(e?: any): void;
|
|
38
|
-
protected setIsLoading(b: boolean): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormCountryInputComponent, [{ attribute: "placeholder"; }, null, null]>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormCountryInputComponent, "up-country-input", never, { "clearable": { "alias": "clearable"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
|
|
41
|
-
}
|