@colijnit/relation 261.1.0 → 261.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/colijnit-relation.mjs +5066 -0
- package/fesm2022/colijnit-relation.mjs.map +1 -0
- package/index.d.ts +1704 -0
- package/package.json +17 -13
- package/bundles/colijnit-relation.umd.js +0 -5059
- package/bundles/colijnit-relation.umd.js.map +0 -1
- package/colijnit-relation.d.ts +0 -21
- package/colijnit-relation.metadata.json +0 -1
- package/esm2015/colijnit-relation.js +0 -22
- package/esm2015/lib/component/base/relation-base.component.js +0 -49
- package/esm2015/lib/component/base/relation-loader.component.js +0 -50
- package/esm2015/lib/component/base/relation-screen-config-base.component.js +0 -16
- package/esm2015/lib/component/relation/relation.component.js +0 -223
- package/esm2015/lib/component/relation/relation.module.js +0 -63
- package/esm2015/lib/component/relation-address/relation-address.component.js +0 -166
- package/esm2015/lib/component/relation-address/relation-address.module.js +0 -24
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.component.js +0 -72
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.module.js +0 -25
- package/esm2015/lib/component/relation-addresses/relation-addresses.component.js +0 -157
- package/esm2015/lib/component/relation-addresses/relation-addresses.module.js +0 -31
- package/esm2015/lib/component/relation-avatar/relation-avatar.component.js +0 -226
- package/esm2015/lib/component/relation-avatar/relation-avatar.module.js +0 -22
- package/esm2015/lib/component/relation-contact-options/relation-contact-option-list.component.js +0 -116
- package/esm2015/lib/component/relation-contact-options/relation-contact-option.component.js +0 -110
- package/esm2015/lib/component/relation-contact-options/relation-contact-options-other-types-popup.component.js +0 -44
- package/esm2015/lib/component/relation-contact-options/relation-contact-options.component.js +0 -185
- package/esm2015/lib/component/relation-contact-options/relation-contact-options.module.js +0 -35
- package/esm2015/lib/component/relation-documents/relation-documents.component.js +0 -97
- package/esm2015/lib/component/relation-documents/relation-documents.module.js +0 -24
- package/esm2015/lib/component/relation-first-name/relation-first-name.component.js +0 -35
- package/esm2015/lib/component/relation-first-name/relation-first-name.module.js +0 -24
- package/esm2015/lib/component/relation-gender/relation-gender.component.js +0 -50
- package/esm2015/lib/component/relation-gender/relation-gender.module.js +0 -23
- package/esm2015/lib/component/relation-initials/relation-initials.component.js +0 -34
- package/esm2015/lib/component/relation-initials/relation-initials.module.js +0 -24
- package/esm2015/lib/component/relation-language/relation-language.component.js +0 -66
- package/esm2015/lib/component/relation-language/relation-language.module.js +0 -25
- package/esm2015/lib/component/relation-last-name/relation-last-name.component.js +0 -33
- package/esm2015/lib/component/relation-last-name/relation-last-name.module.js +0 -24
- package/esm2015/lib/component/relation-preferences/relation-preferences.component.js +0 -69
- package/esm2015/lib/component/relation-preferences/relation-preferences.module.js +0 -23
- package/esm2015/lib/component/relation-prefix-name/relation-prefix-name.component.js +0 -34
- package/esm2015/lib/component/relation-prefix-name/relation-prefix-name.module.js +0 -24
- package/esm2015/lib/component/relation-title/relation-title.component.js +0 -67
- package/esm2015/lib/component/relation-title/relation-title.module.js +0 -25
- package/esm2015/lib/enum/icon.enum.js +0 -19
- package/esm2015/lib/enum/language-code.enum.js +0 -8
- package/esm2015/lib/enum/relman-cfg-name.enum.js +0 -862
- package/esm2015/lib/enum/relman-contact-options-cfg-names.js +0 -2
- package/esm2015/lib/enum/relman-sub-category.enum.js +0 -13
- package/esm2015/lib/interface/relation-address-cfg-names.interface.js +0 -2
- package/esm2015/lib/model/icon-svg.js +0 -18
- package/esm2015/lib/model/relation-settings-options.js +0 -7
- package/esm2015/lib/model/relation-settings.js +0 -9
- package/esm2015/lib/relation-version.js +0 -10
- package/esm2015/lib/res/dictionary/dictionaries.js +0 -9
- package/esm2015/lib/service/error.service.js +0 -75
- package/esm2015/lib/service/icon-cache.service.js +0 -51
- package/esm2015/lib/service/relation-base.service.js +0 -271
- package/esm2015/lib/service/relation-connector-adapter.service.js +0 -413
- package/esm2015/lib/service/relation-connector.service.js +0 -160
- package/esm2015/lib/service/relation-event.service.js +0 -16
- package/esm2015/lib/service/relation-screen-configuration.service.js +0 -51
- package/esm2015/lib/service/relation-settings.service.js +0 -65
- package/esm2015/lib/service/relation.service.js +0 -42
- package/esm2015/lib/translation/relation-dictionary.service.js +0 -77
- package/esm2015/lib/translation/relation-localize.pipe.js +0 -26
- package/esm2015/lib/translation/relation-translation.module.js +0 -26
- package/esm2015/lib/translation/relation-translation.service.js +0 -17
- package/esm2015/public_api.js +0 -34
- package/fesm2015/colijnit-relation.js +0 -4293
- package/fesm2015/colijnit-relation.js.map +0 -1
- package/lib/component/base/relation-base.component.d.ts +0 -23
- package/lib/component/base/relation-loader.component.d.ts +0 -12
- package/lib/component/base/relation-screen-config-base.component.d.ts +0 -14
- package/lib/component/relation/relation.component.d.ts +0 -36
- package/lib/component/relation/relation.module.d.ts +0 -2
- package/lib/component/relation-address/relation-address.component.d.ts +0 -35
- package/lib/component/relation-address/relation-address.module.d.ts +0 -2
- package/lib/component/relation-address-tile/relation-address-tile.component.d.ts +0 -19
- package/lib/component/relation-address-tile/relation-address-tile.module.d.ts +0 -2
- package/lib/component/relation-addresses/relation-addresses.component.d.ts +0 -31
- package/lib/component/relation-addresses/relation-addresses.module.d.ts +0 -2
- package/lib/component/relation-avatar/relation-avatar.component.d.ts +0 -47
- package/lib/component/relation-avatar/relation-avatar.module.d.ts +0 -2
- package/lib/component/relation-contact-options/relation-contact-option-list.component.d.ts +0 -24
- package/lib/component/relation-contact-options/relation-contact-option.component.d.ts +0 -34
- package/lib/component/relation-contact-options/relation-contact-options-other-types-popup.component.d.ts +0 -22
- package/lib/component/relation-contact-options/relation-contact-options.component.d.ts +0 -44
- package/lib/component/relation-contact-options/relation-contact-options.module.d.ts +0 -2
- package/lib/component/relation-documents/relation-documents.component.d.ts +0 -18
- package/lib/component/relation-documents/relation-documents.module.d.ts +0 -2
- package/lib/component/relation-first-name/relation-first-name.component.d.ts +0 -4
- package/lib/component/relation-first-name/relation-first-name.module.d.ts +0 -2
- package/lib/component/relation-gender/relation-gender.component.d.ts +0 -7
- package/lib/component/relation-gender/relation-gender.module.d.ts +0 -2
- package/lib/component/relation-initials/relation-initials.component.d.ts +0 -4
- package/lib/component/relation-initials/relation-initials.module.d.ts +0 -2
- package/lib/component/relation-language/relation-language.component.d.ts +0 -12
- package/lib/component/relation-language/relation-language.module.d.ts +0 -2
- package/lib/component/relation-last-name/relation-last-name.component.d.ts +0 -4
- package/lib/component/relation-last-name/relation-last-name.module.d.ts +0 -2
- package/lib/component/relation-preferences/relation-preferences.component.d.ts +0 -13
- package/lib/component/relation-preferences/relation-preferences.module.d.ts +0 -2
- package/lib/component/relation-prefix-name/relation-prefix-name.component.d.ts +0 -4
- package/lib/component/relation-prefix-name/relation-prefix-name.module.d.ts +0 -2
- package/lib/component/relation-title/relation-title.component.d.ts +0 -13
- package/lib/component/relation-title/relation-title.module.d.ts +0 -2
- package/lib/enum/icon.enum.d.ts +0 -17
- package/lib/enum/language-code.enum.d.ts +0 -6
- package/lib/enum/relman-cfg-name.enum.d.ts +0 -857
- package/lib/enum/relman-contact-options-cfg-names.d.ts +0 -6
- package/lib/enum/relman-sub-category.enum.d.ts +0 -10
- package/lib/interface/relation-address-cfg-names.interface.d.ts +0 -8
- package/lib/model/icon-svg.d.ts +0 -4
- package/lib/model/relation-settings-options.d.ts +0 -4
- package/lib/model/relation-settings.d.ts +0 -5
- package/lib/relation-version.d.ts +0 -6
- package/lib/res/dictionary/dictionaries.d.ts +0 -31988
- package/lib/service/error.service.d.ts +0 -11
- package/lib/service/icon-cache.service.d.ts +0 -18
- package/lib/service/relation-base.service.d.ts +0 -65
- package/lib/service/relation-connector-adapter.service.d.ts +0 -67
- package/lib/service/relation-connector.service.d.ts +0 -52
- package/lib/service/relation-event.service.d.ts +0 -6
- package/lib/service/relation-screen-configuration.service.d.ts +0 -13
- package/lib/service/relation-settings.service.d.ts +0 -16
- package/lib/service/relation.service.d.ts +0 -10
- package/lib/translation/relation-dictionary.service.d.ts +0 -19
- package/lib/translation/relation-localize.pipe.d.ts +0 -7
- package/lib/translation/relation-translation.module.d.ts +0 -4
- package/lib/translation/relation-translation.service.d.ts +0 -6
- package/public_api.d.ts +0 -33
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { RelationService } from '../../service/relation.service';
|
|
3
|
-
import { RelationConnectorService } from '../../service/relation-connector.service';
|
|
4
|
-
import { Subscription } from 'rxjs';
|
|
5
|
-
import { RelationEventService } from '../../service/relation-event.service';
|
|
6
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
7
|
-
import { Icon } from '../../enum/icon.enum';
|
|
8
|
-
import { RelationAnyType } from '@colijnit/relationapi/build/model/relation-any-type';
|
|
9
|
-
export declare abstract class RelationBaseComponent implements OnInit, OnDestroy {
|
|
10
|
-
relationService: RelationService;
|
|
11
|
-
iconCacheService: IconCacheService;
|
|
12
|
-
protected relationConnectorService: RelationConnectorService;
|
|
13
|
-
protected relationEventService: RelationEventService;
|
|
14
|
-
readonly icons: typeof Icon;
|
|
15
|
-
set relation(value: RelationAnyType);
|
|
16
|
-
get relation(): RelationAnyType;
|
|
17
|
-
relationChange: EventEmitter<RelationAnyType>;
|
|
18
|
-
protected subs: Subscription[];
|
|
19
|
-
constructor(relationService: RelationService, iconCacheService: IconCacheService, relationConnectorService: RelationConnectorService, relationEventService: RelationEventService);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
protected relationSet(): void;
|
|
23
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { RelationEventService } from '../../service/relation-event.service';
|
|
3
|
-
export declare class RelationLoaderComponent implements OnInit, OnDestroy {
|
|
4
|
-
private _relationEventService;
|
|
5
|
-
showLoader: boolean;
|
|
6
|
-
private _loaderSub;
|
|
7
|
-
private _showLoaderTimeout;
|
|
8
|
-
constructor(_relationEventService: RelationEventService);
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
_setShowLoader(show: boolean): void;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ScreenConfigAdapterComponent } from '@colijnit/corecomponents_v12';
|
|
2
|
-
import { RelationBaseComponent } from './relation-base.component';
|
|
3
|
-
import { RelmanCfgName } from '../../enum/relman-cfg-name.enum';
|
|
4
|
-
export declare abstract class RelationScreenConfigBaseComponent extends RelationBaseComponent implements ScreenConfigAdapterComponent {
|
|
5
|
-
readonly cfgName: typeof RelmanCfgName;
|
|
6
|
-
decimals: number;
|
|
7
|
-
forceReadonly: boolean;
|
|
8
|
-
hidden: boolean;
|
|
9
|
-
maxLength: number;
|
|
10
|
-
objectConfigName: string;
|
|
11
|
-
readonly: boolean;
|
|
12
|
-
redErrorBackground: boolean;
|
|
13
|
-
required: boolean;
|
|
14
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CoreComponentsTranslationService } from '@colijnit/corecomponents_v12';
|
|
3
|
-
import { RelationEventService } from '../../service/relation-event.service';
|
|
4
|
-
import { RelationSettingsService } from '../../service/relation-settings.service';
|
|
5
|
-
import { RelationAnyType } from '@colijnit/relationapi/build/model/relation-any-type';
|
|
6
|
-
import { RelationService } from '../../service/relation.service';
|
|
7
|
-
import { RelationConnectorService } from '../../service/relation-connector.service';
|
|
8
|
-
import { Title } from "@colijnit/mainapi/build/model/title.bo";
|
|
9
|
-
import { IconCacheService } from "../../service/icon-cache.service";
|
|
10
|
-
import { Icon } from "../../enum/icon.enum";
|
|
11
|
-
import { RelmanCfgName } from '../../enum/relman-cfg-name.enum';
|
|
12
|
-
export declare class RelationComponent implements OnInit, OnDestroy {
|
|
13
|
-
protected relationEventService: RelationEventService;
|
|
14
|
-
private _translationService;
|
|
15
|
-
private _settingsService;
|
|
16
|
-
private _relationConnectorService;
|
|
17
|
-
private _relationService;
|
|
18
|
-
iconCacheService: IconCacheService;
|
|
19
|
-
readonly icons: typeof Icon;
|
|
20
|
-
readonly relmanCfgNames: typeof RelmanCfgName;
|
|
21
|
-
loadRelationFromLoginResponse: boolean;
|
|
22
|
-
forceReadOnly: boolean;
|
|
23
|
-
customerPortal: boolean;
|
|
24
|
-
showClass(): boolean;
|
|
25
|
-
relation: RelationAnyType;
|
|
26
|
-
relationTitle: string;
|
|
27
|
-
collection: Title[];
|
|
28
|
-
private _subs;
|
|
29
|
-
constructor(relationEventService: RelationEventService, _translationService: CoreComponentsTranslationService, _settingsService: RelationSettingsService, _relationConnectorService: RelationConnectorService, _relationService: RelationService, iconCacheService: IconCacheService);
|
|
30
|
-
ngOnInit(): Promise<void>;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
handleSaveClick(): Promise<void>;
|
|
33
|
-
getTitleCollection(): Promise<void>;
|
|
34
|
-
getTitleForRelation(relation: RelationAnyType): string;
|
|
35
|
-
getGenderLabel(gender: string): string;
|
|
36
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { RelationAddressCfgNames } from '../../interface/relation-address-cfg-names.interface';
|
|
3
|
-
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
4
|
-
import { Country } from '@colijnit/ioneconnector/build/model/country.bo';
|
|
5
|
-
import { FormMasterService } from '@colijnit/corecomponents_v12';
|
|
6
|
-
import { RelationService } from '../../service/relation.service';
|
|
7
|
-
import { RelationConnectorService } from '../../service/relation-connector.service';
|
|
8
|
-
import { RelationDictionaryService } from '../../translation/relation-dictionary.service';
|
|
9
|
-
export declare class RelationAddressComponent implements OnInit {
|
|
10
|
-
private _dictionary;
|
|
11
|
-
private _relationConnectorService;
|
|
12
|
-
private _formMasterService;
|
|
13
|
-
protected relationService: RelationService;
|
|
14
|
-
configNames: RelationAddressCfgNames;
|
|
15
|
-
set address(value: Address);
|
|
16
|
-
get address(): Address;
|
|
17
|
-
addressChange: EventEmitter<Address>;
|
|
18
|
-
showClass(): boolean;
|
|
19
|
-
countries: Country[];
|
|
20
|
-
fields: Object;
|
|
21
|
-
countryModel: Country;
|
|
22
|
-
postalCodeCheckErrorMessage: string;
|
|
23
|
-
private _prevPostalCodeForCheck;
|
|
24
|
-
private _prevHouseNoForCheck;
|
|
25
|
-
private _address;
|
|
26
|
-
constructor(_dictionary: RelationDictionaryService, _relationConnectorService: RelationConnectorService, _formMasterService: FormMasterService, relationService: RelationService);
|
|
27
|
-
ngOnInit(): Promise<void>;
|
|
28
|
-
checkForPostalCodeCheckError(): Promise<void>;
|
|
29
|
-
changeHouseNo(): void;
|
|
30
|
-
handleCountryChange(country: Country): void;
|
|
31
|
-
handlePostalCodeChange(): void;
|
|
32
|
-
handleStreetChange(): void;
|
|
33
|
-
handleCityChange(): void;
|
|
34
|
-
private _setSelectedAddress;
|
|
35
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
3
|
-
import { Icon } from '../../enum/icon.enum';
|
|
4
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
5
|
-
export declare class RelationAddressTileComponent {
|
|
6
|
-
iconCacheService: IconCacheService;
|
|
7
|
-
readonly icons: typeof Icon;
|
|
8
|
-
showClass: boolean;
|
|
9
|
-
address: Address;
|
|
10
|
-
readonly: boolean;
|
|
11
|
-
selected: boolean;
|
|
12
|
-
actAsAddTile: boolean;
|
|
13
|
-
selectedChange: EventEmitter<Address>;
|
|
14
|
-
addAddressClicked: EventEmitter<void>;
|
|
15
|
-
editAddressClicked: EventEmitter<Address>;
|
|
16
|
-
constructor(iconCacheService: IconCacheService);
|
|
17
|
-
handleEditAddressClick(event: MouseEvent): void;
|
|
18
|
-
handleSelectedChange(address: Address): void;
|
|
19
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Address } from '@colijnit/relationapi/build/model/address.bo';
|
|
2
|
-
import { AddressType } from '@colijnit/relationapi/build/enum/address-type.enum';
|
|
3
|
-
import { RelationScreenConfigBaseComponent } from '../base/relation-screen-config-base.component';
|
|
4
|
-
import { FormMasterService } from '@colijnit/corecomponents_v12';
|
|
5
|
-
import { RelationService } from '../../service/relation.service';
|
|
6
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
7
|
-
import { RelationConnectorService } from '../../service/relation-connector.service';
|
|
8
|
-
import { RelationEventService } from '../../service/relation-event.service';
|
|
9
|
-
export declare class RelationAddressesComponent extends RelationScreenConfigBaseComponent {
|
|
10
|
-
relationService: RelationService;
|
|
11
|
-
iconCacheService: IconCacheService;
|
|
12
|
-
protected relationConnectorService: RelationConnectorService;
|
|
13
|
-
protected relationEventService: RelationEventService;
|
|
14
|
-
private _formMasterService;
|
|
15
|
-
readonly addressType: typeof AddressType;
|
|
16
|
-
showClass(): boolean;
|
|
17
|
-
deliveryAddresses: Address[];
|
|
18
|
-
invoiceAddresses: Address[];
|
|
19
|
-
addressToEdit: Address;
|
|
20
|
-
selectedNawNr: number;
|
|
21
|
-
showEditAddressDialog: boolean;
|
|
22
|
-
private _boFactory;
|
|
23
|
-
constructor(relationService: RelationService, iconCacheService: IconCacheService, relationConnectorService: RelationConnectorService, relationEventService: RelationEventService, _formMasterService: FormMasterService);
|
|
24
|
-
submitForm(): void;
|
|
25
|
-
saveAddress(address: Address): Promise<void>;
|
|
26
|
-
changeAddress(address: Address): void;
|
|
27
|
-
showNewAddressDialog(type: AddressType): void;
|
|
28
|
-
editAddress(addr: Address): void;
|
|
29
|
-
protected relationSet(): void;
|
|
30
|
-
private _setAddresses;
|
|
31
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
|
|
3
|
-
import { RelationConnectorService } from '../../service/relation-connector.service';
|
|
4
|
-
import { ColorSequenceService, CoreDialogService } from '@colijnit/corecomponents_v12';
|
|
5
|
-
import { RelationAnyType } from '@colijnit/relationapi/build/model/relation-any-type';
|
|
6
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
7
|
-
import { Icon } from '../../enum/icon.enum';
|
|
8
|
-
export declare class RelationAvatarComponent implements OnInit, OnDestroy {
|
|
9
|
-
iconCacheService: IconCacheService;
|
|
10
|
-
private _relationConnectorService;
|
|
11
|
-
private _colorSequenceService;
|
|
12
|
-
private _changeDetector;
|
|
13
|
-
private _dialogService;
|
|
14
|
-
readonly icons: typeof Icon;
|
|
15
|
-
input: ElementRef;
|
|
16
|
-
set image(value: CoDocument);
|
|
17
|
-
get image(): CoDocument;
|
|
18
|
-
set relationId(value: number);
|
|
19
|
-
get relationId(): number;
|
|
20
|
-
set relation(value: RelationAnyType);
|
|
21
|
-
get relation(): RelationAnyType;
|
|
22
|
-
canChangeAvatar: boolean;
|
|
23
|
-
maxUploadSizeInMb: number;
|
|
24
|
-
maxAvatarSize: number;
|
|
25
|
-
showClass(): boolean;
|
|
26
|
-
imageSrc: string;
|
|
27
|
-
backgroundColor: string;
|
|
28
|
-
onClick(): void;
|
|
29
|
-
set initials(value: string);
|
|
30
|
-
get initials(): string;
|
|
31
|
-
private _initials;
|
|
32
|
-
private _relationId;
|
|
33
|
-
private _relation;
|
|
34
|
-
private _image;
|
|
35
|
-
constructor(iconCacheService: IconCacheService, _relationConnectorService: RelationConnectorService, _colorSequenceService: ColorSequenceService, _changeDetector: ChangeDetectorRef, _dialogService: CoreDialogService);
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
uploadTheAvatar(): void;
|
|
39
|
-
onFileChangeEvent(event: any): void;
|
|
40
|
-
private _setFileAsAvatarToCurrentRelation;
|
|
41
|
-
private setDocProperties;
|
|
42
|
-
private _setImageForAvatar;
|
|
43
|
-
private _setImageFromRelation;
|
|
44
|
-
private _setRelationInitials;
|
|
45
|
-
private _getImageContent;
|
|
46
|
-
private _setBackgroundColor;
|
|
47
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ContactOption } from '@colijnit/relationapi/build/model/contact-option.bo';
|
|
3
|
-
import { CommunicationType } from '@colijnit/relationapi/build/enum/communication-type.enum';
|
|
4
|
-
import { CdkDrag, CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
|
|
5
|
-
export declare class RelationContactOptionListComponent {
|
|
6
|
-
dragDropDisabled: boolean;
|
|
7
|
-
type: CommunicationType;
|
|
8
|
-
collection: ContactOption[];
|
|
9
|
-
deleteClick: EventEmitter<ContactOption>;
|
|
10
|
-
showClass: boolean;
|
|
11
|
-
dragStartDelay: number;
|
|
12
|
-
private _mouseDownTimeout;
|
|
13
|
-
handleCanDragDrop: (drag: CdkDrag, drop: CdkDropList) => boolean;
|
|
14
|
-
handleDrop(event: CdkDragDrop<ContactOption[]>): Promise<void>;
|
|
15
|
-
/**
|
|
16
|
-
* Hack to make sure that dragged item has the right css when not moving the mouse
|
|
17
|
-
* @param event
|
|
18
|
-
*/
|
|
19
|
-
handleOptionMouseDown(event: MouseEvent): void;
|
|
20
|
-
handleOptionMouseUp(event: MouseEvent): void;
|
|
21
|
-
handleSequenceUp(option: ContactOption): void;
|
|
22
|
-
handleSequenceDown(option: ContactOption): void;
|
|
23
|
-
private _reArrangeSequences;
|
|
24
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { CommunicationType } from '@colijnit/relationapi/build/enum/communication-type.enum';
|
|
3
|
-
import { Icon } from '../../enum/icon.enum';
|
|
4
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
5
|
-
import { ContactOption } from '@colijnit/relationapi/build/model/contact-option.bo';
|
|
6
|
-
import { InputTextComponent } from '@colijnit/corecomponents_v12';
|
|
7
|
-
import { RelationService } from '../../service/relation.service';
|
|
8
|
-
export declare class RelationContactOptionComponent implements OnInit {
|
|
9
|
-
iconCacheService: IconCacheService;
|
|
10
|
-
private _relationService;
|
|
11
|
-
readonly icons: typeof Icon;
|
|
12
|
-
set child(content: any);
|
|
13
|
-
set model(value: ContactOption);
|
|
14
|
-
get model(): ContactOption;
|
|
15
|
-
set type(value: CommunicationType);
|
|
16
|
-
shouldFocus: boolean;
|
|
17
|
-
get type(): CommunicationType;
|
|
18
|
-
screenConfigObjectName: string;
|
|
19
|
-
saveClick: EventEmitter<ContactOption>;
|
|
20
|
-
deleteClick: EventEmitter<ContactOption>;
|
|
21
|
-
sequenceChangeUp: EventEmitter<ContactOption>;
|
|
22
|
-
sequenceChangeDown: EventEmitter<ContactOption>;
|
|
23
|
-
showClass: boolean;
|
|
24
|
-
iconType: Icon;
|
|
25
|
-
label: string;
|
|
26
|
-
input: InputTextComponent;
|
|
27
|
-
showSequenceArrows: boolean;
|
|
28
|
-
private _model;
|
|
29
|
-
private _type;
|
|
30
|
-
constructor(iconCacheService: IconCacheService, _relationService: RelationService);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
handleCommit(value: string): Promise<boolean>;
|
|
33
|
-
private _prepareType;
|
|
34
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { CommunicationType } from '@colijnit/relationapi/build/enum/communication-type.enum';
|
|
3
|
-
import { Icon } from '../../enum/icon.enum';
|
|
4
|
-
import { RelationService } from '../../service/relation.service';
|
|
5
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
6
|
-
export interface otherType {
|
|
7
|
-
type: CommunicationType;
|
|
8
|
-
icon: Icon;
|
|
9
|
-
label: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class RelationContactOptionsOtherTypesPopupComponent implements OnInit {
|
|
12
|
-
iconCacheService: IconCacheService;
|
|
13
|
-
private _relationService;
|
|
14
|
-
readonly icons: typeof Icon;
|
|
15
|
-
parentForOverlay: ElementRef;
|
|
16
|
-
typeClick: EventEmitter<CommunicationType>;
|
|
17
|
-
clickedOutside: EventEmitter<void>;
|
|
18
|
-
showClass: boolean;
|
|
19
|
-
types: otherType[];
|
|
20
|
-
constructor(iconCacheService: IconCacheService, _relationService: RelationService);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { RelationScreenConfigBaseComponent } from '../base/relation-screen-config-base.component';
|
|
3
|
-
import { RelmanContactOptionsCfgNames } from '../../enum/relman-contact-options-cfg-names';
|
|
4
|
-
import { ContactOption } from '@colijnit/relationapi/build/model/contact-option.bo';
|
|
5
|
-
import { CommunicationType } from '@colijnit/relationapi/build/enum/communication-type.enum';
|
|
6
|
-
import { OverlayService } from '@colijnit/corecomponents_v12';
|
|
7
|
-
import { RelationService } from '../../service/relation.service';
|
|
8
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
9
|
-
import { RelationConnectorService } from '../../service/relation-connector.service';
|
|
10
|
-
import { RelationEventService } from '../../service/relation-event.service';
|
|
11
|
-
export declare class RelationContactOptionsComponent extends RelationScreenConfigBaseComponent {
|
|
12
|
-
relationService: RelationService;
|
|
13
|
-
iconCacheService: IconCacheService;
|
|
14
|
-
protected relationConnectorService: RelationConnectorService;
|
|
15
|
-
protected relationEventService: RelationEventService;
|
|
16
|
-
private _overlayService;
|
|
17
|
-
private _changeDetector;
|
|
18
|
-
readonly commType: typeof CommunicationType;
|
|
19
|
-
readonly generalContactOptionsCfgNames: RelmanContactOptionsCfgNames;
|
|
20
|
-
overlayParent: ElementRef;
|
|
21
|
-
showClass(): boolean;
|
|
22
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
23
|
-
emailContactOptions: ContactOption[];
|
|
24
|
-
phoneContactOptions: ContactOption[];
|
|
25
|
-
otherContactOptions: ContactOption[];
|
|
26
|
-
showNewEmail: boolean;
|
|
27
|
-
showNewPhone: boolean;
|
|
28
|
-
showNewOther: boolean;
|
|
29
|
-
newOtherType: CommunicationType;
|
|
30
|
-
shouldFocus: boolean;
|
|
31
|
-
showAddContact: boolean;
|
|
32
|
-
emailScreenConfigurationObject: string;
|
|
33
|
-
phoneScreenConfigurationObject: string;
|
|
34
|
-
private _otherTypePopupComponentRef;
|
|
35
|
-
constructor(relationService: RelationService, iconCacheService: IconCacheService, relationConnectorService: RelationConnectorService, relationEventService: RelationEventService, _overlayService: OverlayService, _changeDetector: ChangeDetectorRef);
|
|
36
|
-
showNewOtherPopup(): void;
|
|
37
|
-
hideNewOtherPopup(): void;
|
|
38
|
-
addContactOption(option: ContactOption): Promise<void>;
|
|
39
|
-
handleDeleteOption(option: ContactOption): void;
|
|
40
|
-
protected relationSet(): void;
|
|
41
|
-
private _handleCreateOtherType;
|
|
42
|
-
private _getCollection;
|
|
43
|
-
private _resetNew;
|
|
44
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { RelationAnyType } from "@colijnit/relationapi/build/model/relation-any-type";
|
|
2
|
-
import { CoDocument } from "@colijnit/mainapi/build/model/co-document.bo";
|
|
3
|
-
import { Icon } from "../../enum/icon.enum";
|
|
4
|
-
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
|
-
export declare class RelationDocumentsComponent {
|
|
6
|
-
iconCacheService: IconCacheService;
|
|
7
|
-
readonly icons: typeof Icon;
|
|
8
|
-
private _relation;
|
|
9
|
-
set relation(value: RelationAnyType);
|
|
10
|
-
get relation(): RelationAnyType;
|
|
11
|
-
get documentsCollection(): CoDocument[];
|
|
12
|
-
constructor(iconCacheService: IconCacheService);
|
|
13
|
-
showDocument(relDocument: CoDocument): void;
|
|
14
|
-
downloadDocument(relDocument: CoDocument, event: MouseEvent): Promise<void>;
|
|
15
|
-
getDocumentFileExtension(relDocument: CoDocument): string;
|
|
16
|
-
formatDate(date: string | Date): string;
|
|
17
|
-
private documentHasKlantportaalTag;
|
|
18
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RelationScreenConfigBaseComponent } from '../base/relation-screen-config-base.component';
|
|
2
|
-
import { GenderType } from '@colijnit/relationapi/build/enum/gender-type.enum';
|
|
3
|
-
export declare class RelationGenderComponent extends RelationScreenConfigBaseComponent {
|
|
4
|
-
readonly genderType: typeof GenderType;
|
|
5
|
-
showClass(): boolean;
|
|
6
|
-
changeGenderType(value: GenderType): void;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RelationScreenConfigBaseComponent } from '../base/relation-screen-config-base.component';
|
|
2
|
-
import { Language } from '@colijnit/mainapi/build/model/language.bo';
|
|
3
|
-
export declare class RelationLanguageComponent extends RelationScreenConfigBaseComponent {
|
|
4
|
-
showClass(): boolean;
|
|
5
|
-
collection: Language[];
|
|
6
|
-
language: Language;
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
handleLanguageChange(language: Language): void;
|
|
9
|
-
protected relationSet(): void;
|
|
10
|
-
private _getData;
|
|
11
|
-
private _setModel;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { RelationScreenConfigBaseComponent } from '../base/relation-screen-config-base.component';
|
|
2
|
-
import { RelationPrivacySetting } from '@colijnit/relationapi/build/model/relation-privacy-setting.bo';
|
|
3
|
-
export declare class PrivacySettingViewModel {
|
|
4
|
-
privacySetting: RelationPrivacySetting;
|
|
5
|
-
checked: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare class RelationPreferencesComponent extends RelationScreenConfigBaseComponent {
|
|
8
|
-
showClass(): boolean;
|
|
9
|
-
privacySettings: PrivacySettingViewModel[];
|
|
10
|
-
changePrivacySetting(relationPrivacySetting: RelationPrivacySetting, value: boolean): void;
|
|
11
|
-
protected relationSet(): void;
|
|
12
|
-
private _loadPrivacySettings;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { RelationScreenConfigBaseComponent } from '../base/relation-screen-config-base.component';
|
|
3
|
-
import { Title } from '@colijnit/mainapi/build/model/title.bo';
|
|
4
|
-
export declare class RelationTitleComponent extends RelationScreenConfigBaseComponent implements OnInit {
|
|
5
|
-
showClass(): boolean;
|
|
6
|
-
collection: Title[];
|
|
7
|
-
title: Title;
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
handleTitleChange(title: Title): void;
|
|
10
|
-
protected relationSet(): void;
|
|
11
|
-
private _getData;
|
|
12
|
-
private _setModel;
|
|
13
|
-
}
|
package/lib/enum/icon.enum.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
|
|
2
|
-
export declare enum Icon {
|
|
3
|
-
ArrowPointRight = "arrow_point_right",
|
|
4
|
-
CheckDuotone = "check_duotone",
|
|
5
|
-
Crossskinny = "crossskinny",
|
|
6
|
-
DownloadRegular = "download_regular",
|
|
7
|
-
Email = "email",
|
|
8
|
-
EyeRegular = "eye_regular",
|
|
9
|
-
Mobile = "mobile",
|
|
10
|
-
PencilRegular = "pencil_regular",
|
|
11
|
-
PencilRoundOpen = "pencil_round_open",
|
|
12
|
-
Phone = "phone",
|
|
13
|
-
PlusSimple = "plus_simple",
|
|
14
|
-
Print = "print",
|
|
15
|
-
TrashBin = "TrashBin",
|
|
16
|
-
Website = "website"
|
|
17
|
-
}
|