@colijnit/relation 12.1.3 → 12.1.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.
Files changed (187) hide show
  1. package/README.md +24 -24
  2. package/bundles/colijnit-relation.umd.js +4649 -4649
  3. package/bundles/colijnit-relation.umd.js.map +1 -1
  4. package/colijnit-relation.d.ts +21 -21
  5. package/esm2015/colijnit-relation.js +21 -21
  6. package/esm2015/lib/component/base/relation-base.component.js +53 -53
  7. package/esm2015/lib/component/base/relation-loader.component.js +50 -50
  8. package/esm2015/lib/component/base/relation-screen-config-base.component.js +16 -16
  9. package/esm2015/lib/component/relation/relation.component.js +100 -100
  10. package/esm2015/lib/component/relation/relation.module.js +58 -58
  11. package/esm2015/lib/component/relation-address/relation-address.component.js +166 -166
  12. package/esm2015/lib/component/relation-address/relation-address.module.js +24 -24
  13. package/esm2015/lib/component/relation-address-tile/relation-address-tile.component.js +72 -72
  14. package/esm2015/lib/component/relation-address-tile/relation-address-tile.module.js +25 -25
  15. package/esm2015/lib/component/relation-addresses/relation-addresses.component.js +158 -158
  16. package/esm2015/lib/component/relation-addresses/relation-addresses.module.js +31 -31
  17. package/esm2015/lib/component/relation-avatar/relation-avatar.component.js +222 -222
  18. package/esm2015/lib/component/relation-avatar/relation-avatar.module.js +22 -22
  19. package/esm2015/lib/component/relation-contact-options/relation-contact-option-list.component.js +101 -101
  20. package/esm2015/lib/component/relation-contact-options/relation-contact-option.component.js +100 -100
  21. package/esm2015/lib/component/relation-contact-options/relation-contact-options-other-types-popup.component.js +44 -44
  22. package/esm2015/lib/component/relation-contact-options/relation-contact-options.component.js +170 -170
  23. package/esm2015/lib/component/relation-contact-options/relation-contact-options.module.js +35 -35
  24. package/esm2015/lib/component/relation-first-name/relation-first-name.component.js +25 -25
  25. package/esm2015/lib/component/relation-first-name/relation-first-name.module.js +24 -24
  26. package/esm2015/lib/component/relation-gender/relation-gender.component.js +45 -45
  27. package/esm2015/lib/component/relation-gender/relation-gender.module.js +23 -23
  28. package/esm2015/lib/component/relation-initials/relation-initials.component.js +24 -24
  29. package/esm2015/lib/component/relation-initials/relation-initials.module.js +24 -24
  30. package/esm2015/lib/component/relation-language/relation-language.component.js +56 -56
  31. package/esm2015/lib/component/relation-language/relation-language.module.js +24 -24
  32. package/esm2015/lib/component/relation-last-name/relation-last-name.component.js +23 -23
  33. package/esm2015/lib/component/relation-last-name/relation-last-name.module.js +24 -24
  34. package/esm2015/lib/component/relation-preferences/relation-preferences.component.js +69 -69
  35. package/esm2015/lib/component/relation-preferences/relation-preferences.module.js +23 -23
  36. package/esm2015/lib/component/relation-prefix-name/relation-prefix-name.component.js +24 -24
  37. package/esm2015/lib/component/relation-prefix-name/relation-prefix-name.module.js +24 -24
  38. package/esm2015/lib/component/relation-title/relation-title.component.js +56 -56
  39. package/esm2015/lib/component/relation-title/relation-title.module.js +24 -24
  40. package/esm2015/lib/enum/icon.enum.js +16 -16
  41. package/esm2015/lib/enum/language-code.enum.js +8 -8
  42. package/esm2015/lib/enum/relman-cfg-name.enum.js +862 -862
  43. package/esm2015/lib/enum/relman-contact-options-cfg-names.js +2 -2
  44. package/esm2015/lib/enum/relman-sub-category.enum.js +13 -13
  45. package/esm2015/lib/interface/relation-address-cfg-names.interface.js +2 -2
  46. package/esm2015/lib/model/icon-svg.js +15 -15
  47. package/esm2015/lib/model/relation-settings-options.js +7 -7
  48. package/esm2015/lib/model/relation-settings.js +9 -9
  49. package/esm2015/lib/relation-version.js +10 -10
  50. package/esm2015/lib/res/dictionary/dictionaries.js +9 -9
  51. package/esm2015/lib/service/dictionary.service.js +68 -68
  52. package/esm2015/lib/service/error.service.js +75 -75
  53. package/esm2015/lib/service/icon-cache.service.js +51 -51
  54. package/esm2015/lib/service/relation-base.service.js +268 -268
  55. package/esm2015/lib/service/relation-connector-adapter.service.js +401 -401
  56. package/esm2015/lib/service/relation-connector.service.js +155 -155
  57. package/esm2015/lib/service/relation-event.service.js +16 -16
  58. package/esm2015/lib/service/relation-screen-configuration.service.js +51 -51
  59. package/esm2015/lib/service/relation-settings.service.js +65 -65
  60. package/esm2015/lib/service/relation.service.js +42 -42
  61. package/esm2015/lib/translation/relation-dictionary.service.js +77 -77
  62. package/esm2015/lib/translation/relation-localize.pipe.js +26 -26
  63. package/esm2015/lib/translation/relation-translation.module.js +29 -29
  64. package/esm2015/lib/translation/relation-translation.service.js +17 -17
  65. package/esm2015/public_api.js +33 -33
  66. package/fesm2015/colijnit-relation.js +3838 -3838
  67. package/fesm2015/colijnit-relation.js.map +1 -1
  68. package/lib/component/base/relation-base.component.d.ts +24 -24
  69. package/lib/component/base/relation-loader.component.d.ts +12 -12
  70. package/lib/component/base/relation-screen-config-base.component.d.ts +14 -14
  71. package/lib/component/relation/relation.component.d.ts +21 -21
  72. package/lib/component/relation/relation.module.d.ts +2 -2
  73. package/lib/component/relation/style/_layout.scss +46 -46
  74. package/lib/component/relation/style/_material-definition.scss +15 -15
  75. package/lib/component/relation/style/_theme.scss +12 -12
  76. package/lib/component/relation/style/material.scss +4 -4
  77. package/lib/component/relation-address/relation-address.component.d.ts +35 -35
  78. package/lib/component/relation-address/relation-address.module.d.ts +2 -2
  79. package/lib/component/relation-address/style/_layout.scss +16 -16
  80. package/lib/component/relation-address/style/_material-definition.scss +5 -5
  81. package/lib/component/relation-address/style/_theme.scss +5 -5
  82. package/lib/component/relation-address/style/material.scss +4 -4
  83. package/lib/component/relation-address-tile/relation-address-tile.component.d.ts +19 -19
  84. package/lib/component/relation-address-tile/relation-address-tile.module.d.ts +2 -2
  85. package/lib/component/relation-address-tile/style/_layout.scss +46 -46
  86. package/lib/component/relation-address-tile/style/_material-definition.scss +18 -18
  87. package/lib/component/relation-address-tile/style/_theme.scss +19 -19
  88. package/lib/component/relation-address-tile/style/material.scss +4 -4
  89. package/lib/component/relation-addresses/relation-addresses.component.d.ts +31 -31
  90. package/lib/component/relation-addresses/relation-addresses.module.d.ts +2 -2
  91. package/lib/component/relation-addresses/style/_layout.scss +26 -26
  92. package/lib/component/relation-addresses/style/_material-definition.scss +12 -12
  93. package/lib/component/relation-addresses/style/_theme.scss +20 -20
  94. package/lib/component/relation-addresses/style/material.scss +4 -4
  95. package/lib/component/relation-avatar/relation-avatar.component.d.ts +47 -47
  96. package/lib/component/relation-avatar/relation-avatar.module.d.ts +2 -2
  97. package/lib/component/relation-avatar/style/_layout.scss +44 -44
  98. package/lib/component/relation-avatar/style/_material-definition.scss +4 -4
  99. package/lib/component/relation-avatar/style/_theme.scss +9 -9
  100. package/lib/component/relation-avatar/style/material.scss +4 -4
  101. package/lib/component/relation-contact-options/relation-contact-option-list.component.d.ts +22 -22
  102. package/lib/component/relation-contact-options/relation-contact-option.component.d.ts +30 -30
  103. package/lib/component/relation-contact-options/relation-contact-options-other-types-popup.component.d.ts +22 -22
  104. package/lib/component/relation-contact-options/relation-contact-options.component.d.ts +43 -43
  105. package/lib/component/relation-contact-options/relation-contact-options.module.d.ts +2 -2
  106. package/lib/component/relation-contact-options/style/_layout.scss +153 -153
  107. package/lib/component/relation-contact-options/style/_material-definition.scss +47 -47
  108. package/lib/component/relation-contact-options/style/_theme.scss +64 -64
  109. package/lib/component/relation-contact-options/style/material.scss +4 -4
  110. package/lib/component/relation-first-name/relation-first-name.component.d.ts +4 -4
  111. package/lib/component/relation-first-name/relation-first-name.module.d.ts +2 -2
  112. package/lib/component/relation-first-name/style/_layout.scss +9 -9
  113. package/lib/component/relation-first-name/style/_material-definition.scss +3 -3
  114. package/lib/component/relation-first-name/style/_theme.scss +5 -5
  115. package/lib/component/relation-first-name/style/material.scss +4 -4
  116. package/lib/component/relation-gender/relation-gender.component.d.ts +7 -7
  117. package/lib/component/relation-gender/relation-gender.module.d.ts +2 -2
  118. package/lib/component/relation-gender/style/_layout.scss +8 -8
  119. package/lib/component/relation-gender/style/_material-definition.scss +4 -4
  120. package/lib/component/relation-gender/style/_theme.scss +5 -5
  121. package/lib/component/relation-gender/style/material.scss +4 -4
  122. package/lib/component/relation-initials/relation-initials.component.d.ts +4 -4
  123. package/lib/component/relation-initials/relation-initials.module.d.ts +2 -2
  124. package/lib/component/relation-initials/style/_layout.scss +9 -9
  125. package/lib/component/relation-initials/style/_material-definition.scss +3 -3
  126. package/lib/component/relation-initials/style/_theme.scss +5 -5
  127. package/lib/component/relation-initials/style/material.scss +4 -4
  128. package/lib/component/relation-language/relation-language.component.d.ts +12 -12
  129. package/lib/component/relation-language/relation-language.module.d.ts +2 -2
  130. package/lib/component/relation-language/style/_layout.scss +9 -9
  131. package/lib/component/relation-language/style/_material-definition.scss +3 -3
  132. package/lib/component/relation-language/style/_theme.scss +5 -5
  133. package/lib/component/relation-language/style/material.scss +4 -4
  134. package/lib/component/relation-last-name/relation-last-name.component.d.ts +4 -4
  135. package/lib/component/relation-last-name/relation-last-name.module.d.ts +2 -2
  136. package/lib/component/relation-last-name/style/_layout.scss +9 -9
  137. package/lib/component/relation-last-name/style/_material-definition.scss +3 -3
  138. package/lib/component/relation-last-name/style/_theme.scss +5 -5
  139. package/lib/component/relation-last-name/style/material.scss +4 -4
  140. package/lib/component/relation-preferences/relation-preferences.component.d.ts +13 -13
  141. package/lib/component/relation-preferences/relation-preferences.module.d.ts +2 -2
  142. package/lib/component/relation-preferences/style/_layout.scss +16 -16
  143. package/lib/component/relation-preferences/style/_material-definition.scss +8 -8
  144. package/lib/component/relation-preferences/style/_theme.scss +5 -5
  145. package/lib/component/relation-preferences/style/material.scss +4 -4
  146. package/lib/component/relation-prefix-name/relation-prefix-name.component.d.ts +4 -4
  147. package/lib/component/relation-prefix-name/relation-prefix-name.module.d.ts +2 -2
  148. package/lib/component/relation-prefix-name/style/_layout.scss +9 -9
  149. package/lib/component/relation-prefix-name/style/_material-definition.scss +3 -3
  150. package/lib/component/relation-prefix-name/style/_theme.scss +5 -5
  151. package/lib/component/relation-prefix-name/style/material.scss +4 -4
  152. package/lib/component/relation-title/relation-title.component.d.ts +13 -13
  153. package/lib/component/relation-title/relation-title.module.d.ts +2 -2
  154. package/lib/component/relation-title/style/_layout.scss +9 -9
  155. package/lib/component/relation-title/style/_material-definition.scss +3 -3
  156. package/lib/component/relation-title/style/_theme.scss +5 -5
  157. package/lib/component/relation-title/style/material.scss +4 -4
  158. package/lib/enum/icon.enum.d.ts +14 -14
  159. package/lib/enum/language-code.enum.d.ts +6 -6
  160. package/lib/enum/relman-cfg-name.enum.d.ts +857 -857
  161. package/lib/enum/relman-contact-options-cfg-names.d.ts +6 -6
  162. package/lib/enum/relman-sub-category.enum.d.ts +10 -10
  163. package/lib/interface/relation-address-cfg-names.interface.d.ts +8 -8
  164. package/lib/model/icon-svg.d.ts +4 -4
  165. package/lib/model/relation-settings-options.d.ts +4 -4
  166. package/lib/model/relation-settings.d.ts +5 -5
  167. package/lib/relation-version.d.ts +6 -6
  168. package/lib/res/dictionary/dictionaries.d.ts +17184 -17184
  169. package/lib/service/dictionary.service.d.ts +18 -18
  170. package/lib/service/error.service.d.ts +11 -11
  171. package/lib/service/icon-cache.service.d.ts +18 -18
  172. package/lib/service/relation-base.service.d.ts +64 -64
  173. package/lib/service/relation-connector-adapter.service.d.ts +66 -66
  174. package/lib/service/relation-connector.service.d.ts +51 -51
  175. package/lib/service/relation-event.service.d.ts +6 -6
  176. package/lib/service/relation-screen-configuration.service.d.ts +13 -13
  177. package/lib/service/relation-settings.service.d.ts +16 -16
  178. package/lib/service/relation.service.d.ts +10 -10
  179. package/lib/style/_mixin.scss +15 -15
  180. package/lib/style/_variables.scss +15 -15
  181. package/lib/style/relation-globals.scss +7 -7
  182. package/lib/translation/relation-dictionary.service.d.ts +19 -19
  183. package/lib/translation/relation-localize.pipe.d.ts +7 -7
  184. package/lib/translation/relation-translation.module.d.ts +4 -4
  185. package/lib/translation/relation-translation.service.d.ts +6 -6
  186. package/package.json +5 -5
  187. package/public_api.d.ts +32 -32
@@ -1,19 +1,19 @@
1
- @include export-module('co-relation-address-tile-theme') {
2
- .co-relation-address-tile {
3
- .relation-address-create, .relation-address-change {
4
- .relation-address-icon {
5
- [fill] {
6
- fill: $re-co-relation-address-tile-selected-border-color;
7
- }
8
- }
9
- color: $re-co-relation-address-tile-selected-border-color;
10
- }
11
- .relation-address-edit {
12
- .relation-address-edit-icon {
13
- [fill] {
14
- fill: $re-co-relation-address-tile-edit-icon-color;
15
- }
16
- }
17
- }
18
- }
19
- }
1
+ @include export-module('co-relation-address-tile-theme') {
2
+ .co-relation-address-tile {
3
+ .relation-address-create, .relation-address-change {
4
+ .relation-address-icon {
5
+ [fill] {
6
+ fill: $re-co-relation-address-tile-selected-border-color;
7
+ }
8
+ }
9
+ color: $re-co-relation-address-tile-selected-border-color;
10
+ }
11
+ .relation-address-edit {
12
+ .relation-address-edit-icon {
13
+ [fill] {
14
+ fill: $re-co-relation-address-tile-edit-icon-color;
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,31 +1,31 @@
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
+ 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,2 +1,2 @@
1
- export declare class RelationAddressesModule {
2
- }
1
+ export declare class RelationAddressesModule {
2
+ }
@@ -1,26 +1,26 @@
1
- @include export-module('co-relation-addresses-layout') {
2
- .co-relation-addresses {
3
- font-family: $re-co-relation-addresses-font-family;
4
- font-size: $re-co-relation-addresses-font-size;
5
-
6
- .co-dialog:not(.is-mobile) .co-dialog-wrapper {
7
- //height: $tp-dialog-catalog-min-height;
8
- width: $re-co-relation-addresses-dialog-min-width;
9
- max-width: 100vw;
10
- }
11
- .relation-addresses-label {
12
- font-size: $re-co-relation-addresses-label-font-size;
13
- margin: $re-co-relation-addresses-label-margin;
14
- }
15
- .relation-address-new {
16
- display: flex;
17
- align-items: center;
18
- cursor: pointer;
19
- margin: $re-co-relation-addresses-new-address-margin;
20
- .co-icon {
21
- height: $re-co-relation-addresses-new-address-icon-size;
22
- width: $re-co-relation-addresses-new-address-icon-size;
23
- }
24
- }
25
- }
26
- }
1
+ @include export-module('co-relation-addresses-layout') {
2
+ .co-relation-addresses {
3
+ font-family: $re-co-relation-addresses-font-family;
4
+ font-size: $re-co-relation-addresses-font-size;
5
+
6
+ .co-dialog:not(.is-mobile) .co-dialog-wrapper {
7
+ //height: $tp-dialog-catalog-min-height;
8
+ width: $re-co-relation-addresses-dialog-min-width;
9
+ max-width: 100vw;
10
+ }
11
+ .relation-addresses-label {
12
+ font-size: $re-co-relation-addresses-label-font-size;
13
+ margin: $re-co-relation-addresses-label-margin;
14
+ }
15
+ .relation-address-new {
16
+ display: flex;
17
+ align-items: center;
18
+ cursor: pointer;
19
+ margin: $re-co-relation-addresses-new-address-margin;
20
+ .co-icon {
21
+ height: $re-co-relation-addresses-new-address-icon-size;
22
+ width: $re-co-relation-addresses-new-address-icon-size;
23
+ }
24
+ }
25
+ }
26
+ }
@@ -1,12 +1,12 @@
1
- $re-co-relation-addresses-font-family: $re-font-family !default;
2
- $re-co-relation-addresses-font-size: $re-font-size !default;
3
- $re-co-relation-addresses-font-color: $re-color-font !default;
4
- $re-co-relation-addresses-dialog-min-width: 400px !default;
5
- $re-co-relation-addresses-new-address-icon-size: 15px !default;
6
- $re-co-relation-addresses-new-address-margin: 5px 0 !default;
7
- $re-co-relation-addresses-new-address-color: $re-color-action !default;
8
- $re-co-relation-addresses-new-address-icon-color: $re-color-action !default;
9
-
10
- $re-co-relation-addresses-label-font-size: $re-font-size !default;
11
- $re-co-relation-addresses-label-color: $re-color-font !default;
12
- $re-co-relation-addresses-label-margin: 10px 0 !default;
1
+ $re-co-relation-addresses-font-family: $re-font-family !default;
2
+ $re-co-relation-addresses-font-size: $re-font-size !default;
3
+ $re-co-relation-addresses-font-color: $re-color-font !default;
4
+ $re-co-relation-addresses-dialog-min-width: 400px !default;
5
+ $re-co-relation-addresses-new-address-icon-size: 15px !default;
6
+ $re-co-relation-addresses-new-address-margin: 5px 0 !default;
7
+ $re-co-relation-addresses-new-address-color: $re-color-action !default;
8
+ $re-co-relation-addresses-new-address-icon-color: $re-color-action !default;
9
+
10
+ $re-co-relation-addresses-label-font-size: $re-font-size !default;
11
+ $re-co-relation-addresses-label-color: $re-color-font !default;
12
+ $re-co-relation-addresses-label-margin: 10px 0 !default;
@@ -1,20 +1,20 @@
1
- @include export-module('co-relation-addresses-theme') {
2
- .co-relation-addresses {
3
- color: $re-co-relation-addresses-font-color;
4
-
5
- .relation-address-label {
6
- color: $re-co-relation-addresses-label-color;
7
- }
8
- .relation-address-new {
9
- color: $re-co-relation-addresses-new-address-color;
10
- .co-icon {
11
- svg {
12
- fill: $re-co-relation-addresses-new-address-icon-color;
13
- }
14
- [fill] {
15
- fill: $re-co-relation-addresses-new-address-icon-color;
16
- }
17
- }
18
- }
19
- }
20
- }
1
+ @include export-module('co-relation-addresses-theme') {
2
+ .co-relation-addresses {
3
+ color: $re-co-relation-addresses-font-color;
4
+
5
+ .relation-address-label {
6
+ color: $re-co-relation-addresses-label-color;
7
+ }
8
+ .relation-address-new {
9
+ color: $re-co-relation-addresses-new-address-color;
10
+ .co-icon {
11
+ svg {
12
+ fill: $re-co-relation-addresses-new-address-icon-color;
13
+ }
14
+ [fill] {
15
+ fill: $re-co-relation-addresses-new-address-icon-color;
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,47 +1,47 @@
1
- import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
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
+ import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
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,2 +1,2 @@
1
- export declare class RelationAvatarModule {
2
- }
1
+ export declare class RelationAvatarModule {
2
+ }
@@ -1,44 +1,44 @@
1
- @include export-module('co-relation-avatar-layout') {
2
- .co-relation-avatar {
3
- font-family: $re-co-relation-avatar-font-family;
4
- position: relative;
5
- display: block;
6
- border-radius: 50%;
7
- height: $re-co-relation-avatar-size;
8
- width: auto;
9
- aspect-ratio: 1;
10
- vertical-align: middle;
11
- text-align: center;
12
- overflow: hidden;
13
- flex-shrink: 0;
14
- input {
15
- display: none;
16
- }
17
- .co-image img {
18
- height: 100%;
19
- width: auto;
20
- background-size: cover;
21
- }
22
- .relation-avatar-pencil-wrapper {
23
- position: absolute;
24
- z-index: 1;
25
- transform: translate(-50%, -50%);
26
- top: 50%;
27
- left: 50%;
28
- border-radius: 50%;
29
- opacity: 0;
30
- transition: all .2s ease-in-out;
31
- height: $re-co-relation-avatar-edit-pencil-size;
32
- width: auto;
33
- aspect-ratio: 1;
34
- .pencil-icon {
35
- cursor: pointer;
36
- height: 100%;
37
- width: 100%;
38
- }
39
- &:hover {
40
- opacity: 1;
41
- }
42
- }
43
- }
44
- }
1
+ @include export-module('co-relation-avatar-layout') {
2
+ .co-relation-avatar {
3
+ font-family: $re-co-relation-avatar-font-family;
4
+ position: relative;
5
+ display: block;
6
+ border-radius: 50%;
7
+ height: $re-co-relation-avatar-size;
8
+ width: auto;
9
+ aspect-ratio: 1;
10
+ vertical-align: middle;
11
+ text-align: center;
12
+ overflow: hidden;
13
+ flex-shrink: 0;
14
+ input {
15
+ display: none;
16
+ }
17
+ .co-image img {
18
+ height: 100%;
19
+ width: auto;
20
+ background-size: cover;
21
+ }
22
+ .relation-avatar-pencil-wrapper {
23
+ position: absolute;
24
+ z-index: 1;
25
+ transform: translate(-50%, -50%);
26
+ top: 50%;
27
+ left: 50%;
28
+ border-radius: 50%;
29
+ opacity: 0;
30
+ transition: all .2s ease-in-out;
31
+ height: $re-co-relation-avatar-edit-pencil-size;
32
+ width: auto;
33
+ aspect-ratio: 1;
34
+ .pencil-icon {
35
+ cursor: pointer;
36
+ height: 100%;
37
+ width: 100%;
38
+ }
39
+ &:hover {
40
+ opacity: 1;
41
+ }
42
+ }
43
+ }
44
+ }
@@ -1,4 +1,4 @@
1
- $re-co-relation-avatar-font-family: $re-font-family !default;
2
- $re-co-relation-avatar-size: 80px !default;
3
- $re-co-relation-avatar-edit-pencil-size: 60% !default;
4
- $re-co-relation-avatar-edit-pencil-hover-color: rgba(black, 0.5) !default;
1
+ $re-co-relation-avatar-font-family: $re-font-family !default;
2
+ $re-co-relation-avatar-size: 80px !default;
3
+ $re-co-relation-avatar-edit-pencil-size: 60% !default;
4
+ $re-co-relation-avatar-edit-pencil-hover-color: rgba(black, 0.5) !default;
@@ -1,9 +1,9 @@
1
- @include export-module('co-relation-avatar-theme') {
2
- .co-relation-avatar {
3
- .relation-avatar-pencil-wrapper {
4
- &:hover {
5
- background-color: $re-co-relation-avatar-edit-pencil-hover-color;
6
- }
7
- }
8
- }
9
- }
1
+ @include export-module('co-relation-avatar-theme') {
2
+ .co-relation-avatar {
3
+ .relation-avatar-pencil-wrapper {
4
+ &:hover {
5
+ background-color: $re-co-relation-avatar-edit-pencil-hover-color;
6
+ }
7
+ }
8
+ }
9
+ }
@@ -1,4 +1,4 @@
1
- @import "../../../style/mixin";
2
- @import "./_material-definition";
3
- @import "./_layout";
4
- @import "./_theme";
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,22 +1,22 @@
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
- private _reArrangeSequences;
22
- }
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
+ private _reArrangeSequences;
22
+ }
@@ -1,30 +1,30 @@
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
- get type(): CommunicationType;
17
- saveClick: EventEmitter<ContactOption>;
18
- deleteClick: EventEmitter<ContactOption>;
19
- showClass: boolean;
20
- iconType: Icon;
21
- label: string;
22
- input: InputTextComponent;
23
- shouldFocus: boolean;
24
- private _model;
25
- private _type;
26
- constructor(iconCacheService: IconCacheService, _relationService: RelationService);
27
- ngOnInit(): void;
28
- handleCommit(value: string): Promise<boolean>;
29
- private _prepareType;
30
- }
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
+ get type(): CommunicationType;
17
+ saveClick: EventEmitter<ContactOption>;
18
+ deleteClick: EventEmitter<ContactOption>;
19
+ showClass: boolean;
20
+ iconType: Icon;
21
+ label: string;
22
+ input: InputTextComponent;
23
+ shouldFocus: boolean;
24
+ private _model;
25
+ private _type;
26
+ constructor(iconCacheService: IconCacheService, _relationService: RelationService);
27
+ ngOnInit(): void;
28
+ handleCommit(value: string): Promise<boolean>;
29
+ private _prepareType;
30
+ }
@@ -1,22 +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
- }
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
+ }