@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
|
@@ -1,52 +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 { Currency } from '../../../../graphql/generated';
|
|
5
|
-
import { CurrencyService } from '../../../services';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FormCurrencyInputComponent implements ControlValueAccessor, Validator, OnInit, OnDestroy {
|
|
8
|
-
placeholder: string;
|
|
9
|
-
numberPlaceholder: string;
|
|
10
|
-
protected readonly ch: ChangeDetectorRef;
|
|
11
|
-
protected readonly currencyService: CurrencyService;
|
|
12
|
-
label: string;
|
|
13
|
-
clearable: boolean;
|
|
14
|
-
isInputNumber: boolean;
|
|
15
|
-
numberValue: number | null;
|
|
16
|
-
isNumberDisabled: boolean;
|
|
17
|
-
required: boolean;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
onChange: EventEmitter<{
|
|
20
|
-
selectedItem?: Currency;
|
|
21
|
-
number: number | null;
|
|
22
|
-
}>;
|
|
23
|
-
items: {
|
|
24
|
-
label: string;
|
|
25
|
-
value: string;
|
|
26
|
-
data: Currency;
|
|
27
|
-
}[];
|
|
28
|
-
isLoading: boolean;
|
|
29
|
-
isTouched: boolean;
|
|
30
|
-
value: any | null;
|
|
31
|
-
errorMsg: string;
|
|
32
|
-
protected formControl: AbstractControl;
|
|
33
|
-
protected decimalLimiter: number;
|
|
34
|
-
protected changed: (_val: any) => void;
|
|
35
|
-
protected onTouched: () => void;
|
|
36
|
-
protected sub?: Subscription;
|
|
37
|
-
protected selectedItem?: Currency;
|
|
38
|
-
constructor(placeholder: string, numberPlaceholder: string, ch: ChangeDetectorRef, currencyService: CurrencyService);
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
ngOnDestroy(): void;
|
|
41
|
-
registerOnChange(fn: any): void;
|
|
42
|
-
registerOnTouched(fn: any): void;
|
|
43
|
-
writeValue(val: any): void;
|
|
44
|
-
setDisabledState?(d: boolean): void;
|
|
45
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
46
|
-
change(e?: any): void;
|
|
47
|
-
numberInput({ value }: any): void;
|
|
48
|
-
limitDecimal({ charCode, preventDefault, target: { value } }: any): void;
|
|
49
|
-
protected setIsLoading(b: boolean): void;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormCurrencyInputComponent, [{ attribute: "placeholder"; }, { attribute: "numberPlaceholder"; }, null, null]>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormCurrencyInputComponent, "up-currency-input", never, { "label": { "alias": "label"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "isInputNumber": { "alias": "isInputNumber"; "required": false; }; "numberValue": { "alias": "numberValue"; "required": false; }; "isNumberDisabled": { "alias": "isNumberDisabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
|
|
52
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormDateComponent implements ControlValueAccessor, Validator, OnInit {
|
|
5
|
-
placeholder: string;
|
|
6
|
-
protected readonly ch: ChangeDetectorRef;
|
|
7
|
-
name: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
required: boolean;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
presentation: 'date' | 'date-time' | 'month-year';
|
|
12
|
-
minDate?: string;
|
|
13
|
-
maxDate?: string;
|
|
14
|
-
clearButton: boolean;
|
|
15
|
-
dateFormat: string;
|
|
16
|
-
isTouched: boolean;
|
|
17
|
-
value: string;
|
|
18
|
-
localValue: string;
|
|
19
|
-
errorMsg: string;
|
|
20
|
-
protected formControl: AbstractControl;
|
|
21
|
-
protected onChange: (_val: any) => void;
|
|
22
|
-
protected onTouched: () => void;
|
|
23
|
-
constructor(placeholder: string, ch: ChangeDetectorRef);
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
registerOnChange(fn: any): void;
|
|
26
|
-
registerOnTouched(fn: any): void;
|
|
27
|
-
writeValue(val: any): void;
|
|
28
|
-
setDisabledState?(d: boolean): void;
|
|
29
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
30
|
-
changeDate({ detail: { value } }: any): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormDateComponent, [{ attribute: "placeholder"; }, null]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormDateComponent, "up-date", never, { "name": { "alias": "name"; "required": true; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, {}, never, ["[icon]"], true, never>;
|
|
33
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DragNDropDirective {
|
|
4
|
-
fileDropped: EventEmitter<any>;
|
|
5
|
-
onDragOver(evt: any): void;
|
|
6
|
-
onDragLeave(evt: any): void;
|
|
7
|
-
onDrop(evt: any): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DragNDropDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DragNDropDirective, "[upDragNDrop]", never, {}, { "fileDropped": "fileDropped"; }, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormImagePickerComponent implements ControlValueAccessor {
|
|
5
|
-
protected readonly ch: ChangeDetectorRef;
|
|
6
|
-
ratio: string;
|
|
7
|
-
label?: string;
|
|
8
|
-
required: boolean;
|
|
9
|
-
onChange: EventEmitter<File>;
|
|
10
|
-
imgSrc: string;
|
|
11
|
-
protected onChanged: (_val: any) => void;
|
|
12
|
-
protected onTouched: () => void;
|
|
13
|
-
constructor(ch: ChangeDetectorRef);
|
|
14
|
-
registerOnChange(fn: any): void;
|
|
15
|
-
registerOnTouched(fn: any): void;
|
|
16
|
-
clear(ev?: Event): void;
|
|
17
|
-
writeValue(val: any): void;
|
|
18
|
-
selectPhoto(files: any): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormImagePickerComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormImagePickerComponent, "up-image-picker", never, { "ratio": { "alias": "ratio"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "onChange": "onChange"; }, never, ["[icon]"], true, never>;
|
|
21
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { FormDateComponent } from './date/form-date.component';
|
|
2
|
-
export { FormInputComponent } from './input/form-input.component';
|
|
3
|
-
export { FormNumberComponent } from './number/form-number.component';
|
|
4
|
-
export { FormPasswordComponent } from './password/form-password.component';
|
|
5
|
-
export { FormSearchableSelectComponent } from './searchable-select/form-searchable-select.component';
|
|
6
|
-
export { FormSelectComponent } from './select/form-select.component';
|
|
7
|
-
export { FormTextareaComponent } from './textarea/form-textarea.component';
|
|
8
|
-
export { FormImagePickerComponent } from './image-picker/form-image-picker.component';
|
|
9
|
-
export { FormCurrencyInputComponent } from './currency-input/form-currency-input.component';
|
|
10
|
-
export { FormCountryInputComponent } from './country-input/form-country-input.component';
|
|
11
|
-
export { FormRateGroupCodeInputComponent } from './rate-group-code-input/form-rate-group-code-input.component';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormInputComponent implements ControlValueAccessor, Validator {
|
|
5
|
-
placeholder: string;
|
|
6
|
-
type: 'email' | 'hidden' | 'number' | 'search' | 'tel' | 'text' | 'url';
|
|
7
|
-
autocomplete: 'name' | 'email' | 'tel' | 'url' | 'on' | 'off' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'username' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-extension';
|
|
8
|
-
protected readonly ch: ChangeDetectorRef;
|
|
9
|
-
label?: string;
|
|
10
|
-
value?: string | null;
|
|
11
|
-
required: boolean;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
min?: string;
|
|
14
|
-
max?: string;
|
|
15
|
-
onInput: EventEmitter<any>;
|
|
16
|
-
isTouched: boolean;
|
|
17
|
-
errorMsg: string;
|
|
18
|
-
protected formControl: AbstractControl;
|
|
19
|
-
protected onChange: (_val: any) => void;
|
|
20
|
-
protected onTouched: () => void;
|
|
21
|
-
constructor(placeholder: string, type: 'email' | 'hidden' | 'number' | 'search' | 'tel' | 'text' | 'url', autocomplete: 'name' | 'email' | 'tel' | 'url' | 'on' | 'off' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'username' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-extension', ch: ChangeDetectorRef);
|
|
22
|
-
registerOnChange(fn: any): void;
|
|
23
|
-
registerOnTouched(fn: any): void;
|
|
24
|
-
input(val: any): void;
|
|
25
|
-
writeValue(val: any): void;
|
|
26
|
-
setDisabledState?(d: boolean): void;
|
|
27
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
28
|
-
change({ value }: any): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, [{ attribute: "placeholder"; }, { attribute: "type"; }, { attribute: "autocomplete"; }, null]>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "up-input", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "onInput": "onInput"; }, never, ["[icon]"], true, never>;
|
|
31
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormNumberComponent implements ControlValueAccessor, Validator {
|
|
5
|
-
placeholder: string;
|
|
6
|
-
protected readonly ch: ChangeDetectorRef;
|
|
7
|
-
label?: string;
|
|
8
|
-
value?: string | null;
|
|
9
|
-
required: boolean;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
locale: string;
|
|
12
|
-
isTouched: boolean;
|
|
13
|
-
errorMsg: string;
|
|
14
|
-
protected formControl: AbstractControl;
|
|
15
|
-
protected onChange: (_val: any) => void;
|
|
16
|
-
protected onTouched: () => void;
|
|
17
|
-
constructor(placeholder: string, ch: ChangeDetectorRef);
|
|
18
|
-
registerOnChange(fn: any): void;
|
|
19
|
-
registerOnTouched(fn: any): void;
|
|
20
|
-
writeValue(val: any): void;
|
|
21
|
-
setDisabledState?(d: boolean): void;
|
|
22
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
23
|
-
change({ value }: any): void;
|
|
24
|
-
onKeyDown(ev: KeyboardEvent): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormNumberComponent, [{ attribute: "placeholder"; }, null]>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormNumberComponent, "up-number", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LocaleNumberPipe implements PipeTransform {
|
|
4
|
-
transform(value: string | null | undefined, locale: string): string;
|
|
5
|
-
protected extractSeperator(input: string): string[];
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleNumberPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LocaleNumberPipe, "localeNumber", true>;
|
|
8
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormPasswordComponent implements ControlValueAccessor, Validator {
|
|
5
|
-
label: string;
|
|
6
|
-
autocomplete: 'current-password' | 'new-password';
|
|
7
|
-
protected readonly ch: ChangeDetectorRef;
|
|
8
|
-
required: boolean;
|
|
9
|
-
mustSame: boolean;
|
|
10
|
-
isTouched: boolean;
|
|
11
|
-
type: 'text' | 'password';
|
|
12
|
-
value: string;
|
|
13
|
-
errorMsg: string;
|
|
14
|
-
protected formControl: AbstractControl;
|
|
15
|
-
protected onChange: (_val: any) => void;
|
|
16
|
-
protected onTouched: () => void;
|
|
17
|
-
constructor(label: string, autocomplete: 'current-password' | 'new-password', ch: ChangeDetectorRef);
|
|
18
|
-
registerOnChange(fn: any): void;
|
|
19
|
-
registerOnTouched(fn: any): void;
|
|
20
|
-
changeType(): void;
|
|
21
|
-
writeValue(val: any): void;
|
|
22
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
23
|
-
touch(): void;
|
|
24
|
-
change({ value }: any): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormPasswordComponent, [{ attribute: "label"; }, { attribute: "autocomplete"; }, null]>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormPasswordComponent, "up-password", never, { "required": { "alias": "required"; "required": false; }; "mustSame": { "alias": "mustSame"; "required": false; }; }, {}, never, ["[icon]"], true, never>;
|
|
27
|
-
}
|
package/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import { NgSelectComponent } from '@ng-select/ng-select';
|
|
5
|
-
import { RateGroupCodeService } from '../../../services';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FormRateGroupCodeInputComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
8
|
-
placeholder: string;
|
|
9
|
-
protected readonly ch: ChangeDetectorRef;
|
|
10
|
-
protected readonly service: RateGroupCodeService;
|
|
11
|
-
clearable: boolean;
|
|
12
|
-
label: string;
|
|
13
|
-
initialItems: any[];
|
|
14
|
-
required: boolean;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
bindLabel: string;
|
|
17
|
-
bindValue: string;
|
|
18
|
-
appendTo: string;
|
|
19
|
-
onChange: EventEmitter<any>;
|
|
20
|
-
readonly ngSelect: NgSelectComponent;
|
|
21
|
-
readonly typeahead: Subject<string>;
|
|
22
|
-
protected readonly query$: Observable<any[]>;
|
|
23
|
-
items$: Observable<any[]>;
|
|
24
|
-
isLoading: boolean;
|
|
25
|
-
isTouched: boolean;
|
|
26
|
-
value: any | null;
|
|
27
|
-
errorMsg: string;
|
|
28
|
-
protected formControl: AbstractControl;
|
|
29
|
-
protected changed: (_val: any) => void;
|
|
30
|
-
protected onTouched: () => void;
|
|
31
|
-
constructor(placeholder: string, ch: ChangeDetectorRef, service: RateGroupCodeService);
|
|
32
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
-
registerOnChange(fn: any): void;
|
|
34
|
-
registerOnTouched(fn: any): void;
|
|
35
|
-
writeValue(val: any): void;
|
|
36
|
-
setDisabledState?(d: boolean): void;
|
|
37
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
38
|
-
change(e?: any): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormRateGroupCodeInputComponent, [{ attribute: "placeholder"; }, null, null]>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormRateGroupCodeInputComponent, "up-rate-group-code-input", never, { "clearable": { "alias": "clearable"; "required": false; }; "label": { "alias": "label"; "required": false; }; "initialItems": { "alias": "initialItems"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; }, { "onChange": "onChange"; }, never, ["[icon]"], true, never>;
|
|
41
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import { NgSelectComponent } from '@ng-select/ng-select';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormSearchableSelectComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
7
|
-
placeholder: string;
|
|
8
|
-
protected readonly ch: ChangeDetectorRef;
|
|
9
|
-
queryFunc: (keyword: string) => Observable<any>;
|
|
10
|
-
clearable: boolean;
|
|
11
|
-
label: string;
|
|
12
|
-
initialItems: any[];
|
|
13
|
-
required: boolean;
|
|
14
|
-
addTag: boolean;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
multiple: boolean;
|
|
17
|
-
bindLabel: string;
|
|
18
|
-
bindValue: string;
|
|
19
|
-
appendTo: string;
|
|
20
|
-
onChange: EventEmitter<any>;
|
|
21
|
-
readonly ngSelect: NgSelectComponent;
|
|
22
|
-
readonly typeahead: Subject<string>;
|
|
23
|
-
protected readonly query$: Observable<any[]>;
|
|
24
|
-
items$: Observable<any[]>;
|
|
25
|
-
isLoading: boolean;
|
|
26
|
-
isTouched: boolean;
|
|
27
|
-
value: any | null;
|
|
28
|
-
errorMsg: string;
|
|
29
|
-
protected formControl: AbstractControl;
|
|
30
|
-
protected changed: (_val: any) => void;
|
|
31
|
-
protected onTouched: () => void;
|
|
32
|
-
constructor(placeholder: string, ch: ChangeDetectorRef);
|
|
33
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
-
registerOnChange(fn: any): void;
|
|
35
|
-
registerOnTouched(fn: any): void;
|
|
36
|
-
writeValue(val: any): void;
|
|
37
|
-
setDisabledState?(d: boolean): void;
|
|
38
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
39
|
-
change(e?: any): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormSearchableSelectComponent, [{ attribute: "placeholder"; }, null]>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormSearchableSelectComponent, "up-searchable-select", never, { "queryFunc": { "alias": "queryFunc"; "required": true; }; "clearable": { "alias": "clearable"; "required": false; }; "label": { "alias": "label"; "required": false; }; "initialItems": { "alias": "initialItems"; "required": false; }; "required": { "alias": "required"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; }, { "onChange": "onChange"; }, never, ["[icon]"], true, never>;
|
|
42
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormSelectComponent implements ControlValueAccessor, Validator {
|
|
5
|
-
placeholder: string;
|
|
6
|
-
protected readonly ch: ChangeDetectorRef;
|
|
7
|
-
items: any[];
|
|
8
|
-
clearable: boolean;
|
|
9
|
-
label: string;
|
|
10
|
-
multiple: boolean;
|
|
11
|
-
required: boolean;
|
|
12
|
-
addTag: boolean;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
searchable: boolean;
|
|
15
|
-
bindLabel: string;
|
|
16
|
-
bindValue: string;
|
|
17
|
-
appendTo: string;
|
|
18
|
-
groupBy?: string | ((item: any) => string);
|
|
19
|
-
isTouched: boolean;
|
|
20
|
-
value: any | null;
|
|
21
|
-
errorMsg: string;
|
|
22
|
-
protected formControl: AbstractControl;
|
|
23
|
-
protected onChange: (_val: any) => void;
|
|
24
|
-
protected onTouched: () => void;
|
|
25
|
-
constructor(placeholder: string, ch: ChangeDetectorRef);
|
|
26
|
-
registerOnChange(fn: any): void;
|
|
27
|
-
registerOnTouched(fn: any): void;
|
|
28
|
-
writeValue(val: any): void;
|
|
29
|
-
setDisabledState?(d: boolean): void;
|
|
30
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
31
|
-
change(e?: any): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ attribute: "placeholder"; }, null]>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectComponent, "up-select", never, { "items": { "alias": "items"; "required": true; }; "clearable": { "alias": "clearable"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "required": { "alias": "required"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; }, {}, never, ["[icon]"], true, never>;
|
|
34
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormTextareaComponent implements ControlValueAccessor, Validator {
|
|
5
|
-
label: string;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
autocomplete: 'url' | 'on' | 'off' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1';
|
|
8
|
-
protected readonly ch: ChangeDetectorRef;
|
|
9
|
-
value?: string | null;
|
|
10
|
-
required: boolean;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
isTouched: boolean;
|
|
13
|
-
errorMsg: string;
|
|
14
|
-
protected formControl: AbstractControl;
|
|
15
|
-
protected onChange: (_val: any) => void;
|
|
16
|
-
protected onTouched: () => void;
|
|
17
|
-
constructor(label: string, placeholder: string, autocomplete: 'url' | 'on' | 'off' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1', ch: ChangeDetectorRef);
|
|
18
|
-
registerOnChange(fn: any): void;
|
|
19
|
-
registerOnTouched(fn: any): void;
|
|
20
|
-
writeValue(val: any): void;
|
|
21
|
-
setDisabledState?(d: boolean): void;
|
|
22
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
23
|
-
change({ value }: any): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormTextareaComponent, [{ attribute: "label"; }, { attribute: "placeholder"; }, { attribute: "autocomplete"; }, null]>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormTextareaComponent, "up-textarea", never, { "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[icon]"], true, never>;
|
|
26
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { ColDef, RowModelType, GridReadyEvent, DragStoppedEvent, SelectionChangedEvent, GridApi, PaginationChangedEvent, RowClassParams, RowNode } from '@ag-grid-community/core';
|
|
4
|
-
import { GridConfig } from '../interfaces/grid-config.interface';
|
|
5
|
-
import { GridService } from '../services/grid.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class GridPaginationComponent implements OnInit, OnDestroy {
|
|
8
|
-
protected readonly service: GridService;
|
|
9
|
-
config: GridConfig;
|
|
10
|
-
rowData: any[];
|
|
11
|
-
id: `grid-${string}`;
|
|
12
|
-
rowModelType: RowModelType;
|
|
13
|
-
rowSelection: 'single' | 'multiple';
|
|
14
|
-
getRowClass: ((params: RowClassParams<RowNode, any>) => string) | undefined;
|
|
15
|
-
readonly onRowClick: EventEmitter<any>;
|
|
16
|
-
readonly onGridReady: EventEmitter<GridReadyEvent>;
|
|
17
|
-
readonly onSelectionChanged: EventEmitter<SelectionChangedEvent<any>>;
|
|
18
|
-
readonly defaultColDef: ColDef;
|
|
19
|
-
protected count?: number;
|
|
20
|
-
protected gridApi: GridApi;
|
|
21
|
-
protected subs?: Subscription;
|
|
22
|
-
constructor(service: GridService);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngOnDestroy(): void;
|
|
25
|
-
clickRow(data: any): void;
|
|
26
|
-
dragColumn({ api }: DragStoppedEvent): void;
|
|
27
|
-
changeSelected(data: SelectionChangedEvent<any>): void;
|
|
28
|
-
changePagination(ev: PaginationChangedEvent): void;
|
|
29
|
-
setDatasource(ev: GridReadyEvent): void;
|
|
30
|
-
reset(): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridPaginationComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridPaginationComponent, "up-pagination-grid", never, { "config": { "alias": "config"; "required": true; }; "rowData": { "alias": "rowData"; "required": false; }; "id": { "alias": "id"; "required": false; }; "rowModelType": { "alias": "rowModelType"; "required": false; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; "getRowClass": { "alias": "getRowClass"; "required": false; }; }, { "onRowClick": "onRowClick"; "onGridReady": "onGridReady"; "onSelectionChanged": "onSelectionChanged"; }, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { ColDef, GridReadyEvent, DragStoppedEvent, SelectionChangedEvent, GridApi, PaginationChangedEvent, RowClassParams, RowNode } from '@ag-grid-community/core';
|
|
4
|
-
import { GridConfig } from '../interfaces/grid-config.interface';
|
|
5
|
-
import { GridService } from '../services/grid.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class GridSnapshotComponent implements OnInit, OnDestroy {
|
|
8
|
-
protected readonly service: GridService;
|
|
9
|
-
id: `grid-${string}`;
|
|
10
|
-
config: GridConfig;
|
|
11
|
-
rowSelection: 'single' | 'multiple';
|
|
12
|
-
getRowClass: ((params: RowClassParams<RowNode, any>) => string) | undefined;
|
|
13
|
-
readonly onRowClick: EventEmitter<any>;
|
|
14
|
-
readonly onGridReady: EventEmitter<GridReadyEvent>;
|
|
15
|
-
readonly onSelectionChanged: EventEmitter<SelectionChangedEvent<any>>;
|
|
16
|
-
readonly defaultColDef: ColDef;
|
|
17
|
-
protected readonly sort: {
|
|
18
|
-
orderBy: string;
|
|
19
|
-
order: string;
|
|
20
|
-
};
|
|
21
|
-
protected count?: number;
|
|
22
|
-
protected gridApi: GridApi;
|
|
23
|
-
protected subs?: Subscription;
|
|
24
|
-
protected after?: string | null;
|
|
25
|
-
constructor(service: GridService);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
clickRow(data: any): void;
|
|
29
|
-
dragColumn({ api }: DragStoppedEvent): void;
|
|
30
|
-
changeSelected(data: SelectionChangedEvent<any>): void;
|
|
31
|
-
changePagination(ev: PaginationChangedEvent): void;
|
|
32
|
-
setDatasource(ev: GridReadyEvent): void;
|
|
33
|
-
reset(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridSnapshotComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridSnapshotComponent, "up-snapshot-grid", never, { "id": { "alias": "id"; "required": false; }; "config": { "alias": "config"; "required": true; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; "getRowClass": { "alias": "getRowClass"; "required": false; }; }, { "onRowClick": "onRowClick"; "onGridReady": "onGridReady"; "onSelectionChanged": "onSelectionChanged"; }, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { GridConfig } from './interfaces/grid-config.interface';
|
|
2
|
-
export { GridService } from './services/grid.service';
|
|
3
|
-
export { GridSnapshotComponent } from './grid-snapshot/grid-snapshot.component';
|
|
4
|
-
export { GridPaginationComponent } from './grid-pagination/grid-pagination.component';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ColDef, ColGroupDef } from '@ag-grid-community/core';
|
|
3
|
-
export interface GridConfig {
|
|
4
|
-
colDefs: (ColDef | ColGroupDef)[];
|
|
5
|
-
getData?: (page: number, pageSize: number, orderBy: string, order: 'asc' | 'desc') => Observable<{
|
|
6
|
-
data: any[];
|
|
7
|
-
totalRecord?: number;
|
|
8
|
-
}>;
|
|
9
|
-
getDataSnapshot?: (pageSize: number, orderBy: string, order: 'asc' | 'desc', after?: any) => Observable<{
|
|
10
|
-
data: any;
|
|
11
|
-
totalRecord?: number;
|
|
12
|
-
}>;
|
|
13
|
-
noRowText?: string;
|
|
14
|
-
useTotalRecord?: boolean;
|
|
15
|
-
rowPerPage?: number;
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { GridApi } from '@ag-grid-community/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GridService {
|
|
4
|
-
protected readonly apis: {
|
|
5
|
-
[id: string]: GridApi;
|
|
6
|
-
};
|
|
7
|
-
getApi(id: string): GridApi;
|
|
8
|
-
setApi(id: string, api: GridApi): void;
|
|
9
|
-
refreshGridCache(id: string, forceRefresh?: boolean): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GridService>;
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { ButtonGroupComponent, ButtonGroupConfig, ButtonLoadingComponent } from './buttons';
|
|
2
|
-
export { AppletConfig, APPLET_CONFIG, provideAppletConfig, AppletContainerComponent, ColumnContainerComponent, ColumnHeaderContainerComponent, ListContainerConfig, ListPaginationContainerComponent, ListSnapshotContainerComponent, ModalContainerComponent } from './containers';
|
|
3
|
-
export { FilterComponent, FilterConfig, FilterField, FilterSearchEvent } from './filter';
|
|
4
|
-
export { FormDateComponent, FormInputComponent, FormNumberComponent, FormPasswordComponent, FormSearchableSelectComponent, FormSelectComponent, FormTextareaComponent, FormImagePickerComponent, FormCurrencyInputComponent, FormCountryInputComponent, FormRateGroupCodeInputComponent } from './forms';
|
|
5
|
-
export { GridConfig, GridPaginationComponent, GridService, GridSnapshotComponent } from './grids';
|
|
6
|
-
export { TabContentComponent, TabGroupComponent, TabsChangedEvent } from './tabs';
|
|
7
|
-
export { AuditListComponent, AuditDetailComponent } from './audit';
|
|
8
|
-
export { ApprovalListComponent, ApprovalService, ApprovalDetailComponent, provideApprovalEntities, APPROVAL_ENTITIES } from './approval';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class InfiniteScrollDirective implements OnInit, AfterViewInit, OnDestroy {
|
|
4
|
-
protected readonly element: ElementRef;
|
|
5
|
-
threshold: number;
|
|
6
|
-
rootMargin: string;
|
|
7
|
-
readonly onScrollThreshold: EventEmitter<boolean>;
|
|
8
|
-
protected observer: IntersectionObserver;
|
|
9
|
-
constructor(element: ElementRef);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngAfterViewInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScrollDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<InfiniteScrollDirective, "[upInfiniteScroll]", never, { "threshold": { "alias": "threshold"; "required": false; }; "rootMargin": { "alias": "rootMargin"; "required": false; }; }, { "onScrollThreshold": "onScrollThreshold"; }, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class InfiniteScrollComponent {
|
|
4
|
-
loadingText?: string;
|
|
5
|
-
threshold: number;
|
|
6
|
-
rootMargin: string;
|
|
7
|
-
loadingIcon: 'bubbles' | 'circles' | 'circular' | 'crescent' | 'dots' | 'lines' | 'lines-sharp' | 'lines-sharp-small' | 'lines-small';
|
|
8
|
-
onScrollThreshold: EventEmitter<void>;
|
|
9
|
-
scroll(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScrollComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InfiniteScrollComponent, "up-infinite-scroll", never, { "loadingText": { "alias": "loadingText"; "required": false; }; "threshold": { "alias": "threshold"; "required": false; }; "rootMargin": { "alias": "rootMargin"; "required": false; }; "loadingIcon": { "alias": "loadingIcon"; "required": false; }; }, { "onScrollThreshold": "onScrollThreshold"; }, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TabContentComponent implements AfterContentInit {
|
|
4
|
-
fragment: string;
|
|
5
|
-
protected readonly ch: ChangeDetectorRef;
|
|
6
|
-
isActive: boolean;
|
|
7
|
-
header: string;
|
|
8
|
-
customHeader?: ElementRef<HTMLDivElement>;
|
|
9
|
-
constructor(fragment: string, ch: ChangeDetectorRef);
|
|
10
|
-
ngAfterContentInit(): void;
|
|
11
|
-
toggleVisibility(s?: boolean): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentComponent, [{ attribute: "fragment"; }, null]>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabContentComponent, "up-tab-content", never, { "header": { "alias": "header"; "required": false; }; }, {}, ["customHeader"], ["*"], true, never>;
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, OutputEmitterRef, Signal } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { TabContentComponent } from '../tab-content/tab-content.component';
|
|
4
|
-
import { TabsChangedEvent } from '..';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TabGroupComponent implements AfterContentInit {
|
|
7
|
-
protected readonly router: Router;
|
|
8
|
-
protected readonly activeRoute: ActivatedRoute;
|
|
9
|
-
readonly onChange: OutputEmitterRef<TabsChangedEvent>;
|
|
10
|
-
readonly changed: OutputEmitterRef<TabsChangedEvent>;
|
|
11
|
-
readonly content: Signal<readonly TabContentComponent[]>;
|
|
12
|
-
activeFragment: string | null | undefined;
|
|
13
|
-
constructor(router: Router, activeRoute: ActivatedRoute);
|
|
14
|
-
ngAfterContentInit(): void;
|
|
15
|
-
changeTab(f: string | null, i: number): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "up-tab-group", never, {}, { "onChange": "onChange"; "changed": "changed"; }, ["content"], ["*"], true, never>;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AuthGuard: () => boolean;
|
package/lib/guards/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AuthGuard } from './auth/auth.guard';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HttpEvent, HttpHandler, HttpInterceptor, HttpInterceptorFn, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const headerInterceptor: HttpInterceptorFn;
|
|
5
|
-
export declare class HeaderInterceptor implements HttpInterceptor {
|
|
6
|
-
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderInterceptor, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HeaderInterceptor>;
|
|
9
|
-
}
|