{"version":3,"sources":["webpack:///./src/modules/main/pages/notifications/components/messageItemEmpty.vue?b71a","webpack:///./src/modules/main/pages/notifications/components/messageItemEmpty.vue?d9ea","webpack:///./src/modules/main/pages/notifications/components/messageItemSkeleton.vue","webpack:///./src/modules/main/pages/notifications/components/messages.vue","webpack:///./src/modules/main/pages/notifications/components/messageItem.vue?3aab","webpack:///./src/modules/main/pages/notifications/components/messages.vue?e966","webpack:///./src/modules/main/pages/notifications/components/messageItemEmpty.vue","webpack:///./src/modules/main/pages/notifications/components/messageItemEmpty.vue?4bf9","webpack:///./src/modules/main/pages/notifications/components/messages.vue?aacd","webpack:///./src/modules/main/pages/notifications/components/messageItemSkeleton.vue?c19e","webpack:///./src/modules/main/pages/notifications/components/messageItemSkeleton.vue?a359","webpack:///./src/modules/main/pages/notifications/components/messages.vue?62c6","webpack:///./src/modules/main/pages/notifications/components/messageItemSkeleton.vue?d64c","webpack:///./src/modules/main/pages/notifications/components/messageItemEmpty.vue?796a","webpack:///./src/modules/main/pages/notifications/components/messageItem.vue","webpack:///./src/modules/main/pages/notifications/components/messageItem.vue?adbf","webpack:///./src/modules/main/pages/notifications/components/messageItem.vue?163b","webpack:///./node_modules/quasar/src/components/slide-item/QSlideItem.js","webpack:///./src/modules/main/pages/notifications/components/messageItem.vue?581d","webpack:///./src/modules/main/pages/notifications/components/messageItem.vue?2b3d"],"names":["_createBlock","_component_q_item","class","$props","showIcon","_component_q_item_section","avatar","_createVNode","_component_q_skeleton","type","_component_q_item_label","width","name","components","MessageItemSkeleton","MessageItemEmpty","MessageItem","props","showSkeleton","Boolean","default","itemClass","String","messages","Array","required","isMenu","setup","labelExpanded","ref","itemClicked","keyId","value","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_hoisted_3","_component_q_icon","size","_hoisted_4","_toDisplayString","_ctx","$t","useActions","createNamespacedHelpers","message","Object","expandMessage","$q","useQuasar","startTime","moment","start_date","dateFormatted","isSame","Date","calendar","format","putNotificationAsReadAction","setItemAsReady","action","read_at","then","notifyInfo","catch","notifyError","finally","getContentFormatted","lengthLimit","screen","content","prototype","hasOwnProperty","call","body","length","substring","getContentMenuFormatted","routeName","getNotifyStyle","config","JSON","parse","bg_color","color","text_color","onLeft","reset","_component_message_item_empty","key","_Fragment","_renderList","_component_message_item_skeleton","msg","_component_message_item","id","onClick","$event","$setup","slotsDef","createComponent","useDarkProps","leftColor","rightColor","topColor","bottomColor","onSlide","Function","emits","slots","emit","proxy","getCurrentInstance","isDark","useDark","getCache","useRenderCache","contentRef","timer","pan","dirRefs","dirContentRefs","langDir","computed","lang","rtl","left","right","classes","style","transform","emitSlide","side","ratio","isReset","onPan","evt","node","isFirst","dir","top","bottom","scale","classList","add","forEach","slotName","getBoundingClientRect","axis","direction","isFinal","remove","clearTimeout","setTimeout","showing","offset","x","y","dist","distance","Math","abs","d","visibility","max","min","onBeforeUpdate","onBeforeUnmount","assign","slotsList","up","down","dirs","keys","filter","push","h","el","hSlot","withDirectives","join","modifiers","prevent","stop","mouse","TouchPan","_component_q_slide_item","bordered","clickable","_normalizeClass","to","innerHTML","notify_title","_hoisted_6"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;ACAA,uC;;;;;;;;;;;;;;;;;;;;;kECCEA,uDAAA,CAYSC,iBAAA;IAZDC,KAAK,EAAC;EAAmB;iEAC/B,MAEiB,CAFKC,MAAA,CAAAC,QAAQ,I,yDAA9BJ,uDAAA,CAEiBK,yBAAA;;MAFeC,MAAM,EAAN;;mEAC9B,MAA4B,CAA5BC,uDAAA,CAA4BC,qBAAA;QAAhBC,IAAI,EAAC;MAAQ,G;;oFAE3BF,uDAAA,CAOiBF,yBAAA;MAPDH,KAAK,EAAC;IAAY;mEAChC,MAEe,CAFfK,uDAAA,CAEeG,uBAAA;QAFDR,KAAK,EAAC;MAAe;qEACjC,MAA4B,CAA5BK,uDAAA,CAA4BC,qBAAA;UAAhBG,KAAK,EAAC;QAAO,G;;UAE3BJ,uDAAA,C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O,CAACmJ,YAAY,M;;UAEzB1L,uDAAA,CAIEG,uBAAA;QAHA2H,IAAI,EAAJ,EAAI;QACJnI,KAAK,EAAC,uCAAuC;QAC7C8L,SAAyC,EAAjC7F,MAAA,CAAArB,uBAAuB,CAAC3E,MAAA,CAAA2C,OAAO;qCAG3CX,8DAAA,CAA+D;QAA1DjC,KAAK,EAAC,0BAA0B;QAAC8L,SAAsB,EAAd7F,MAAA,CAAA7C;;;;;MAzDpCnD,MAAA,CAAA2C,OAAO,CAACgB,OAAO,Y;UAAkB,MAAI;4DACnD,MAAsB,CAAtBvD,uDAAA,CAAsB+B,iBAAA;MAAd1B,IAAI,EAAC;IAAM,G","file":"js/chunk-4b0caf9b.203f232c.js","sourcesContent":["export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messageItemEmpty.vue?vue&type=template&id=07a1d2c8&scoped=true\"","// extracted by mini-css-extract-plugin","<template>\n <q-item class=\"bg-grey-1 q-pa-md\">\n <q-item-section v-if=\"showIcon\" avatar>\n <q-skeleton type=\"circle\" />\n </q-item-section>\n <q-item-section class=\"full-width\">\n <q-item-label class=\"text-cs-title\">\n <q-skeleton width=\"100px\" />\n </q-item-label>\n <q-item-label class=\"full-width text-cs-subtitle\"\n ><q-skeleton\n /></q-item-label>\n </q-item-section>\n </q-item>\n</template>\n\n<script>\nexport default {\n name: \"MessageItemSkeleton\",\n\n props: {\n showIcon: {\n type: Boolean,\n required: true,\n },\n },\n};\n</script>\n","<template>\n <message-item-empty v-if=\"messages.length === 0 && !showSkeleton\" />\n <message-item-skeleton\n v-else-if=\"showSkeleton\"\n v-for=\"key in 3\"\n :key=\"`skeleton-${key}`\"\n :show-icon=\"showIcon\"\n />\n <message-item\n v-else\n v-for=\"msg in messages\"\n :key=\"msg.id\"\n :message=\"msg\"\n :isMenu=\"isMenu\"\n :show-icon=\"showIcon\"\n :item-class=\"itemClass\"\n @click=\"itemClicked(msg.id)\"\n :expand-message=\"msg.id === labelExpanded\"\n />\n</template>\n\n<script>\nimport MessageItemSkeleton from \"@/modules/main/pages/notifications/components/messageItemSkeleton\";\nimport MessageItemEmpty from \"@/modules/main/pages/notifications/components/messageItemEmpty\";\nimport MessageItem from \"@/modules/main/pages/notifications/components/messageItem\";\nimport { ref } from \"vue\";\n\nexport default {\n name: \"Messages\",\n\n components: { MessageItemSkeleton, MessageItemEmpty, MessageItem },\n\n props: {\n showSkeleton: {\n type: Boolean,\n default: false,\n },\n showIcon: {\n type: Boolean,\n default: true,\n },\n itemClass: {\n type: String,\n },\n messages: {\n type: Array,\n required: true,\n },\n isMenu: {\n type: Boolean,\n default: false,\n },\n },\n\n setup(props) {\n const labelExpanded = ref(null);\n\n const itemClicked = (keyId) => {\n if (props.isMenu) return;\n if (labelExpanded.value === keyId) {\n labelExpanded.value = null;\n } else {\n labelExpanded.value = keyId;\n }\n };\n\n return {\n itemClicked,\n labelExpanded,\n };\n },\n};\n</script>\n","export { default } from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messageItem.vue?vue&type=script&lang=js\"; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messageItem.vue?vue&type=script&lang=js\"","export { default } from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messages.vue?vue&type=script&lang=js\"; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messages.vue?vue&type=script&lang=js\"","<template>\n <div class=\"notification bg-grey-1\">\n <div class=\"notification-item no-wrap bg- text-grey-7 row justify-between\">\n <div class=\"icon row justify-center flex-center\">\n <q-icon size=\"2.5em\" name=\"outbox\" class=\"q-pl-lg\" />\n </div>\n <div\n class=\"notification-item-info q-ma-lg width-100 row flex-center justify-between\"\n >\n {{ $t(\"notifications.empty\") }}\n </div>\n </div>\n </div>\n</template>\n\n<style scoped lang=\"scss\">\n.notification {\n font-size: 1.1em;\n &-item-info > div {\n width: 100%;\n }\n}\n</style>\n","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messageItemEmpty.vue?vue&type=style&index=0&id=07a1d2c8&scoped=true&lang=scss\"","import { render } from \"./messages.vue?vue&type=template&id=36174e9c\"\nimport script from \"./messages.vue?vue&type=script&lang=js\"\nexport * from \"./messages.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src1250588209/src/flip-child-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./messageItemSkeleton.vue?vue&type=template&id=570a1d5e\"\nimport script from \"./messageItemSkeleton.vue?vue&type=script&lang=js\"\nexport * from \"./messageItemSkeleton.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src1250588209/src/flip-child-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QItemSection from 'quasar/src/components/item/QItemSection.js';\nimport QSkeleton from 'quasar/src/components/skeleton/QSkeleton.js';\nimport QItemLabel from 'quasar/src/components/item/QItemLabel.js';\nimport qInstall from \"../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QItem,QItemSection,QSkeleton,QItemLabel});\n","export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messageItemSkeleton.vue?vue&type=template&id=570a1d5e\"","export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messages.vue?vue&type=template&id=36174e9c\"","export { default } from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messageItemSkeleton.vue?vue&type=script&lang=js\"; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messageItemSkeleton.vue?vue&type=script&lang=js\"","import { render } from \"./messageItemEmpty.vue?vue&type=template&id=07a1d2c8&scoped=true\"\nconst script = {}\n\nimport \"./messageItemEmpty.vue?vue&type=style&index=0&id=07a1d2c8&scoped=true&lang=scss\"\n\nimport exportComponent from \"/codebuild/output/src1250588209/src/flip-child-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-07a1d2c8\"]])\n\nexport default __exports__\nimport QIcon from 'quasar/src/components/icon/QIcon.js';\nimport qInstall from \"../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QIcon});\n","<template>\n <q-slide-item left-color=\"blue\" @left=\"onLeft\">\n <template v-if=\"message.read_at === null\" v-slot:left>\n <q-icon name=\"done\" />\n </template>\n <q-item\n bordered\n clickable\n class=\"q-pa-md q-ma-sm\"\n @click=\"setItemAsReady\"\n :to=\"routeName() || void 1\"\n :class=\"itemClass + ` ${!!message.read_at ? 'notify-ready' : ''}`\"\n style=\"border: 1px solid rgb(184, 184, 184); border-radius: 10px;\"\n >\n <q-item-section v-if=\"showIcon\" avatar>\n <q-icon\n v-if=\"message.read_at\"\n name=\"done_all\"\n class=\"block\"\n color=\"green\"\n style=\"font-size: 25pt;\"\n />\n <q-icon v-else name=\"campaign\" class=\"block\" style=\"font-size: 25pt;\" />\n </q-item-section>\n <div class=\"row\">\n <div class=\"col-12\">\n <div v-if=\"!isMenu\">\n <q-item-label\n class=\"text-cs-title text-uppercase\"\n v-html=\"message.notify_title\"\n />\n <p\n v-if=\"expandMessage\"\n class=\"full-width text-cs-subtitle text-justify q-pt-sm\"\n v-html=\"getContentFormatted()\"\n />\n\n <p\n v-else\n class=\"full-width text-cs-subtitle q-pt-sm text-justify\"\n v-html=\"getContentFormatted()\"\n />\n </div>\n <div v-else>\n <q-item-label class=\"text-cs-title text-uppercase text-justify\">\n <q-icon\n name=\"campaign\"\n style=\"font-size: 20pt;\"\n class=\"q-mb-xs\"\n color=\"blue\"\n />\n {{ message.notify_title }}\n </q-item-label>\n <q-item-label\n side\n class=\"text-cs-subtitle q-pt-sm text-justify\"\n v-html=\"getContentMenuFormatted(message)\"\n />\n </div>\n <div class=\"text-cs-subtitle q-mt-md\" v-html=\"dateFormatted\" />\n </div>\n </div>\n </q-item>\n </q-slide-item>\n</template>\n\n<script>\nimport { createNamespacedHelpers } from \"vuex-composition-helpers\";\nimport { notifyError, notifyInfo } from \"@/shared/helpers/notify\";\nimport { useQuasar } from \"quasar\";\nimport moment from \"moment\";\n\nconst { useActions } = createNamespacedHelpers(\"notifications\");\n\nexport default {\n name: \"MessageItem\",\n\n props: {\n itemClass: {\n type: String,\n },\n message: {\n type: Object,\n required: true,\n },\n showIcon: {\n type: Boolean,\n required: true,\n },\n expandMessage: {\n type: Boolean,\n required: true,\n },\n isMenu: {\n type: Boolean,\n default: false,\n },\n },\n\n setup(props) {\n const $q = useQuasar();\n\n let startTime = moment(props.message.start_date);\n const dateFormatted = startTime.isSame(new Date(), \"day\")\n ? startTime.calendar()\n : startTime.format(\"LLL\");\n\n const { putNotificationAsReadAction } = useActions([\n \"putNotificationAsReadAction\",\n ]);\n\n const setItemAsReady = (action = null) => {\n if (props.isMenu) return;\n if (props.message.read_at) return action ? action() : null;\n\n putNotificationAsReadAction(props.message)\n .then(() => notifyInfo(\"notifications.readySuccess\"))\n .catch(() => notifyError(\"notifications.readyError\"))\n .finally(() => {\n if (action) action();\n });\n };\n\n const getContentFormatted = () => {\n const lengthLimit = $q.screen.width < 800 ? 80 : 300;\n\n if (typeof props.message.content === \"object\") {\n if (\n props.message.content &&\n Object.prototype.hasOwnProperty.call(props.message.content, \"body\")\n )\n return props.message.content.body;\n else return null;\n } else\n return props.expandMessage\n ? props.message.content\n : props.message.content.length > lengthLimit\n ? props.message.content.substring(0, lengthLimit) + \"...\"\n : props.message.content;\n },\n getContentMenuFormatted = () => {\n const lengthLimit = $q.screen.width < 800 ? 50 : 80;\n\n return props.expandMessage\n ? props.message.content\n : props.message.content.length > lengthLimit\n ? props.message.content.substring(0, lengthLimit) + \"...\"\n : props.message.content;\n },\n routeName = () => ({ name: \"notifications\" });\n\n const getNotifyStyle = (message) => {\n if (message.config) {\n const config = JSON.parse(JSON.parse(message.config));\n\n return {\n \"background-color\": config.bg_color,\n color: config.text_color,\n };\n }\n return {};\n };\n\n return {\n dateFormatted,\n routeName,\n getNotifyStyle,\n setItemAsReady,\n getContentFormatted,\n getContentMenuFormatted,\n onLeft({ reset }) {\n setItemAsReady(reset);\n },\n };\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.text-cs-subtitle {\n font-weight: 300 !important;\n}\n.notify-ready {\n opacity: 0.8;\n}\n</style>\n","// extracted by mini-css-extract-plugin","import { render } from \"./messageItem.vue?vue&type=template&id=8ecaab2c&scoped=true\"\nimport script from \"./messageItem.vue?vue&type=script&lang=js\"\nexport * from \"./messageItem.vue?vue&type=script&lang=js\"\n\nimport \"./messageItem.vue?vue&type=style&index=0&id=8ecaab2c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src1250588209/src/flip-child-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8ecaab2c\"]])\n\nexport default __exports__\nimport QSlideItem from 'quasar/src/components/slide-item/QSlideItem.js';\nimport QIcon from 'quasar/src/components/icon/QIcon.js';\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QItemSection from 'quasar/src/components/item/QItemSection.js';\nimport QItemLabel from 'quasar/src/components/item/QItemLabel.js';\nimport qInstall from \"../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QSlideItem,QIcon,QItem,QItemSection,QItemLabel});\n","import { h, ref, computed, withDirectives, onBeforeUnmount, onBeforeUpdate, getCurrentInstance } from 'vue'\n\nimport TouchPan from '../../directives/touch-pan/TouchPan.js'\n\nimport useDark, { useDarkProps } from '../../composables/private/use-dark.js'\nimport useRenderCache from '../../composables/use-render-cache.js'\n\nimport { createComponent } from '../../utils/private/create.js'\nimport { hSlot } from '../../utils/private/render.js'\n\nconst slotsDef = [\n [ 'left', 'center', 'start', 'width' ],\n [ 'right', 'center', 'end', 'width' ],\n [ 'top', 'start', 'center', 'height' ],\n [ 'bottom', 'end', 'center', 'height' ]\n]\n\nexport default createComponent({\n name: 'QSlideItem',\n\n props: {\n ...useDarkProps,\n\n leftColor: String,\n rightColor: String,\n topColor: String,\n bottomColor: String,\n\n onSlide: Function\n },\n\n emits: [ 'action', 'top', 'right', 'bottom', 'left' ],\n\n setup (props, { slots, emit }) {\n const { proxy } = getCurrentInstance()\n const { $q } = proxy\n\n const isDark = useDark(props, $q)\n const { getCache } = useRenderCache()\n\n const contentRef = ref(null)\n\n let timer = null, pan = {}, dirRefs = {}, dirContentRefs = {}\n\n const langDir = computed(() => (\n $q.lang.rtl === true\n ? { left: 'right', right: 'left' }\n : { left: 'left', right: 'right' }\n ))\n\n const classes = computed(() =>\n 'q-slide-item q-item-type overflow-hidden'\n + (isDark.value === true ? ' q-slide-item--dark q-dark' : '')\n )\n\n function reset () {\n contentRef.value.style.transform = 'translate(0,0)'\n }\n\n function emitSlide (side, ratio, isReset) {\n props.onSlide !== void 0 && emit('slide', { side, ratio, isReset })\n }\n\n function onPan (evt) {\n const node = contentRef.value\n\n if (evt.isFirst) {\n pan = {\n dir: null,\n size: { left: 0, right: 0, top: 0, bottom: 0 },\n scale: 0\n }\n\n node.classList.add('no-transition')\n\n slotsDef.forEach(slotName => {\n if (slots[ slotName[ 0 ] ] !== void 0) {\n const node = dirContentRefs[ slotName[ 0 ] ]\n node.style.transform = 'scale(1)'\n pan.size[ slotName[ 0 ] ] = node.getBoundingClientRect()[ slotName[ 3 ] ]\n }\n })\n\n pan.axis = (evt.direction === 'up' || evt.direction === 'down')\n ? 'Y'\n : 'X'\n }\n else if (evt.isFinal) {\n node.classList.remove('no-transition')\n\n if (pan.scale === 1) {\n node.style.transform = `translate${ pan.axis }(${ pan.dir * 100 }%)`\n\n timer !== null && clearTimeout(timer)\n timer = setTimeout(() => {\n timer = null\n emit(pan.showing, { reset })\n emit('action', { side: pan.showing, reset })\n }, 230)\n }\n else {\n node.style.transform = 'translate(0,0)'\n emitSlide(pan.showing, 0, true)\n }\n\n return\n }\n else {\n evt.direction = pan.axis === 'X'\n ? evt.offset.x < 0 ? 'left' : 'right'\n : evt.offset.y < 0 ? 'up' : 'down'\n }\n\n if (\n (slots.left === void 0 && evt.direction === langDir.value.right)\n || (slots.right === void 0 && evt.direction === langDir.value.left)\n || (slots.top === void 0 && evt.direction === 'down')\n || (slots.bottom === void 0 && evt.direction === 'up')\n ) {\n node.style.transform = 'translate(0,0)'\n return\n }\n\n let showing, dir, dist\n\n if (pan.axis === 'X') {\n dir = evt.direction === 'left' ? -1 : 1\n showing = dir === 1 ? langDir.value.left : langDir.value.right\n dist = evt.distance.x\n }\n else {\n dir = evt.direction === 'up' ? -2 : 2\n showing = dir === 2 ? 'top' : 'bottom'\n dist = evt.distance.y\n }\n\n if (pan.dir !== null && Math.abs(dir) !== Math.abs(pan.dir)) {\n return\n }\n\n if (pan.dir !== dir) {\n [ 'left', 'right', 'top', 'bottom' ].forEach(d => {\n if (dirRefs[ d ]) {\n dirRefs[ d ].style.visibility = showing === d\n ? 'visible'\n : 'hidden'\n }\n })\n pan.showing = showing\n pan.dir = dir\n }\n\n pan.scale = Math.max(0, Math.min(1, (dist - 40) / pan.size[ showing ]))\n\n node.style.transform = `translate${ pan.axis }(${ dist * dir / Math.abs(dir) }px)`\n dirContentRefs[ showing ].style.transform = `scale(${ pan.scale })`\n\n emitSlide(showing, pan.scale, false)\n }\n\n onBeforeUpdate(() => {\n dirRefs = {}\n dirContentRefs = {}\n })\n\n onBeforeUnmount(() => {\n timer !== null && clearTimeout(timer)\n })\n\n // expose public methods\n Object.assign(proxy, { reset })\n\n return () => {\n const\n content = [],\n slotsList = {\n left: slots[ langDir.value.right ] !== void 0,\n right: slots[ langDir.value.left ] !== void 0,\n up: slots.bottom !== void 0,\n down: slots.top !== void 0\n },\n dirs = Object.keys(slotsList).filter(key => slotsList[ key ] === true)\n\n slotsDef.forEach(slotName => {\n const dir = slotName[ 0 ]\n\n if (slots[ dir ] !== void 0) {\n content.push(\n h('div', {\n key: dir,\n ref: el => { dirRefs[ dir ] = el },\n class: `q-slide-item__${ dir } absolute-full row no-wrap items-${ slotName[ 1 ] } justify-${ slotName[ 2 ] }`\n + (props[ dir + 'Color' ] !== void 0 ? ` bg-${ props[ dir + 'Color' ] }` : '')\n }, [\n h('div', { ref: el => { dirContentRefs[ dir ] = el } }, slots[ dir ]())\n ])\n )\n }\n })\n\n const node = h('div', {\n key: `${ dirs.length === 0 ? 'only-' : '' } content`,\n ref: contentRef,\n class: 'q-slide-item__content'\n }, hSlot(slots.default))\n\n if (dirs.length === 0) {\n content.push(node)\n }\n else {\n content.push(\n withDirectives(node, getCache('dir#' + dirs.join(''), () => {\n const modifiers = {\n prevent: true,\n stop: true,\n mouse: true\n }\n\n dirs.forEach(dir => {\n modifiers[ dir ] = true\n })\n\n return [ [\n TouchPan,\n onPan,\n void 0,\n modifiers\n ] ]\n }))\n )\n }\n\n return h('div', { class: classes.value }, content)\n }\n }\n})\n","export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messageItem.vue?vue&type=template&id=8ecaab2c&scoped=true\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./messageItem.vue?vue&type=style&index=0&id=8ecaab2c&lang=scss&scoped=true\""],"sourceRoot":""}