@c8y/ngx-components 1018.503.63 → 1018.503.71
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/core/search/inventory-search.service.d.ts +1 -0
- package/ecosystem/application-plugins/plugin-list.component.d.ts +1 -0
- package/esm2020/core/product-experience/gainsight.service.mjs +16 -25
- package/esm2020/core/search/inventory-search.service.mjs +11 -3
- package/esm2020/ecosystem/application-plugins/plugin-list.component.mjs +27 -13
- package/esm2020/ecosystem/packages/deploy-application/deploy-application.component.mjs +14 -3
- package/esm2020/map/map.component.mjs +2 -2
- package/esm2020/sub-assets/location/asset-location.component.mjs +2 -1
- package/fesm2015/c8y-ngx-components-ecosystem-application-plugins.mjs +19 -13
- package/fesm2015/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-ecosystem.mjs +30 -20
- package/fesm2015/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-map.mjs +2 -1
- package/fesm2015/c8y-ngx-components-map.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-sub-assets.mjs +1 -0
- package/fesm2015/c8y-ngx-components-sub-assets.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components.mjs +25 -22
- package/fesm2015/c8y-ngx-components.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-ecosystem-application-plugins.mjs +26 -13
- package/fesm2020/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-ecosystem.mjs +38 -15
- package/fesm2020/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-map.mjs +1 -1
- package/fesm2020/c8y-ngx-components-map.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-sub-assets.mjs +1 -0
- package/fesm2020/c8y-ngx-components-sub-assets.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components.mjs +25 -26
- package/fesm2020/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +56 -8
- package/locales/en.po +6 -0
- package/locales/es.po +120 -24
- package/locales/fr.po +111 -15
- package/locales/ja_JP.po +131 -35
- package/locales/ko.po +114 -12
- package/locales/nl.po +106 -10
- package/locales/pl.po +110 -14
- package/locales/pt_BR.po +134 -38
- package/locales/ru.po +0 -39
- package/locales/zh_CN.po +107 -5
- package/locales/zh_TW.po +109 -7
- 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
|
|
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
|
|
@@ -17496,9 +17491,10 @@ class InventorySearchService {
|
|
|
17496
17491
|
* @param pagination The currently used pagination.
|
|
17497
17492
|
*/
|
|
17498
17493
|
search(term, pagination = { currentPage: 1, pageSize: this.DEFAULT_PAGE_SIZE }) {
|
|
17499
|
-
|
|
17500
|
-
|
|
17494
|
+
const searchFilterQuery = this.getDefaultSearchQuery();
|
|
17495
|
+
return this.inventoryService.listQuery(searchFilterQuery, {
|
|
17501
17496
|
withTotalPages: true,
|
|
17497
|
+
text: term,
|
|
17502
17498
|
pageSize: pagination.pageSize,
|
|
17503
17499
|
withChildren: false,
|
|
17504
17500
|
currentPage: pagination.currentPage || 1
|
|
@@ -17540,6 +17536,13 @@ class InventorySearchService {
|
|
|
17540
17536
|
}
|
|
17541
17537
|
};
|
|
17542
17538
|
}
|
|
17539
|
+
getDefaultSearchQuery() {
|
|
17540
|
+
return {
|
|
17541
|
+
__filter: {
|
|
17542
|
+
__or: [{ __has: 'c8y_IsDeviceGroup' }, { __has: 'c8y_IsDevice' }, { __has: 'c8y_IsAsset' }]
|
|
17543
|
+
}
|
|
17544
|
+
};
|
|
17545
|
+
}
|
|
17543
17546
|
}
|
|
17544
17547
|
InventorySearchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: InventorySearchService, deps: [{ token: i1$1.InventoryService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17545
17548
|
InventorySearchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: InventorySearchService, providedIn: 'root' });
|