@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
1 lines • 2.03 kB
Source Map (JSON)
{"version":3,"file":"c8y-ngx-components-widgets-definitions-cockpit-welcome.mjs","sources":["../../widgets/definitions/cockpit-welcome/index.ts","../../widgets/definitions/cockpit-welcome/c8y-ngx-components-widgets-definitions-cockpit-welcome.ts"],"sourcesContent":["import type { DynamicWidgetDefinition } from '@c8y/ngx-components';\nimport { gettext } from '@c8y/ngx-components/gettext';\nimport { hookWidget } from '@c8y/ngx-components';\nimport { defaultWidgetIds } from '@c8y/ngx-components/widgets/definitions';\n\nexport const cockpitWelcomeWidgetDefinition = {\n id: defaultWidgetIds.COCKPIT_WELCOME,\n label: gettext('Welcome to Cockpit'),\n description: gettext('Displays a welcome message for Cockpit'),\n loadComponent: () =>\n import('@c8y/ngx-components/widgets/implementations/cockpit-welcome').then(\n m => m.WelcomeToCockpitComponent\n ),\n previewImage: 'c8y-style-assets/welcome-widget-pr.png',\n data: {\n settings: {\n noNewWidgets: false,\n widgetDefaults: {\n _width: 24,\n _height: 6\n },\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n }\n} satisfies DynamicWidgetDefinition;\n\nexport const cockpitWelcomeWidgetProviders = [hookWidget(cockpitWelcomeWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAKO,MAAM,8BAA8B,GAAG;IAC5C,EAAE,EAAE,gBAAgB,CAAC,eAAe;AACpC,IAAA,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC;AACpC,IAAA,WAAW,EAAE,OAAO,CAAC,wCAAwC,CAAC;AAC9D,IAAA,aAAa,EAAE,MACb,OAAO,6DAA6D,CAAC,CAAC,IAAI,CACxE,CAAC,IAAI,CAAC,CAAC,yBAAyB,CACjC;AACH,IAAA,YAAY,EAAE,wCAAwC;AACtD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,cAAc,EAAE;AACd,gBAAA,MAAM,EAAE,EAAE;AACV,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;;AAGI,MAAM,6BAA6B,GAAG,CAAC,UAAU,CAAC,8BAA8B,CAAC;;AC/BxF;;AAEG;;;;"}