@c8y/ngx-components 1018.503.62 → 1018.503.69

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 (40) hide show
  1. package/ecosystem/application-plugins/plugin-list.component.d.ts +1 -0
  2. package/esm2020/core/product-experience/gainsight.service.mjs +16 -25
  3. package/esm2020/ecosystem/application-plugins/plugin-list.component.mjs +27 -13
  4. package/esm2020/ecosystem/packages/deploy-application/deploy-application.component.mjs +14 -3
  5. package/esm2020/ecosystem/packages/package-details/package-details.component.mjs +3 -3
  6. package/esm2020/map/map.component.mjs +2 -2
  7. package/esm2020/sub-assets/location/asset-location.component.mjs +2 -1
  8. package/fesm2015/c8y-ngx-components-ecosystem-application-plugins.mjs +19 -13
  9. package/fesm2015/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
  10. package/fesm2015/c8y-ngx-components-ecosystem.mjs +32 -22
  11. package/fesm2015/c8y-ngx-components-ecosystem.mjs.map +1 -1
  12. package/fesm2015/c8y-ngx-components-map.mjs +2 -1
  13. package/fesm2015/c8y-ngx-components-map.mjs.map +1 -1
  14. package/fesm2015/c8y-ngx-components-sub-assets.mjs +1 -0
  15. package/fesm2015/c8y-ngx-components-sub-assets.mjs.map +1 -1
  16. package/fesm2015/c8y-ngx-components.mjs +15 -20
  17. package/fesm2015/c8y-ngx-components.mjs.map +1 -1
  18. package/fesm2020/c8y-ngx-components-ecosystem-application-plugins.mjs +26 -13
  19. package/fesm2020/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
  20. package/fesm2020/c8y-ngx-components-ecosystem.mjs +40 -17
  21. package/fesm2020/c8y-ngx-components-ecosystem.mjs.map +1 -1
  22. package/fesm2020/c8y-ngx-components-map.mjs +1 -1
  23. package/fesm2020/c8y-ngx-components-map.mjs.map +1 -1
  24. package/fesm2020/c8y-ngx-components-sub-assets.mjs +1 -0
  25. package/fesm2020/c8y-ngx-components-sub-assets.mjs.map +1 -1
  26. package/fesm2020/c8y-ngx-components.mjs +15 -24
  27. package/fesm2020/c8y-ngx-components.mjs.map +1 -1
  28. package/locales/de.po +56 -8
  29. package/locales/en.po +6 -0
  30. package/locales/es.po +120 -24
  31. package/locales/fr.po +111 -15
  32. package/locales/ja_JP.po +131 -35
  33. package/locales/ko.po +114 -12
  34. package/locales/nl.po +106 -10
  35. package/locales/pl.po +110 -14
  36. package/locales/pt_BR.po +134 -38
  37. package/locales/ru.po +0 -39
  38. package/locales/zh_CN.po +107 -5
  39. package/locales/zh_TW.po +109 -7
  40. package/package.json +1 -1
@@ -7463,9 +7463,9 @@ class GainsightService {
7463
7463
  */
7464
7464
  identify(sendPiiData, identifyData) {
7465
7465
  const windowRef = window;
7466
- const { id: userId, email } = identifyData.user;
7467
- const { name: tenantID } = identifyData.currentTenant;
7468
- const { instanceId } = identifyData;
7466
+ const { id: userId, email, roles } = identifyData.user;
7467
+ const { name: tenantID, customProperties, domainName } = identifyData.currentTenant;
7468
+ const { instanceId, versionUI, versionBE } = identifyData;
7469
7469
  /**
7470
7470
  * Passing ID is a minimum required data to make an identify call to Gainsight.
7471
7471
  * isUserCreatedAfterAnonymizationWasActivated parameter is passed to later distinguish between users created before and after data anonymization done by Gainsight.
@@ -7482,36 +7482,27 @@ class GainsightService {
7482
7482
  isUserCreatedAfterAnonymizationWasActivated: true,
7483
7483
  tenantID: tenantID,
7484
7484
  email: '--',
7485
- userName: '',
7486
- firstName: '',
7487
- lastName: '',
7488
- domainName: '',
7489
- versionUI: '',
7490
- versionBE: '',
7491
- userLanguage: '',
7492
- instanceId: '',
7493
- externalReference: '',
7494
- userRoles: '',
7485
+ userName: '--',
7486
+ firstName: '--',
7487
+ lastName: '--',
7488
+ domainName,
7489
+ versionUI,
7490
+ versionBE,
7491
+ userLanguage: this.translateService.currentLang,
7492
+ instanceId,
7493
+ externalReference: customProperties?.externalReference,
7494
+ userRoles: this.transformUserRolesToStr(roles?.references),
7495
7495
  customBranding: this.isCustomBranding(),
7496
7496
  fullTracking: sendPiiData
7497
7497
  };
7498
7498
  if (sendPiiData) {
7499
- const { userName, firstName, lastName, roles } = identifyData.user;
7500
- const { customProperties, domainName } = identifyData.currentTenant;
7501
- const { versionUI, versionBE } = identifyData;
7499
+ const { userName, firstName, lastName } = identifyData.user;
7502
7500
  const extendedIdentify = {
7503
7501
  ...requiredIdentify,
7504
7502
  email,
7505
7503
  userName,
7506
7504
  firstName,
7507
- lastName,
7508
- domainName,
7509
- versionUI,
7510
- versionBE,
7511
- userLanguage: this.translateService.currentLang,
7512
- instanceId,
7513
- externalReference: customProperties?.externalReference,
7514
- userRoles: this.transformUserRolesToStr(roles?.references)
7505
+ lastName
7515
7506
  };
7516
7507
  windowRef[this.GAINSIGHT_GLOBAL_SCOPE]('identify', extendedIdentify, {
7517
7508
  id: `${tenantID}_${instanceId}`,