@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
1 lines • 2.17 kB
Source Map (JSON)
{"version":3,"file":"c8y-ngx-components-widgets-definitions-help-and-service.mjs","sources":["../../widgets/definitions/help-and-service/index.ts","../../widgets/definitions/help-and-service/c8y-ngx-components-widgets-definitions-help-and-service.ts"],"sourcesContent":["import type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext, hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const helpAndServiceWidgetDefinition = {\n id: defaultWidgetIds.HELP_AND_SERVICE,\n label: gettext('Help and service'),\n description: gettext(`Displays links to help and service resources.`),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/quick-links').then(\n m => m.QuickLinksWidgetViewComponent\n ),\n loadConfigComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/quick-links').then(\n m => m.QuickLinksWidgetConfigComponent\n ),\n data: {\n settings: {\n noNewWidgets: true,\n widgetDefaults: {\n _width: 8,\n _height: 4\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n }\n} satisfies DynamicWidgetDefinition;\n\nexport const helpAndServiceWidgetProviders = [hookWidget(helpAndServiceWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAIa,MAAA,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,gBAAgB;AACrC,IAAA,KAAK,EAAE,OAAO,CAAC,kBAAkB,CAAC;AAClC,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,6CAAA,CAA+C,CAAC;AACrE,IAAA,aAAa,EAAE,MACb,OAAO,yDAAyD,CAAC,CAAC,IAAI,CACpE,CAAC,IAAI,CAAC,CAAC,6BAA6B,CACrC;AACH,IAAA,mBAAmB,EAAE,MACnB,OAAO,yDAAyD,CAAC,CAAC,IAAI,CACpE,CAAC,IAAI,CAAC,CAAC,+BAA+B,CACvC;AACH,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,CAAC;AACT,gBAAA,OAAO,EAAE;AACV,aAAA;AACD,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE;AACnB;AACF;AACF;AACF;;AAGU,MAAA,6BAA6B,GAAG,CAAC,UAAU,CAAC,8BAA8B,CAAC;;ACjCxF;;AAEG;;;;"}