@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
1 lines • 1.86 kB
Source Map (JSON)
{"version":3,"file":"c8y-ngx-components-widgets-definitions-cockpit-legacy-welcome.mjs","sources":["../../widgets/definitions/cockpit-legacy-welcome/index.ts","../../widgets/definitions/cockpit-legacy-welcome/c8y-ngx-components-widgets-definitions-cockpit-legacy-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 legacyCockpitWelcomeWidgetDefinition = {\n id: defaultWidgetIds.LEGACY_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-legacy-welcome').then(\n m => m.CockpitLegacyWelcomeWidgetComponent\n ),\n data: {\n settings: {\n noNewWidgets: true,\n ng1: {\n options: {\n noDeviceTarget: true,\n groupsSelectable: false\n }\n }\n }\n }\n} satisfies DynamicWidgetDefinition;\n\nexport const legacyCockpitWelcomeWidgetProviders = [\n hookWidget(legacyCockpitWelcomeWidgetDefinition)\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAKO,MAAM,oCAAoC,GAAG;IAClD,EAAE,EAAE,gBAAgB,CAAC,sBAAsB;AAC3C,IAAA,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC;AACpC,IAAA,WAAW,EAAE,OAAO,CAAC,wCAAwC,CAAC;AAC9D,IAAA,aAAa,EAAE,MACb,OAAO,oEAAoE,CAAC,CAAC,IAAI,CAC/E,CAAC,IAAI,CAAC,CAAC,mCAAmC,CAC3C;AACH,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,GAAG,EAAE;AACH,gBAAA,OAAO,EAAE;AACP,oBAAA,cAAc,EAAE,IAAI;AACpB,oBAAA,gBAAgB,EAAE;AACnB;AACF;AACF;AACF;;AAGI,MAAM,mCAAmC,GAAG;IACjD,UAAU,CAAC,oCAAoC;;;AC3BjD;;AAEG;;;;"}