{"version":3,"sources":["webpack:///../../../src/components/VGrid/VRow.ts","webpack:///../../../src/components/VGrid/VCol.ts","webpack:///./src/views/dashboard/components/NewsCard.vue?3037","webpack:///./src/views/dashboard/components/NewsCard.vue","webpack:///./src/views/dashboard/components/NewsCard.vue?2fe3","webpack:///./src/views/dashboard/components/NewsCard.vue?fbd4"],"names":["breakpoints","ALIGNMENT","makeProps","prefix","def","reduce","props","val","upperFirst","alignValidator","str","includes","alignProps","type","String","default","validator","justifyValidator","justifyProps","alignContentValidator","alignContentProps","propMap","align","Object","keys","justify","alignContent","classMap","breakpointClass","prop","className","breakpoint","replace","toLowerCase","cache","Map","Vue","extend","name","functional","tag","dense","Boolean","noGutters","render","h","data","children","cacheKey","classList","get","forEach","value","push","set","mergeData","staticClass","class","breakpointProps","Number","offsetProps","orderProps","col","offset","order","cols","alignSelf","parent","hasColClasses","some","startsWith","_vm","this","_h","$createElement","_c","_self","VCard","attrs","loading","_v","_s","$t","VSpacer","VBtn","VIcon","articles","length","VRow","_l","article","VCol","key","ID","Title","staticStyle","_f","PostedAt","body","on","$event","goToArticle","staticRenderFns","NewsCard","text","Body","section","substr","$router","__decorate","Getter","Component","component"],"mappings":"sTAOMA,EAAc,CAAC,KAAM,KAAM,KAAM,MAEjCC,EAAY,CAAC,QAAS,MAAO,UAEnC,SAASC,EAAWC,EAAgBC,GAClC,OAAOJ,EAAYK,QAAO,SAACC,EAAOC,GAEhC,OADAD,EAAMH,EAASK,eAAWD,IAAQH,IAC3BE,IACN,IAGL,IAAMG,EAAkB,SAAAC,GAAD,MAAc,UAAIT,EAAJ,CAAe,WAAY,YAAWU,SAASD,IAC9EE,EAAaV,EAAU,SAAS,iBAAO,CAC3CW,KAAMC,OACNC,QAAS,KACTC,UAAWP,MAGPQ,EAAoB,SAAAP,GAAD,MAAc,UAAIT,EAAJ,CAAe,gBAAiB,iBAAgBU,SAASD,IAC1FQ,EAAehB,EAAU,WAAW,iBAAO,CAC/CW,KAAMC,OACNC,QAAS,K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AC,YAAY,SAAS,CAACxB,EAAIS,GAAG,IAAIT,EAAIU,GAAGV,EAAIW,GAAG,gBAAgB,IAAIX,EAAIU,GAAGV,EAAIyB,GAAG,SAAPzB,CAAiBmB,EAAQO,WAAW,OAAOtB,EAAG,MAAM,CAACJ,EAAIS,GAAGT,EAAIU,GAAGV,EAAI2B,KAAKR,OAAaf,EAAG,MAAM,CAACnB,YAAY,eAAe,CAACmB,EAAGS,EAAA,KAAK,CAACW,YAAY,CAAC,eAAe,wBAAwBjB,MAAM,CAAC,SAAW,GAAG,UAAY,IAAI,MAAQ,cAAcqB,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAO7B,EAAI8B,YAAYX,MAAY,CAACf,EAAG,OAAO,CAACJ,EAAIS,GAAGT,EAAIU,GAAGV,EAAIW,GAAG,oBAAoB,QAAO,GAAGP,EAAG,MAAM,CAACJ,EAAIS,GAAGT,EAAIU,GAAGV,EAAIW,GAAG,sCAAsC,IAA6D,IACn5CoB,EAAkB,G,gGC2CDC,EAAQ,2HAa1B,OAb0B,oCAI3B,SAAKb,GACH,IAAMc,EAAOd,EAAQe,KACrB,GAAID,EAAKjB,OAAS,IAAK,OAAOiB,EAC9B,IAAME,EAAUF,EAAKG,OAAO,EAAG,KAC/B,MAAO,GAAP,OAAUD,EAAO,SAClB,yBAED,SAAYhB,GACVlB,KAAKoC,QAAQvD,KAAK,iBAAmBqC,EAAQG,QAC9C,EAb0B,CAASzD,cACZyE,gBAAvBC,eAAO,iBAAe,8BACWD,gBAAjCC,eAAO,2BAAyB,+BAFdP,EAAQ,gBAD5BQ,QACoBR,WCrDkZ,I,YCOnaS,EAAY,eACd,EACApE,EACA0D,GACA,EACA,KACA,KACA,MAIa,aAAAU,E","file":"assets/js/chunk-08c06d15.bebba9ef.js","sourcesContent":["import './VGrid.sass'\n\nimport Vue, { PropOptions } from 'vue'\nimport mergeData from '../../util/mergeData'\nimport { upperFirst } from '../../util/helpers'\n\n// no xs\nconst breakpoints = ['sm', 'md', 'lg', 'xl']\n\nconst ALIGNMENT = ['start', 'end', 'center']\n\nfunction makeProps (prefix: string, def: () => PropOptions) {\n return breakpoints.reduce((props, val) => {\n props[prefix + upperFirst(val)] = def()\n return props\n }, {} as Dictionary)\n}\n\nconst alignValidator = (str: any) => [...ALIGNMENT, 'baseline', 'stretch'].includes(str)\nconst alignProps = makeProps('align', () => ({\n type: String,\n default: null,\n validator: alignValidator,\n}))\n\nconst justifyValidator = (str: any) => [...ALIGNMENT, 'space-between', 'space-around'].includes(str)\nconst justifyProps = makeProps('justify', () => ({\n type: String,\n default: null,\n validator: justifyValidator,\n}))\n\nconst alignContentValidator = (str: any) => [...ALIGNMENT, 'space-between', 'space-around', 'stretch'].includes(str)\nconst alignContentProps = makeProps('alignContent', () => ({\n type: String,\n default: null,\n validator: alignContentValidator,\n}))\n\nconst propMap = {\n align: Object.keys(alignProps),\n justify: Object.keys(justifyProps),\n alignContent: Object.keys(alignContentProps),\n}\n\nconst classMap = {\n align: 'align',\n justify: 'justify',\n alignContent: 'align-content',\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: string) {\n let className = classMap[type]\n if (val == null) {\n return undefined\n }\n if (prop) {\n // alignSm -> Sm\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n // .align-items-sm-center\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst cache = new Map()\n\nexport default Vue.extend({\n name: 'v-row',\n functional: true,\n props: {\n tag: {\n type: String,\n default: 'div',\n },\n dense: Boolean,\n noGutters: Boolean,\n align: {\n type: String,\n default: null,\n validator: alignValidator,\n },\n ...alignProps,\n justify: {\n type: String,\n default: null,\n validator: justifyValidator,\n },\n ...justifyProps,\n alignContent: {\n type: String,\n default: null,\n validator: alignContentValidator,\n },\n ...alignContentProps,\n },\n render (h, { props, data, children }) {\n // Super-fast memoization based on props, 5x faster than JSON.stringify\n let cacheKey = ''\n for (const prop in props) {\n cacheKey += String((props as any)[prop])\n }\n let classList = cache.get(cacheKey)\n\n if (!classList) {\n classList = []\n // Loop through `align`, `justify`, `alignContent` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n classList.push({\n 'no-gutters': props.noGutters,\n 'row--dense': props.dense,\n [`align-${props.align}`]: props.align,\n [`justify-${props.justify}`]: props.justify,\n [`align-content-${props.alignContent}`]: props.alignContent,\n })\n\n cache.set(cacheKey, classList)\n }\n\n return h(\n props.tag,\n mergeData(data, {\n staticClass: 'row',\n class: classList,\n }),\n children\n )\n },\n})\n","import './VGrid.sass'\n\nimport Vue, { VNode, PropOptions } from 'vue'\nimport mergeData from '../../util/mergeData'\nimport { upperFirst } from '../../util/helpers'\n\n// no xs\nconst breakpoints = ['sm', 'md', 'lg', 'xl']\n\nconst breakpointProps = (() => {\n return breakpoints.reduce((props, val) => {\n props[val] = {\n type: [Boolean, String, Number],\n default: false,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst offsetProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['offset' + upperFirst(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst orderProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['order' + upperFirst(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst propMap = {\n col: Object.keys(breakpointProps),\n offset: Object.keys(offsetProps),\n order: Object.keys(orderProps),\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: boolean | string | number) {\n let className = type\n if (val == null || val === false) {\n return undefined\n }\n if (prop) {\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n // Handling the boolean style prop when accepting [Boolean, String, Number]\n // means Vue will not convert to sm: true for us.\n // Since the default is false, an empty string indicates the prop's presence.\n if (type === 'col' && (val === '' || val === true)) {\n // .col-md\n return className.toLowerCase()\n }\n // .order-md-6\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst cache = new Map()\n\nexport default Vue.extend({\n name: 'v-col',\n functional: true,\n props: {\n cols: {\n type: [Boolean, String, Number],\n default: false,\n },\n ...breakpointProps,\n offset: {\n type: [String, Number],\n default: null,\n },\n ...offsetProps,\n order: {\n type: [String, Number],\n default: null,\n },\n ...orderProps,\n alignSelf: {\n type: String,\n default: null,\n validator: (str: any) => ['auto', 'start', 'end', 'center', 'baseline', 'stretch'].includes(str),\n },\n tag: {\n type: String,\n default: 'div',\n },\n },\n render (h, { props, data, children, parent }): VNode {\n // Super-fast memoization based on props, 5x faster than JSON.stringify\n let cacheKey = ''\n for (const prop in props) {\n cacheKey += String((props as any)[prop])\n }\n let classList = cache.get(cacheKey)\n\n if (!classList) {\n classList = []\n // Loop through `col`, `offset`, `order` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string | number | boolean = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n const hasColClasses = classList.some(className => className.startsWith('col-'))\n\n classList.push({\n // Default to .col if no other col-{bp}-* classes generated nor `cols` specified.\n col: !hasColClasses || !props.cols,\n [`col-${props.cols}`]: props.cols,\n [`offset-${props.offset}`]: props.offset,\n [`order-${props.order}`]: props.order,\n [`align-self-${props.alignSelf}`]: props.alignSelf,\n })\n\n cache.set(cacheKey, classList)\n }\n\n return h(props.tag, mergeData(data, { class: classList }), children)\n },\n})\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VCard,{attrs:{\"elevation\":\"0\",\"loading\":_vm.loading,\"disabled\":_vm.loading}},[_c(VCardTitle,{staticClass:\"headline font-weight-bold\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"news.news\")))]),_c(VSpacer),_c(VBtn,{attrs:{\"link\":\"\",\"text\":\"\",\"to\":\"/news\"}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"news.all\")))]),_c(VIcon,{attrs:{\"right\":\"\"}},[_vm._v(\"mdi-chevron-right\")])],1)],1),(!_vm.loading)?_c(VCardText,[(_vm.articles.length > 0)?_c(VRow,_vm._l((_vm.articles),function(article){return _c(VCol,{key:article.ID,staticClass:\"mt-4 px-4\",attrs:{\"md\":\"3\",\"cols\":\"12\"}},[_c('div',{staticClass:\"main--text headline font-weight-bold text-truncate\"},[_c('span',{staticClass:\"text-truncate\"},[_vm._v(_vm._s(article.Title))])]),_c('div',{staticClass:\"main--text\",staticStyle:{\"font-size\":\"16px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"news.posted\"))+\" \"+_vm._s(_vm._f(\"format\")(article.PostedAt))+\" \")]),_c('div',[_vm._v(_vm._s(_vm.body(article)))]),_c('div',{staticClass:\"d-flex mt-4\"},[_c(VBtn,{staticStyle:{\"border-color\":\"var(--v-accent-base)\"},attrs:{\"outlined\":\"\",\"elevation\":\"0\",\"color\":\"accentText\"},on:{\"click\":function($event){return _vm.goToArticle(article)}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"news.read\")))])])],1)])}),1):_c('div',[_vm._v(_vm._s(_vm.$t(\"dashboardPage.newsCard.noNews\")))])],1):_c(VCardText,[_vm._v(_vm._s(_vm.$t(\"global.loading\")))])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { Article } from \"@/core/models\";\r\nimport { Component } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class NewsCard extends Vue {\r\n @Getter(\"news/loading\") loading!: boolean;\r\n @Getter(\"news/getLatestArticles\") articles!: Article[];\r\n\r\n body(article: Article) {\r\n const text = article.Body;\r\n if (text.length < 100) return text;\r\n const section = text.substr(0, 100);\r\n return `${section}...`;\r\n }\r\n\r\n goToArticle(article: Article) {\r\n this.$router.push(\"/news/article/\" + article.ID);\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewsCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewsCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NewsCard.vue?vue&type=template&id=64111580&\"\nimport script from \"./NewsCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./NewsCard.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}