@colijnit/relation 12.1.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 +24 -0
- package/bundles/colijnit-relation.umd.js +4832 -0
- package/bundles/colijnit-relation.umd.js.map +1 -0
- package/colijnit-relation.d.ts +21 -0
- package/colijnit-relation.metadata.json +1 -0
- package/esm2015/colijnit-relation.js +22 -0
- package/esm2015/lib/component/base/relation-base.component.js +52 -0
- package/esm2015/lib/component/base/relation-loader.component.js +50 -0
- package/esm2015/lib/component/base/relation-screen-config-base.component.js +16 -0
- package/esm2015/lib/component/relation/relation.component.js +100 -0
- package/esm2015/lib/component/relation/relation.module.js +58 -0
- package/esm2015/lib/component/relation-address/relation-address.component.js +166 -0
- package/esm2015/lib/component/relation-address/relation-address.module.js +24 -0
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.component.js +72 -0
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.module.js +25 -0
- package/esm2015/lib/component/relation-addresses/relation-addresses.component.js +158 -0
- package/esm2015/lib/component/relation-addresses/relation-addresses.module.js +31 -0
- package/esm2015/lib/component/relation-avatar/relation-avatar.component.js +222 -0
- package/esm2015/lib/component/relation-avatar/relation-avatar.module.js +22 -0
- package/esm2015/lib/component/relation-contact-options/relation-contact-option-list.component.js +101 -0
- package/esm2015/lib/component/relation-contact-options/relation-contact-option.component.js +100 -0
- package/esm2015/lib/component/relation-contact-options/relation-contact-options-other-types-popup.component.js +44 -0
- package/esm2015/lib/component/relation-contact-options/relation-contact-options.component.js +154 -0
- package/esm2015/lib/component/relation-contact-options/relation-contact-options.module.js +34 -0
- package/esm2015/lib/component/relation-first-name/relation-first-name.component.js +25 -0
- package/esm2015/lib/component/relation-first-name/relation-first-name.module.js +24 -0
- package/esm2015/lib/component/relation-gender/relation-gender.component.js +45 -0
- package/esm2015/lib/component/relation-gender/relation-gender.module.js +23 -0
- package/esm2015/lib/component/relation-initials/relation-initials.component.js +24 -0
- package/esm2015/lib/component/relation-initials/relation-initials.module.js +24 -0
- package/esm2015/lib/component/relation-language/relation-language.component.js +56 -0
- package/esm2015/lib/component/relation-language/relation-language.module.js +24 -0
- package/esm2015/lib/component/relation-last-name/relation-last-name.component.js +23 -0
- package/esm2015/lib/component/relation-last-name/relation-last-name.module.js +24 -0
- package/esm2015/lib/component/relation-preferences/relation-preferences.component.js +69 -0
- package/esm2015/lib/component/relation-preferences/relation-preferences.module.js +23 -0
- package/esm2015/lib/component/relation-prefix-name/relation-prefix-name.component.js +24 -0
- package/esm2015/lib/component/relation-prefix-name/relation-prefix-name.module.js +24 -0
- package/esm2015/lib/component/relation-title/relation-title.component.js +56 -0
- package/esm2015/lib/component/relation-title/relation-title.module.js +24 -0
- package/esm2015/lib/enum/icon.enum.js +16 -0
- package/esm2015/lib/enum/language-code.enum.js +8 -0
- package/esm2015/lib/enum/relman-cfg-name.enum.js +862 -0
- package/esm2015/lib/enum/relman-contact-options-cfg-names.js +2 -0
- package/esm2015/lib/enum/relman-sub-category.enum.js +13 -0
- package/esm2015/lib/interface/relation-address-cfg-names.interface.js +2 -0
- package/esm2015/lib/model/icon-svg.js +15 -0
- package/esm2015/lib/model/relation-settings-options.js +7 -0
- package/esm2015/lib/model/relation-settings.js +9 -0
- package/esm2015/lib/relation-version.js +10 -0
- package/esm2015/lib/res/dictionary/dictionaries.js +9 -0
- package/esm2015/lib/service/dictionary.service.js +68 -0
- package/esm2015/lib/service/error.service.js +75 -0
- package/esm2015/lib/service/icon-cache.service.js +51 -0
- package/esm2015/lib/service/relation-base.service.js +268 -0
- package/esm2015/lib/service/relation-connector-adapter.service.js +401 -0
- package/esm2015/lib/service/relation-connector.service.js +155 -0
- package/esm2015/lib/service/relation-event.service.js +16 -0
- package/esm2015/lib/service/relation-screen-configuration.service.js +51 -0
- package/esm2015/lib/service/relation-settings.service.js +65 -0
- package/esm2015/lib/service/relation.service.js +42 -0
- package/esm2015/lib/translation/relation-dictionary.service.js +77 -0
- package/esm2015/lib/translation/relation-localize.pipe.js +26 -0
- package/esm2015/lib/translation/relation-translation.module.js +29 -0
- package/esm2015/lib/translation/relation-translation.service.js +17 -0
- package/esm2015/public_api.js +33 -0
- package/fesm2015/colijnit-relation.js +3980 -0
- package/fesm2015/colijnit-relation.js.map +1 -0
- package/lib/component/base/relation-base.component.d.ts +24 -0
- package/lib/component/base/relation-loader.component.d.ts +12 -0
- package/lib/component/base/relation-screen-config-base.component.d.ts +14 -0
- package/lib/component/relation/relation.component.d.ts +21 -0
- package/lib/component/relation/relation.module.d.ts +2 -0
- package/lib/component/relation/style/_layout.scss +46 -0
- package/lib/component/relation/style/_material-definition.scss +15 -0
- package/lib/component/relation/style/_theme.scss +12 -0
- package/lib/component/relation/style/material.scss +4 -0
- package/lib/component/relation-address/relation-address.component.d.ts +35 -0
- package/lib/component/relation-address/relation-address.module.d.ts +2 -0
- package/lib/component/relation-address/style/_layout.scss +16 -0
- package/lib/component/relation-address/style/_material-definition.scss +5 -0
- package/lib/component/relation-address/style/_theme.scss +5 -0
- package/lib/component/relation-address/style/material.scss +4 -0
- package/lib/component/relation-address-tile/relation-address-tile.component.d.ts +19 -0
- package/lib/component/relation-address-tile/relation-address-tile.module.d.ts +2 -0
- package/lib/component/relation-address-tile/style/_layout.scss +46 -0
- package/lib/component/relation-address-tile/style/_material-definition.scss +18 -0
- package/lib/component/relation-address-tile/style/_theme.scss +19 -0
- package/lib/component/relation-address-tile/style/material.scss +4 -0
- package/lib/component/relation-addresses/relation-addresses.component.d.ts +31 -0
- package/lib/component/relation-addresses/relation-addresses.module.d.ts +2 -0
- package/lib/component/relation-addresses/style/_layout.scss +26 -0
- package/lib/component/relation-addresses/style/_material-definition.scss +12 -0
- package/lib/component/relation-addresses/style/_theme.scss +20 -0
- package/lib/component/relation-addresses/style/material.scss +4 -0
- package/lib/component/relation-avatar/relation-avatar.component.d.ts +47 -0
- package/lib/component/relation-avatar/relation-avatar.module.d.ts +2 -0
- package/lib/component/relation-avatar/style/_layout.scss +44 -0
- package/lib/component/relation-avatar/style/_material-definition.scss +4 -0
- package/lib/component/relation-avatar/style/_theme.scss +9 -0
- package/lib/component/relation-avatar/style/material.scss +4 -0
- package/lib/component/relation-contact-options/relation-contact-option-list.component.d.ts +22 -0
- package/lib/component/relation-contact-options/relation-contact-option.component.d.ts +30 -0
- package/lib/component/relation-contact-options/relation-contact-options-other-types-popup.component.d.ts +22 -0
- package/lib/component/relation-contact-options/relation-contact-options.component.d.ts +40 -0
- package/lib/component/relation-contact-options/relation-contact-options.module.d.ts +2 -0
- package/lib/component/relation-contact-options/style/_layout.scss +113 -0
- package/lib/component/relation-contact-options/style/_material-definition.scss +35 -0
- package/lib/component/relation-contact-options/style/_theme.scss +48 -0
- package/lib/component/relation-contact-options/style/material.scss +4 -0
- package/lib/component/relation-first-name/relation-first-name.component.d.ts +4 -0
- package/lib/component/relation-first-name/relation-first-name.module.d.ts +2 -0
- package/lib/component/relation-first-name/style/_layout.scss +9 -0
- package/lib/component/relation-first-name/style/_material-definition.scss +3 -0
- package/lib/component/relation-first-name/style/_theme.scss +5 -0
- package/lib/component/relation-first-name/style/material.scss +4 -0
- package/lib/component/relation-gender/relation-gender.component.d.ts +7 -0
- package/lib/component/relation-gender/relation-gender.module.d.ts +2 -0
- package/lib/component/relation-gender/style/_layout.scss +8 -0
- package/lib/component/relation-gender/style/_material-definition.scss +4 -0
- package/lib/component/relation-gender/style/_theme.scss +5 -0
- package/lib/component/relation-gender/style/material.scss +4 -0
- package/lib/component/relation-initials/relation-initials.component.d.ts +4 -0
- package/lib/component/relation-initials/relation-initials.module.d.ts +2 -0
- package/lib/component/relation-initials/style/_layout.scss +9 -0
- package/lib/component/relation-initials/style/_material-definition.scss +3 -0
- package/lib/component/relation-initials/style/_theme.scss +5 -0
- package/lib/component/relation-initials/style/material.scss +4 -0
- package/lib/component/relation-language/relation-language.component.d.ts +12 -0
- package/lib/component/relation-language/relation-language.module.d.ts +2 -0
- package/lib/component/relation-language/style/_layout.scss +9 -0
- package/lib/component/relation-language/style/_material-definition.scss +3 -0
- package/lib/component/relation-language/style/_theme.scss +5 -0
- package/lib/component/relation-language/style/material.scss +4 -0
- package/lib/component/relation-last-name/relation-last-name.component.d.ts +4 -0
- package/lib/component/relation-last-name/relation-last-name.module.d.ts +2 -0
- package/lib/component/relation-last-name/style/_layout.scss +9 -0
- package/lib/component/relation-last-name/style/_material-definition.scss +3 -0
- package/lib/component/relation-last-name/style/_theme.scss +5 -0
- package/lib/component/relation-last-name/style/material.scss +4 -0
- package/lib/component/relation-preferences/relation-preferences.component.d.ts +13 -0
- package/lib/component/relation-preferences/relation-preferences.module.d.ts +2 -0
- package/lib/component/relation-preferences/style/_layout.scss +16 -0
- package/lib/component/relation-preferences/style/_material-definition.scss +8 -0
- package/lib/component/relation-preferences/style/_theme.scss +5 -0
- package/lib/component/relation-preferences/style/material.scss +4 -0
- package/lib/component/relation-prefix-name/relation-prefix-name.component.d.ts +4 -0
- package/lib/component/relation-prefix-name/relation-prefix-name.module.d.ts +2 -0
- package/lib/component/relation-prefix-name/style/_layout.scss +9 -0
- package/lib/component/relation-prefix-name/style/_material-definition.scss +3 -0
- package/lib/component/relation-prefix-name/style/_theme.scss +5 -0
- package/lib/component/relation-prefix-name/style/material.scss +4 -0
- package/lib/component/relation-title/relation-title.component.d.ts +13 -0
- package/lib/component/relation-title/relation-title.module.d.ts +2 -0
- package/lib/component/relation-title/style/_layout.scss +9 -0
- package/lib/component/relation-title/style/_material-definition.scss +3 -0
- package/lib/component/relation-title/style/_theme.scss +5 -0
- package/lib/component/relation-title/style/material.scss +4 -0
- package/lib/enum/icon.enum.d.ts +14 -0
- package/lib/enum/language-code.enum.d.ts +6 -0
- package/lib/enum/relman-cfg-name.enum.d.ts +857 -0
- package/lib/enum/relman-contact-options-cfg-names.d.ts +6 -0
- package/lib/enum/relman-sub-category.enum.d.ts +10 -0
- package/lib/interface/relation-address-cfg-names.interface.d.ts +8 -0
- package/lib/model/icon-svg.d.ts +4 -0
- package/lib/model/relation-settings-options.d.ts +4 -0
- package/lib/model/relation-settings.d.ts +5 -0
- package/lib/relation-version.d.ts +6 -0
- package/lib/res/dictionary/dictionaries.d.ts +17184 -0
- package/lib/service/dictionary.service.d.ts +18 -0
- package/lib/service/error.service.d.ts +11 -0
- package/lib/service/icon-cache.service.d.ts +18 -0
- package/lib/service/relation-base.service.d.ts +64 -0
- package/lib/service/relation-connector-adapter.service.d.ts +66 -0
- package/lib/service/relation-connector.service.d.ts +51 -0
- package/lib/service/relation-event.service.d.ts +6 -0
- package/lib/service/relation-screen-configuration.service.d.ts +13 -0
- package/lib/service/relation-settings.service.d.ts +16 -0
- package/lib/service/relation.service.d.ts +10 -0
- package/lib/style/_mixin.scss +15 -0
- package/lib/style/_variables.scss +15 -0
- package/lib/style/relation-globals.scss +7 -0
- package/lib/translation/relation-dictionary.service.d.ts +19 -0
- package/lib/translation/relation-localize.pipe.d.ts +7 -0
- package/lib/translation/relation-translation.module.d.ts +4 -0
- package/lib/translation/relation-translation.service.d.ts +6 -0
- package/package.json +30 -0
- package/public_api.d.ts +32 -0
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
private _otherTypePopupComponentRef;
|
|
31
|
+
constructor(relationService: RelationService, iconCacheService: IconCacheService, relationConnectorService: RelationConnectorService, relationEventService: RelationEventService, _overlayService: OverlayService, _changeDetector: ChangeDetectorRef);
|
|
32
|
+
showNewOtherPopup(): void;
|
|
33
|
+
hideNewOtherPopup(): void;
|
|
34
|
+
addContactOption(option: ContactOption): Promise<void>;
|
|
35
|
+
handleDeleteOption(option: ContactOption): void;
|
|
36
|
+
protected relationSet(): void;
|
|
37
|
+
private _handleCreateOtherType;
|
|
38
|
+
private _getCollection;
|
|
39
|
+
private _resetNew;
|
|
40
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
@include export-module('co-relation-contact-options-layout') {
|
|
2
|
+
.co-relation-contact-options {
|
|
3
|
+
font-family: $re-co-relation-contact-options-font-family;
|
|
4
|
+
font-size: $re-co-relation-contact-options-font-size;
|
|
5
|
+
.relation-contact-options-label {
|
|
6
|
+
font-family: $re-co-relation-contact-options-label-font-family;
|
|
7
|
+
font-size: $re-co-relation-contact-options-label-font-size;
|
|
8
|
+
margin: $re-co-relation-contact-options-label-margin;
|
|
9
|
+
}
|
|
10
|
+
.relation-contact-options-type-label-wrapper {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
margin: $re-co-relation-contact-options-label-margin;
|
|
14
|
+
gap: $re-co-relation-contact-options-label-gap;
|
|
15
|
+
.co-icon {
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
height: $re-co-relation-contact-options-label-icon-size;
|
|
18
|
+
width: $re-co-relation-contact-options-label-icon-size;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.contact-option-wrapper {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
gap: $re-co-relation-contact-options-type-gap;
|
|
25
|
+
}
|
|
26
|
+
&.adding-email-option, .adding-phone-option, .adding-other-option {
|
|
27
|
+
.co-relation-contact-option:not(.new-contact-option) {
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
pointer-events: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.co-relation-contact-option {
|
|
34
|
+
font-family: $re-co-relation-contact-options-font-family;
|
|
35
|
+
font-size: $re-co-relation-contact-options-font-size;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: $re-co-relation-contact-option-gap;
|
|
39
|
+
position: relative;
|
|
40
|
+
.co-icon {
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
height: $re-co-relation-contact-option-delete-icon-size;
|
|
43
|
+
width: $re-co-relation-contact-option-delete-icon-size;
|
|
44
|
+
}
|
|
45
|
+
&.new-contact-option {
|
|
46
|
+
margin: $re-co-relation-contact-options-type-new-option-margin;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.relation-contact-option-sequence {
|
|
50
|
+
border-radius: 50%;
|
|
51
|
+
position: absolute;
|
|
52
|
+
z-index: 1;
|
|
53
|
+
top: 2px;
|
|
54
|
+
left: 2px;
|
|
55
|
+
height: 15px;
|
|
56
|
+
width: 15px;
|
|
57
|
+
font-size: 10px;
|
|
58
|
+
align-items: center;
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.draggable-contact-option.cdk-drag-preview, can-drag.cdk-drag-preview {
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
border-radius: 4px;
|
|
66
|
+
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
67
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
68
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.draggable-contact-option.cdk-drag-placeholder, .can-drag.cdk-drag-placeholder {
|
|
72
|
+
opacity: 0.3;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.cdk-drag-animating {
|
|
76
|
+
transition: transform 200ms cubic-bezier(0, 0, 0.2, 1);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.draggable-contact-option:last-child {
|
|
80
|
+
border: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.drag-drop-list.cdk-drop-list-dragging .draggable-contact-option:not(.cdk-drag-placeholder) {
|
|
84
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.relation-contact-options-other-types-popup-content {
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
z-index: $re-co-relation-contact-options-type-popup-z-index;
|
|
91
|
+
gap: $re-co-relation-contact-options-type-popup-gap;
|
|
92
|
+
font-family: $re-co-relation-contact-options-font-family;
|
|
93
|
+
font-size: $re-co-relation-contact-options-font-size;
|
|
94
|
+
padding: $re-co-relation-contact-options-type-popup-padding;
|
|
95
|
+
border-style: $re-co-relation-contact-options-type-popup-border-style;
|
|
96
|
+
border-width: $re-co-relation-contact-options-type-popup-border-width;
|
|
97
|
+
box-shadow: $re-co-relation-contact-options-type-popup-box-shadow;
|
|
98
|
+
.other-types-wrapper {
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
gap: $re-co-relation-contact-options-type-popup-gap;
|
|
103
|
+
padding: $re-co-relation-contact-options-type-popup-item-padding;
|
|
104
|
+
.co-icon {
|
|
105
|
+
height: $re-co-relation-contact-options-type-popup-icon-size;
|
|
106
|
+
width: $re-co-relation-contact-options-type-popup-icon-size;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.other-type-label {
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
$re-co-relation-contact-options-font-family: $re-font-family !default;
|
|
2
|
+
$re-co-relation-contact-options-font-size: $re-font-size !default;
|
|
3
|
+
$re-co-relation-contact-options-font-color: $re-color-font !default;
|
|
4
|
+
|
|
5
|
+
$re-co-relation-contact-options-label-font-family: $re-font-family !default;
|
|
6
|
+
$re-co-relation-contact-options-label-font-size: $re-font-size !default;
|
|
7
|
+
|
|
8
|
+
$re-co-relation-contact-options-label-margin: 10px 0 !default;
|
|
9
|
+
$re-co-relation-contact-options-label-gap: 10px !default;
|
|
10
|
+
$re-co-relation-contact-options-label-icon-size: 15px !default;
|
|
11
|
+
$re-co-relation-contact-options-label-icon-color: $re-color-action !default;
|
|
12
|
+
$re-co-relation-contact-options-type-gap: 5px !default;
|
|
13
|
+
$re-co-relation-contact-options-type-new-option-margin: 0 0 10px 0 !default;
|
|
14
|
+
|
|
15
|
+
$re-co-relation-contact-options-sequence-background-color: #e85152 !default;
|
|
16
|
+
$re-co-relation-contact-options-sequence-color: #f7fafa !default;
|
|
17
|
+
|
|
18
|
+
$re-co-relation-contact-options-type-popup-z-index: 999 !default;
|
|
19
|
+
$re-co-relation-contact-options-type-popup-icon-size: 20px !default;
|
|
20
|
+
$re-co-relation-contact-options-type-popup-gap: 10px !default;
|
|
21
|
+
$re-co-relation-contact-options-type-popup-padding: 10px !default;
|
|
22
|
+
$re-co-relation-contact-options-type-popup-background-color: $re-color-background-popup !default;
|
|
23
|
+
$re-co-relation-contact-options-type-popup-color: $re-color-light !default;
|
|
24
|
+
$re-co-relation-contact-options-type-popup-border-style: solid !default;
|
|
25
|
+
$re-co-relation-contact-options-type-popup-border-width: 0 !default;
|
|
26
|
+
$re-co-relation-contact-options-type-popup-border-color: $re-color-border !default;
|
|
27
|
+
$re-co-relation-contact-options-type-popup-box-shadow: 2px 2px 5px 1px $re-color-border !default;
|
|
28
|
+
$re-co-relation-contact-options-type-popup-item-padding: 10px !default;
|
|
29
|
+
$re-co-relation-contact-options-type-popup-item-background-color: $re-color-background-popup-item !default;
|
|
30
|
+
$re-co-relation-contact-options-type-popup-item-color: $re-color-light !default;
|
|
31
|
+
$re-co-relation-contact-options-type-popup-item-hover-background-color: $re-color-background-popup-item-hover !default;
|
|
32
|
+
$re-co-relation-contact-options-type-popup-item-hover-color: $re-color-font !default;
|
|
33
|
+
|
|
34
|
+
$re-co-relation-contact-option-gap: 10px !default;
|
|
35
|
+
$re-co-relation-contact-option-delete-icon-size: 20px !default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@include export-module('co-relation-contact-options-theme') {
|
|
2
|
+
.co-relation-contact-options {
|
|
3
|
+
}
|
|
4
|
+
.co-relation-contact-option {
|
|
5
|
+
color: $re-co-relation-contact-options-font-color;
|
|
6
|
+
.co-icon {
|
|
7
|
+
svg {
|
|
8
|
+
fill: $re-co-relation-contact-options-label-icon-color;
|
|
9
|
+
}
|
|
10
|
+
[fill] {
|
|
11
|
+
fill: $re-co-relation-contact-options-label-icon-color;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.relation-contact-option-sequence {
|
|
16
|
+
background-color: $re-co-relation-contact-options-sequence-background-color;
|
|
17
|
+
color: $re-co-relation-contact-options-sequence-color;
|
|
18
|
+
}
|
|
19
|
+
.relation-contact-options-other-types-popup-content {
|
|
20
|
+
background-color: $re-co-relation-contact-options-type-popup-background-color;
|
|
21
|
+
border-color: $re-co-relation-contact-options-type-popup-border-color;
|
|
22
|
+
color: $re-co-relation-contact-options-type-popup-color;
|
|
23
|
+
.other-types-wrapper {
|
|
24
|
+
background-color: $re-co-relation-contact-options-type-popup-item-background-color;
|
|
25
|
+
color: $re-co-relation-contact-options-type-popup-item-color;
|
|
26
|
+
.co-icon {
|
|
27
|
+
svg {
|
|
28
|
+
fill: $re-co-relation-contact-options-type-popup-item-color;
|
|
29
|
+
}
|
|
30
|
+
[fill] {
|
|
31
|
+
fill: $re-co-relation-contact-options-type-popup-item-color;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&:hover {
|
|
35
|
+
background-color: $re-co-relation-contact-options-type-popup-item-hover-background-color;
|
|
36
|
+
color: $re-co-relation-contact-options-type-popup-item-hover-color;
|
|
37
|
+
.co-icon {
|
|
38
|
+
svg {
|
|
39
|
+
fill: $re-co-relation-contact-options-type-popup-item-hover-color;
|
|
40
|
+
}
|
|
41
|
+
[fill] {
|
|
42
|
+
fill: $re-co-relation-contact-options-type-popup-item-hover-color;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@include export-module('co-relation-preferences-layout') {
|
|
2
|
+
.co-relation-preferences {
|
|
3
|
+
font-family: $re-co-relation-preferences-font-family;
|
|
4
|
+
font-size: $re-co-relation-preferences-font-size;
|
|
5
|
+
.relation-preferences-label {
|
|
6
|
+
font-family: $re-co-relation-preferences-label-font-family;
|
|
7
|
+
font-size: $re-co-relation-preferences-label-font-size;
|
|
8
|
+
margin: $re-co-relation-preferences-label-margin;
|
|
9
|
+
}
|
|
10
|
+
.relation-preferences-wrapper {
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template-columns: auto auto;
|
|
13
|
+
gap: $re-co-relation-preferences-gap;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
$re-co-relation-preferences-font-family: $re-font-family !default;
|
|
2
|
+
$re-co-relation-preferences-font-size: $re-font-size !default;
|
|
3
|
+
$re-co-relation-preferences-font-color: $re-color-font !default;
|
|
4
|
+
$re-co-relation-preferences-gap: 5px !default;
|
|
5
|
+
|
|
6
|
+
$re-co-relation-preferences-label-font-family: $re-font-family !default;
|
|
7
|
+
$re-co-relation-preferences-label-font-size: $re-font-size !default;
|
|
8
|
+
$re-co-relation-preferences-label-margin: 10px 0 !default;
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|