@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
|
@@ -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
|
|
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}`,
|
|
@@ -17285,9 +17276,10 @@ class InventorySearchService {
|
|
|
17285
17276
|
* @param pagination The currently used pagination.
|
|
17286
17277
|
*/
|
|
17287
17278
|
search(term, pagination = { currentPage: 1, pageSize: this.DEFAULT_PAGE_SIZE }) {
|
|
17288
|
-
|
|
17289
|
-
|
|
17279
|
+
const searchFilterQuery = this.getDefaultSearchQuery();
|
|
17280
|
+
return this.inventoryService.listQuery(searchFilterQuery, {
|
|
17290
17281
|
withTotalPages: true,
|
|
17282
|
+
text: term,
|
|
17291
17283
|
pageSize: pagination.pageSize,
|
|
17292
17284
|
withChildren: false,
|
|
17293
17285
|
currentPage: pagination.currentPage || 1
|
|
@@ -17329,6 +17321,13 @@ class InventorySearchService {
|
|
|
17329
17321
|
}
|
|
17330
17322
|
};
|
|
17331
17323
|
}
|
|
17324
|
+
getDefaultSearchQuery() {
|
|
17325
|
+
return {
|
|
17326
|
+
__filter: {
|
|
17327
|
+
__or: [{ __has: 'c8y_IsDeviceGroup' }, { __has: 'c8y_IsDevice' }, { __has: 'c8y_IsAsset' }]
|
|
17328
|
+
}
|
|
17329
|
+
};
|
|
17330
|
+
}
|
|
17332
17331
|
}
|
|
17333
17332
|
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 });
|
|
17334
17333
|
InventorySearchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: InventorySearchService, providedIn: 'root' });
|