@unipin/angular-applet 18.8.2 → 18.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/graphql/generated.mjs +45 -2
- package/esm2022/lib/components/approval/index.mjs +2 -1
- package/esm2022/lib/components/forms/index.mjs +2 -1
- package/esm2022/lib/components/forms/number/pipes/locale-number.pipe.mjs +7 -12
- package/esm2022/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.mjs +135 -0
- package/esm2022/lib/components/index.mjs +3 -3
- package/esm2022/lib/services/index.mjs +2 -1
- package/esm2022/lib/services/rate-group-code/rate-group-code.service.mjs +31 -0
- package/esm2022/public-api.mjs +3 -3
- package/fesm2022/unipin-angular-applet.mjs +223 -33
- package/fesm2022/unipin-angular-applet.mjs.map +1 -1
- package/graphql/generated.d.ts +330 -79
- package/lib/components/approval/index.d.ts +1 -0
- package/lib/components/forms/index.d.ts +1 -0
- package/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.d.ts +41 -0
- package/lib/components/index.d.ts +2 -2
- package/lib/services/index.d.ts +1 -0
- package/lib/services/rate-group-code/rate-group-code.service.d.ts +14 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { ApprovalService } from './services/approval.service';
|
|
1
2
|
export { ApprovalListComponent } from './list/approval-list.component';
|
|
2
3
|
export { provideApprovalEntities, APPROVAL_ENTITIES } from './list/provide-approval-entities.util';
|
|
3
4
|
export { ApprovalDetailComponent } from './detail/approval-detail.component';
|
|
@@ -8,3 +8,4 @@ export { FormTextareaComponent } from './textarea/form-textarea.component';
|
|
|
8
8
|
export { FormImagePickerComponent } from './image-picker/form-image-picker.component';
|
|
9
9
|
export { FormCurrencyInputComponent } from './currency-input/form-currency-input.component';
|
|
10
10
|
export { FormCountryInputComponent } from './country-input/form-country-input.component';
|
|
11
|
+
export { FormRateGroupCodeInputComponent } from './rate-group-code-input/form-rate-group-code-input.component';
|
|
@@ -0,0 +1,41 @@
|
|
|
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,8 +1,8 @@
|
|
|
1
1
|
export { ButtonGroupComponent, ButtonGroupConfig, ButtonLoadingComponent } from './buttons';
|
|
2
2
|
export { AppletConfig, provideAppletConfig, AppletContainerComponent, ColumnContainerComponent, ColumnHeaderContainerComponent, ListContainerConfig, ListPaginationContainerComponent, ListSnapshotContainerComponent, ModalContainerComponent } from './containers';
|
|
3
3
|
export { FilterComponent, FilterConfig, FilterField, FilterSearchEvent } from './filter';
|
|
4
|
-
export { FormDateComponent, FormInputComponent, FormNumberComponent, FormPasswordComponent, FormSearchableSelectComponent, FormSelectComponent, FormTextareaComponent, FormImagePickerComponent, FormCurrencyInputComponent, FormCountryInputComponent } from './forms';
|
|
4
|
+
export { FormDateComponent, FormInputComponent, FormNumberComponent, FormPasswordComponent, FormSearchableSelectComponent, FormSelectComponent, FormTextareaComponent, FormImagePickerComponent, FormCurrencyInputComponent, FormCountryInputComponent, FormRateGroupCodeInputComponent } from './forms';
|
|
5
5
|
export { GridConfig, GridPaginationComponent, GridService, GridSnapshotComponent } from './grids';
|
|
6
6
|
export { TabContentComponent, TabGroupComponent, TabsChangedEvent } from './tabs';
|
|
7
7
|
export { AuditListComponent, AuditDetailComponent } from './audit';
|
|
8
|
-
export { ApprovalListComponent, ApprovalDetailComponent, provideApprovalEntities, APPROVAL_ENTITIES } from './approval';
|
|
8
|
+
export { ApprovalListComponent, ApprovalService, ApprovalDetailComponent, provideApprovalEntities, APPROVAL_ENTITIES } from './approval';
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { AuthService } from './auth/auth.service';
|
|
2
2
|
export { CurrencyService } from './currency/currency.service';
|
|
3
3
|
export { CountryService } from './country/country.service';
|
|
4
|
+
export { RateGroupCodeService } from './rate-group-code/rate-group-code.service';
|
|
4
5
|
export { ProfileService } from './profile/profile.service';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ApolloQueryResult, FetchPolicy } from '@apollo/client/core';
|
|
3
|
+
import { Apollo } from 'apollo-angular';
|
|
4
|
+
import { RateGroupCodeCriteria, RateGroupCodeRs } from 'projects/unipin-angular/src/graphql/generated';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RateGroupCodeService {
|
|
7
|
+
protected readonly apollo: Apollo;
|
|
8
|
+
constructor(apollo: Apollo);
|
|
9
|
+
query(input: RateGroupCodeCriteria, fetchPolicy?: FetchPolicy): Observable<ApolloQueryResult<{
|
|
10
|
+
productMsSearchRateGroupCodes: RateGroupCodeRs;
|
|
11
|
+
}>>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RateGroupCodeService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RateGroupCodeService>;
|
|
14
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ButtonGroupConfig, ButtonGroupComponent, ButtonLoadingComponent, FormDateComponent, FormInputComponent, FormNumberComponent, FormPasswordComponent, FormSearchableSelectComponent, FormSelectComponent, FormTextareaComponent, FormImagePickerComponent, FormCurrencyInputComponent, FormCountryInputComponent, FilterConfig, FilterField, FilterSearchEvent, FilterComponent, GridConfig, GridService, GridPaginationComponent, GridSnapshotComponent, AppletConfig, provideAppletConfig, AppletContainerComponent, ColumnContainerComponent, ColumnHeaderContainerComponent, ListContainerConfig, ListPaginationContainerComponent, ListSnapshotContainerComponent, ModalContainerComponent, TabContentComponent, TabGroupComponent, TabsChangedEvent, AuditListComponent, AuditDetailComponent, APPROVAL_ENTITIES, provideApprovalEntities, ApprovalListComponent, ApprovalDetailComponent } from './lib/components';
|
|
1
|
+
export { ButtonGroupConfig, ButtonGroupComponent, ButtonLoadingComponent, FormDateComponent, FormInputComponent, FormNumberComponent, FormPasswordComponent, FormSearchableSelectComponent, FormSelectComponent, FormTextareaComponent, FormImagePickerComponent, FormCurrencyInputComponent, FormCountryInputComponent, FormRateGroupCodeInputComponent, FilterConfig, FilterField, FilterSearchEvent, FilterComponent, GridConfig, GridService, GridPaginationComponent, GridSnapshotComponent, AppletConfig, provideAppletConfig, AppletContainerComponent, ColumnContainerComponent, ColumnHeaderContainerComponent, ListContainerConfig, ListPaginationContainerComponent, ListSnapshotContainerComponent, ModalContainerComponent, TabContentComponent, TabGroupComponent, TabsChangedEvent, AuditListComponent, AuditDetailComponent, APPROVAL_ENTITIES, provideApprovalEntities, ApprovalService, ApprovalListComponent, ApprovalDetailComponent } from './lib/components';
|
|
2
2
|
export { InfiniteScrollDirective, InfiniteScrollComponent } from './lib/components/infinite-scroll';
|
|
3
3
|
export { AuthGuard } from './lib/guards';
|
|
4
4
|
export { headerInterceptor, HeaderInterceptor, refreshTokenInterceptor, RefreshTokenInterceptor } from './lib/interceptors';
|
|
5
5
|
export { User } from './lib/interfaces';
|
|
6
6
|
export { bootstrap, LoadingConfig, provideLoadingConfig, LoadingPage, UnauthorizedPage, PermissionDirective, PermissionGuard, PermissionService, } from './lib/modules';
|
|
7
7
|
export { AuthResolver } from './lib/resolvers';
|
|
8
|
-
export { AuthService, CurrencyService, CountryService, ProfileService } from './lib/services';
|
|
8
|
+
export { AuthService, CurrencyService, CountryService, RateGroupCodeService, ProfileService, } from './lib/services';
|
|
9
9
|
export { formatCapitalize, generateContrastColor, getFormErrorMessage } from './lib/utils';
|
|
10
10
|
export { GridApi, GridReadyEvent, ICellRendererParams, ValueFormatterParams, SelectionChangedEvent } from '@ag-grid-community/core';
|
|
11
11
|
export { ICellRendererAngularComp } from '@ag-grid-community/angular';
|