{"version":3,"file":"c8y-ngx-components-widgets-definitions-quick-links.mjs","sources":["../../widgets/definitions/quick-links/index.ts","../../widgets/definitions/quick-links/c8y-ngx-components-widgets-definitions-quick-links.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 quickLinksWidgetDefinition = {\n  id: defaultWidgetIds.QUICK_LINKS,\n  label: gettext('Quick links'),\n  description: gettext(`Displays a customizable quick links widget`),\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  previewImage: 'c8y-style-assets/quick-links-widget.png',\n  data: {\n    settings: {\n      noNewWidgets: false,\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 quickLinksWidgetProviders = [hookWidget(quickLinksWidgetDefinition)];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAKO,MAAM,0BAA0B,GAAG;IACxC,EAAE,EAAE,gBAAgB,CAAC,WAAW;AAChC,IAAA,KAAK,EAAE,OAAO,CAAC,aAAa,CAAC;AAC7B,IAAA,WAAW,EAAE,OAAO,CAAC,CAAA,0CAAA,CAA4C,CAAC;AAClE,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,YAAY,EAAE,yCAAyC;AACvD,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE;AACR,YAAA,YAAY,EAAE,KAAK;AACnB,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;;AAGI,MAAM,yBAAyB,GAAG,CAAC,UAAU,CAAC,0BAA0B,CAAC;;ACnChF;;AAEG;;;;"}