@c8y/ngx-components 1023.82.8 → 1023.83.2
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/context-dashboard/index.d.ts +7 -0
- package/context-dashboard/index.d.ts.map +1 -1
- package/echart/index.d.ts +19 -0
- package/echart/index.d.ts.map +1 -1
- package/events/index.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs +9 -6
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +104 -11
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-events.mjs +1 -1
- package/fesm2022/c8y-ngx-components-events.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-table.mjs +82 -31
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +1 -5
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/locales/locales.pot +3 -3
- package/package.json +1 -1
- package/widgets/implementations/asset-table/index.d.ts +5 -1
- package/widgets/implementations/asset-table/index.d.ts.map +1 -1
|
@@ -31244,7 +31244,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
|
|
|
31244
31244
|
}] } });
|
|
31245
31245
|
|
|
31246
31246
|
const CopyDashboardDisabledReason = {
|
|
31247
|
-
PERMISSIONS: 'PERMISSIONS',
|
|
31248
31247
|
WRONG_REFERENCE: 'WRONG_REFERENCE'
|
|
31249
31248
|
};
|
|
31250
31249
|
const NEW_DASHBOARD_ROUTER_STATE_PROP = 'newDashboard';
|
|
@@ -32111,10 +32110,7 @@ class WidgetsDashboardComponent {
|
|
|
32111
32110
|
if (typeof this.isCopyDisabled === 'boolean' || this.isCopyDisabled?.state) {
|
|
32112
32111
|
return;
|
|
32113
32112
|
}
|
|
32114
|
-
if (this.isCopyDisabled?.reason === CopyDashboardDisabledReason.
|
|
32115
|
-
this.copyDisabledPopoverMsg = gettext$1('To copy this dashboard, contact your administrator to request the necessary permissions.');
|
|
32116
|
-
}
|
|
32117
|
-
else if (this.isCopyDisabled?.reason === CopyDashboardDisabledReason.WRONG_REFERENCE) {
|
|
32113
|
+
if (this.isCopyDisabled?.reason === CopyDashboardDisabledReason.WRONG_REFERENCE) {
|
|
32118
32114
|
const viewContext = this.route.parent.snapshot.data?.context;
|
|
32119
32115
|
if (viewContext) {
|
|
32120
32116
|
const ctx = viewContext.split('/').shift();
|