@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
35 lines (31 loc) • 1.3 kB
JavaScript
import { gettext } from '@c8y/ngx-components/gettext';
import { hookWidget } from '@c8y/ngx-components';
import { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';
const helpAndServiceWidgetDefinition = {
id: defaultWidgetIds.HELP_AND_SERVICE,
label: gettext('Help and service'),
description: gettext(`Displays links to help and service resources.`),
loadComponent: () => import('@c8y/ngx-components/widgets/implementations/quick-links').then(m => m.QuickLinksWidgetViewComponent),
loadConfigComponent: () => import('@c8y/ngx-components/widgets/implementations/quick-links').then(m => m.QuickLinksWidgetConfigComponent),
data: {
settings: {
noNewWidgets: true,
widgetDefaults: {
_width: 8,
_height: 4
},
ng1: {
options: {
noDeviceTarget: true,
groupsSelectable: false
}
}
}
}
};
const helpAndServiceWidgetProviders = [hookWidget(helpAndServiceWidgetDefinition)];
/**
* Generated bundle index. Do not edit.
*/
export { helpAndServiceWidgetDefinition, helpAndServiceWidgetProviders };
//# sourceMappingURL=c8y-ngx-components-widgets-definitions-help-and-service.mjs.map