@c8y/ngx-components 1018.503.63 → 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 (39) 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/map/map.component.mjs +2 -2
  6. package/esm2020/sub-assets/location/asset-location.component.mjs +2 -1
  7. package/fesm2015/c8y-ngx-components-ecosystem-application-plugins.mjs +19 -13
  8. package/fesm2015/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
  9. package/fesm2015/c8y-ngx-components-ecosystem.mjs +30 -20
  10. package/fesm2015/c8y-ngx-components-ecosystem.mjs.map +1 -1
  11. package/fesm2015/c8y-ngx-components-map.mjs +2 -1
  12. package/fesm2015/c8y-ngx-components-map.mjs.map +1 -1
  13. package/fesm2015/c8y-ngx-components-sub-assets.mjs +1 -0
  14. package/fesm2015/c8y-ngx-components-sub-assets.mjs.map +1 -1
  15. package/fesm2015/c8y-ngx-components.mjs +15 -20
  16. package/fesm2015/c8y-ngx-components.mjs.map +1 -1
  17. package/fesm2020/c8y-ngx-components-ecosystem-application-plugins.mjs +26 -13
  18. package/fesm2020/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
  19. package/fesm2020/c8y-ngx-components-ecosystem.mjs +38 -15
  20. package/fesm2020/c8y-ngx-components-ecosystem.mjs.map +1 -1
  21. package/fesm2020/c8y-ngx-components-map.mjs +1 -1
  22. package/fesm2020/c8y-ngx-components-map.mjs.map +1 -1
  23. package/fesm2020/c8y-ngx-components-sub-assets.mjs +1 -0
  24. package/fesm2020/c8y-ngx-components-sub-assets.mjs.map +1 -1
  25. package/fesm2020/c8y-ngx-components.mjs +15 -24
  26. package/fesm2020/c8y-ngx-components.mjs.map +1 -1
  27. package/locales/de.po +56 -8
  28. package/locales/en.po +6 -0
  29. package/locales/es.po +120 -24
  30. package/locales/fr.po +111 -15
  31. package/locales/ja_JP.po +131 -35
  32. package/locales/ko.po +114 -12
  33. package/locales/nl.po +106 -10
  34. package/locales/pl.po +110 -14
  35. package/locales/pt_BR.po +134 -38
  36. package/locales/ru.po +0 -39
  37. package/locales/zh_CN.po +107 -5
  38. package/locales/zh_TW.po +109 -7
  39. package/package.json +1 -1
@@ -7559,9 +7559,9 @@ class GainsightService {
7559
7559
  */
7560
7560
  identify(sendPiiData, identifyData) {
7561
7561
  const windowRef = window;
7562
- const { id: userId, email } = identifyData.user;
7563
- const { name: tenantID } = identifyData.currentTenant;
7564
- const { instanceId } = identifyData;
7562
+ const { id: userId, email, roles } = identifyData.user;
7563
+ const { name: tenantID, customProperties, domainName } = identifyData.currentTenant;
7564
+ const { instanceId, versionUI, versionBE } = identifyData;
7565
7565
  /**
7566
7566
  * Passing ID is a minimum required data to make an identify call to Gainsight.
7567
7567
  * isUserCreatedAfterAnonymizationWasActivated parameter is passed to later distinguish between users created before and after data anonymization done by Gainsight.
@@ -7578,30 +7578,25 @@ class GainsightService {
7578
7578
  isUserCreatedAfterAnonymizationWasActivated: true,
7579
7579
  tenantID: tenantID,
7580
7580
  email: '--',
7581
- userName: '',
7582
- firstName: '',
7583
- lastName: '',
7584
- domainName: '',
7585
- versionUI: '',
7586
- versionBE: '',
7587
- userLanguage: '',
7588
- instanceId: '',
7589
- externalReference: '',
7590
- userRoles: '',
7581
+ userName: '--',
7582
+ firstName: '--',
7583
+ lastName: '--',
7584
+ domainName,
7585
+ versionUI,
7586
+ versionBE,
7587
+ userLanguage: this.translateService.currentLang,
7588
+ instanceId,
7589
+ externalReference: customProperties === null || customProperties === void 0 ? void 0 : customProperties.externalReference,
7590
+ userRoles: this.transformUserRolesToStr(roles === null || roles === void 0 ? void 0 : roles.references),
7591
7591
  customBranding: this.isCustomBranding(),
7592
7592
  fullTracking: sendPiiData
7593
7593
  };
7594
7594
  if (sendPiiData) {
7595
- const { userName, firstName, lastName, roles } = identifyData.user;
7596
- const { customProperties, domainName } = identifyData.currentTenant;
7597
- const { versionUI, versionBE } = identifyData;
7595
+ const { userName, firstName, lastName } = identifyData.user;
7598
7596
  const extendedIdentify = Object.assign(Object.assign({}, requiredIdentify), { email,
7599
7597
  userName,
7600
7598
  firstName,
7601
- lastName,
7602
- domainName,
7603
- versionUI,
7604
- versionBE, userLanguage: this.translateService.currentLang, instanceId, externalReference: customProperties === null || customProperties === void 0 ? void 0 : customProperties.externalReference, userRoles: this.transformUserRolesToStr(roles === null || roles === void 0 ? void 0 : roles.references) });
7599
+ lastName });
7605
7600
  windowRef[this.GAINSIGHT_GLOBAL_SCOPE]('identify', extendedIdentify, {
7606
7601
  id: `${tenantID}_${instanceId}`,
7607
7602
  instanceId