@intellias/menu 2.3.6 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/main.css +2 -0
- package/dist/css/main.css.map +1 -0
- package/dist/images/banner_dark.gif +0 -0
- package/dist/images/banner_light.gif +0 -0
- package/dist/js/kudosForm.js +1133 -30
- package/dist/js/kudosForm.js.map +1 -0
- package/dist/js/main.js +50976 -651
- package/dist/js/main.js.map +1 -0
- package/dist/js/rejectComponent.js +735 -31
- package/dist/js/rejectComponent.js.map +1 -0
- package/dist/js/vendors~kudosForm.js +385 -4
- package/dist/js/vendors~kudosForm.js.map +1 -0
- package/dist/js/vendors~kudosForm~rejectComponent.js +805 -27
- package/dist/js/vendors~kudosForm~rejectComponent.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/vue.js +0 -15
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack://MainMenu/./components/confirm/Confirm.ts","webpack://MainMenu/./components/confirm/Confirm.vue?a2f2","webpack://MainMenu/./components/confirm/Confirm.vue?e804","webpack://MainMenu/./components/confirm/Confirm.vue?937e","webpack://MainMenu/./helpers/Validations.ts","webpack://MainMenu/./mixins/notifications/confirms/AssetRejectionConfirm.vue?9bcc","webpack://MainMenu/./mixins/notifications/confirms/AssetRejectionConfirm.vue?523a","webpack://MainMenu/./mixins/notifications/confirms/AssetRejectionConfirm.vue?5583","webpack://MainMenu/./mixins/notifications/confirms/SickLeaveRejectionConfirm.vue?8187","webpack://MainMenu/./mixins/notifications/confirms/SickLeaveRejectionConfirm.vue?88da","webpack://MainMenu/./mixins/notifications/confirms/SickLeaveRejectionConfirm.vue?03ce","webpack://MainMenu/./mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue?ae06","webpack://MainMenu/./mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue?01b4","webpack://MainMenu/./mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue?63a3","webpack://MainMenu/./mixins/notifications/confirms/VacationRejectionConfirm.vue?a02a","webpack://MainMenu/./mixins/notifications/confirms/VacationRejectionConfirm.vue?1112","webpack://MainMenu/./mixins/notifications/confirms/VacationRejectionConfirm.vue?8491","webpack://MainMenu/./models/AssetModel.ts","webpack://MainMenu/./models/AssetRequestModel.ts","webpack://MainMenu/./models/StatusModel.ts","webpack://MainMenu/components/confirm/Confirm.vue","webpack://MainMenu/./components/confirm/Confirm.vue","webpack://MainMenu/./mixins/notifications/confirms/AssetRejectionConfirm.vue","webpack://MainMenu/./mixins/notifications/confirms/SickLeaveRejectionConfirm.vue","webpack://MainMenu/./mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue","webpack://MainMenu/./mixins/notifications/confirms/VacationRejectionConfirm.vue","webpack://MainMenu/./mixins/notifications/confirms/AssetRejectionConfirm.vue?7581","webpack://MainMenu/./mixins/notifications/confirms/SickLeaveRejectionConfirm.vue?e8da","webpack://MainMenu/./mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue?98c9","webpack://MainMenu/./mixins/notifications/confirms/VacationRejectionConfirm.vue?c37f"],"names":["Confirm","render","_vm","_c","_self","_setup","_setupProxy","staticClass","attrs","name","size","slot","_v","_s","title","description","hasForm","class","$v","form","comment","$error","_e","directives","rawName","value","expression","ref","id","spellcheck","placeholder","domProps","on","keydown","$event","stopPropagation","input","target","composing","$set","required","maxLength","onlyLatin","_t","nativeOn","click","reject","apply","arguments","rejectBtn","confirmWithValidation","confirm","submitBtn","staticRenderFns","_withStripped","confirmed","rejected","$emit","scopedSlots","_u","key","fn","_l","rejectOptions","option","rejectReason","type","checked","_q","change","proxy","innerHTML"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuC;AAC4C;AACS;AAC7B;AACT;AACvC;AACf,iBAAiB,CAAC,+DAAK,EAAE,iHAAe,EAAE,wGAAY,EAAE;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;A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AAA8D;AAC/C;AACf,iBAAiB,CAAC,gFAAO,EAAE;AAC3B,YAAY,sBAAsB;AAClC;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,CAAC,EAAC","file":"js/rejectComponent.js","sourcesContent":["import Modal from '../modal/Modal.vue';\nimport ActionButton from '../../components/buttons/action-button/ActionButton.vue';\nimport SecondaryButton from '../../components/buttons/secondary-button/SecondaryButton.vue';\nimport { required, maxLength } from 'vuelidate/lib/validators';\nimport { onlyLatin } from '../../helpers/Validations';\nexport default {\n components: { Modal, SecondaryButton, ActionButton },\n props: {\n title: String,\n description: String,\n submitBtn: {\n type: String,\n default: 'Yes'\n },\n rejectBtn: {\n type: String,\n default: 'No'\n },\n comment: undefined\n },\n validations: {\n form: {\n comment: { required, maxLength: maxLength(300), onlyLatin }\n }\n },\n methods: {\n open(payload) {\n this.payload = payload;\n this.$modal.show('confirm');\n },\n confirm() {\n this.$emit('confirmed', Object.keys(this.form).length ? this.form : this.payload);\n this.$modal.hide('confirm');\n this.reset();\n },\n confirmWithValidation() {\n this.$v.$touch();\n if (!this.$v.$invalid) {\n this.confirm();\n }\n },\n reject() {\n this.$modal.hide('confirm');\n this.reset();\n this.$emit('rejected', this.payload);\n },\n reset() {\n this.$v.$reset();\n this.form = {};\n }\n },\n computed: {\n hasForm() {\n return this.comment;\n },\n hasDefaultSlot() {\n return !!this.$slots.default;\n }\n },\n data() {\n return {\n payload: undefined,\n options: { dismissible: false },\n form: {}\n };\n }\n};\n","import { render, staticRenderFns } from \"./Confirm.vue?vue&type=template&id=5aa79534&\"\nimport script from \"./Confirm.vue?vue&type=script&lang=js&\"\nexport * from \"./Confirm.vue?vue&type=script&lang=js&\"\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\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/ivanpelyno/workSpace/projects/intems-menu/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('5aa79534')) {\n api.createRecord('5aa79534', component.options)\n } else {\n api.reload('5aa79534', component.options)\n }\n module.hot.accept(\"./Confirm.vue?vue&type=template&id=5aa79534&\", function () {\n api.rerender('5aa79534', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"components/confirm/Confirm.vue\"\nexport default component.exports","import mod from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Confirm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Confirm.vue?vue&type=script&lang=js&\"","export * from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Confirm.vue?vue&type=template&id=5aa79534&\"","const onlyLatin = (value) => !/[^\\u0020-\\u007e\\u00a0-\\u00ff]/g.test(value);\nconst onlyCyrillic = (value) => /^[^A-Za-z]*$/g.test(value);\nconst monthReportingLimit = (value) => value >= 1 && value <= 300;\nexport { onlyLatin, onlyCyrillic, monthReportingLimit };\n","import { render, staticRenderFns } from \"./AssetRejectionConfirm.vue?vue&type=template&id=65505551&\"\nimport script from \"./AssetRejectionConfirm.vue?vue&type=script&lang=ts&\"\nexport * from \"./AssetRejectionConfirm.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\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/ivanpelyno/workSpace/projects/intems-menu/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('65505551')) {\n api.createRecord('65505551', component.options)\n } else {\n api.reload('65505551', component.options)\n }\n module.hot.accept(\"./AssetRejectionConfirm.vue?vue&type=template&id=65505551&\", function () {\n api.rerender('65505551', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"mixins/notifications/confirms/AssetRejectionConfirm.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AssetRejectionConfirm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AssetRejectionConfirm.vue?vue&type=script&lang=ts&\"","export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AssetRejectionConfirm.vue?vue&type=template&id=65505551&\"","import { render, staticRenderFns } from \"./SickLeaveRejectionConfirm.vue?vue&type=template&id=4b59aafa&\"\nimport script from \"./SickLeaveRejectionConfirm.vue?vue&type=script&lang=ts&\"\nexport * from \"./SickLeaveRejectionConfirm.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\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/ivanpelyno/workSpace/projects/intems-menu/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('4b59aafa')) {\n api.createRecord('4b59aafa', component.options)\n } else {\n api.reload('4b59aafa', component.options)\n }\n module.hot.accept(\"./SickLeaveRejectionConfirm.vue?vue&type=template&id=4b59aafa&\", function () {\n api.rerender('4b59aafa', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"mixins/notifications/confirms/SickLeaveRejectionConfirm.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SickLeaveRejectionConfirm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SickLeaveRejectionConfirm.vue?vue&type=script&lang=ts&\"","export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SickLeaveRejectionConfirm.vue?vue&type=template&id=4b59aafa&\"","import { render, staticRenderFns } from \"./UnpaidLeaveRejectionConfirm.vue?vue&type=template&id=da09fe9a&\"\nimport script from \"./UnpaidLeaveRejectionConfirm.vue?vue&type=script&lang=ts&\"\nexport * from \"./UnpaidLeaveRejectionConfirm.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\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/ivanpelyno/workSpace/projects/intems-menu/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('da09fe9a')) {\n api.createRecord('da09fe9a', component.options)\n } else {\n api.reload('da09fe9a', component.options)\n }\n module.hot.accept(\"./UnpaidLeaveRejectionConfirm.vue?vue&type=template&id=da09fe9a&\", function () {\n api.rerender('da09fe9a', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"mixins/notifications/confirms/UnpaidLeaveRejectionConfirm.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnpaidLeaveRejectionConfirm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnpaidLeaveRejectionConfirm.vue?vue&type=script&lang=ts&\"","export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnpaidLeaveRejectionConfirm.vue?vue&type=template&id=da09fe9a&\"","import { render, staticRenderFns } from \"./VacationRejectionConfirm.vue?vue&type=template&id=dc7323cc&\"\nimport script from \"./VacationRejectionConfirm.vue?vue&type=script&lang=ts&\"\nexport * from \"./VacationRejectionConfirm.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\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/ivanpelyno/workSpace/projects/intems-menu/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('dc7323cc')) {\n api.createRecord('dc7323cc', component.options)\n } else {\n api.reload('dc7323cc', component.options)\n }\n module.hot.accept(\"./VacationRejectionConfirm.vue?vue&type=template&id=dc7323cc&\", function () {\n api.rerender('dc7323cc', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"mixins/notifications/confirms/VacationRejectionConfirm.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/ts-loader/index.js??ref--0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VacationRejectionConfirm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/ts-loader/index.js??ref--0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VacationRejectionConfirm.vue?vue&type=script&lang=ts&\"","export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VacationRejectionConfirm.vue?vue&type=template&id=dc7323cc&\"","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport PublicInfoModel from '../models/user/PublicInfoModel';\nimport AsModel from '../helpers/model/decorators/AsModel';\nimport AssetRequestModel from './AssetRequestModel';\nimport { Statuses } from './StatusModel';\nexport var AssetStatus;\n(function (AssetStatus) {\n AssetStatus[\"waiting_for_confirmation\"] = \"waiting_for_confirmation\";\n AssetStatus[\"confirmed\"] = \"confirmed\";\n AssetStatus[\"return_is_expected\"] = \"return_is_expected\";\n AssetStatus[\"processing\"] = \"processing\";\n})(AssetStatus || (AssetStatus = {}));\nexport var RejectAssetReason;\n(function (RejectAssetReason) {\n RejectAssetReason[\"dont_need\"] = \"dont_need\";\n RejectAssetReason[\"dont_have\"] = \"dont_have\";\n})(RejectAssetReason || (RejectAssetReason = {}));\nexport const AssetStatusLabels = new Map([\n [AssetStatus.waiting_for_confirmation, 'Waiting for confirmation'],\n [AssetStatus.confirmed, 'Confirmed'],\n [AssetStatus.return_is_expected, 'Return is expected'],\n [AssetStatus.processing, 'Processing']\n]);\nexport const AssetStatusTypes = new Map([\n [AssetStatus.waiting_for_confirmation, Statuses.danger],\n [AssetStatus.confirmed, Statuses.success],\n [AssetStatus.return_is_expected, Statuses.inactive],\n [AssetStatus.processing, Statuses.warning]\n]);\nexport const RejectAssetOptions = new Set([\n { value: RejectAssetReason.dont_need, title: 'I don’t need it anymore.' },\n { value: RejectAssetReason.dont_have, title: 'I don’t have it.' }\n]);\nlet AssetModel = class AssetModel {\n constructor() {\n this.id = undefined;\n this.employee = undefined;\n this.name = undefined;\n this.inventory_number = undefined;\n this.owner = undefined;\n this.type = undefined;\n this.status = undefined;\n this.request = undefined;\n this.selected = false;\n }\n get statusLabel() {\n return AssetStatusLabels.has(this.status) ? AssetStatusLabels.get(this.status) : '';\n }\n get statusType() {\n return AssetStatusTypes.has(this.status) ? AssetStatusTypes.get(this.status) : Statuses.inactive;\n }\n get isConfirmed() {\n return this.status === AssetStatus.confirmed || this.status === AssetStatus.return_is_expected;\n }\n get confirmed() {\n return this.status === AssetStatus.confirmed;\n }\n get isUnconfirmed() {\n return this.status === AssetStatus.waiting_for_confirmation || this.status === AssetStatus.processing;\n }\n get processing() {\n return this.status === AssetStatus.processing;\n }\n};\nAssetModel = __decorate([\n AsModel('employee', PublicInfoModel),\n AsModel('request', AssetRequestModel)\n], AssetModel);\nexport default AssetModel;\n","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport DateTime from '../helpers/model/decorators/DateTime';\nexport var AssetRequestStatus;\n(function (AssetRequestStatus) {\n AssetRequestStatus[\"requested\"] = \"requested\";\n AssetRequestStatus[\"processing\"] = \"processing\";\n AssetRequestStatus[\"done\"] = \"done\";\n})(AssetRequestStatus || (AssetRequestStatus = {}));\nlet AssetRequestModel = class AssetRequestModel {\n constructor() {\n this.status = undefined;\n this.comment = undefined;\n this.request_key = undefined;\n this.service_desc_url = undefined;\n this.date = undefined;\n }\n get processing() {\n return this.status === AssetRequestStatus.processing;\n }\n get notActive() {\n return this.status !== AssetRequestStatus.requested && this.status !== AssetRequestStatus.processing;\n }\n};\nAssetRequestModel = __decorate([\n DateTime('date')\n], AssetRequestModel);\nexport default AssetRequestModel;\n","export var Statuses;\n(function (Statuses) {\n Statuses[Statuses[\"success\"] = 1] = \"success\";\n Statuses[Statuses[\"inactive\"] = 0] = \"inactive\";\n Statuses[Statuses[\"danger\"] = -1] = \"danger\";\n Statuses[Statuses[\"warning\"] = 2] = \"warning\";\n Statuses[Statuses[\"secondary\"] = 3] = \"secondary\";\n Statuses[Statuses[\"info\"] = 4] = \"info\";\n})(Statuses || (Statuses = {}));\n","<template>\n <div class=\"confirm\">\n <modal name=\"confirm\" size=\"md\">\n <template slot=\"header\">\n {{ title ? title : 'Confirm?' }}\n </template>\n <template slot=\"content\">\n <p>{{ description ? description : '' }}</p>\n <form class=\"intems-form p-t-10\" v-if=\"hasForm\">\n <div :class=\"{ 'form-group--error': $v.form.comment.$error }\">\n <div class=\"form-group\">\n <label v-if=\"comment.description\" class=\"form__label\">{{ comment.description }}</label>\n <textarea\n ref=\"comment\"\n id=\"comment\"\n class=\"form__input\"\n spellcheck=\"false\"\n v-model=\"form.comment\"\n :placeholder=\"comment.placeholder\"\n @keydown.stop=\"\"\n ></textarea>\n <div v-if=\"$v.form.comment.$error\">\n <div class=\"error\" v-if=\"!$v.form.comment.required\">Comment is required</div>\n <div class=\"error\" v-if=\"!$v.form.comment.maxLength\">\n Maximum length of this field is 300 symbols\n </div>\n <div class=\"error\" v-if=\"!$v.form.comment.onlyLatin\">Only Latin letters allowed</div>\n </div>\n </div>\n </div>\n </form>\n <slot name=\"confirm-content\"></slot>\n </template>\n <template slot=\"footer\">\n <slot name=\"footer-description\"></slot>\n\n <secondary-button @click.native=\"reject\">\n {{ rejectBtn }}\n </secondary-button>\n <action-button @click.native=\"hasForm ? confirmWithValidation() : confirm()\">\n {{ submitBtn }}\n </action-button>\n </template>\n </modal>\n </div>\n</template>\n\n<script>\nimport Confirm from './Confirm';\n\nexport default Confirm;\n</script>\n","var render = function render() {\n var _vm = this,\n _c = _vm._self._c,\n _setup = _vm._self._setupProxy\n return _c(\n \"div\",\n { staticClass: \"confirm\" },\n [\n _c(\n \"modal\",\n { attrs: { name: \"confirm\", size: \"md\" } },\n [\n _c(\"template\", { slot: \"header\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.title ? _vm.title : \"Confirm?\") +\n \"\\n \"\n ),\n ]),\n _vm._v(\" \"),\n _c(\n \"template\",\n { slot: \"content\" },\n [\n _c(\"p\", [_vm._v(_vm._s(_vm.description ? _vm.description : \"\"))]),\n _vm._v(\" \"),\n _vm.hasForm\n ? _c(\"form\", { staticClass: \"intems-form p-t-10\" }, [\n _c(\n \"div\",\n {\n class: {\n \"form-group--error\": _vm.$v.form.comment.$error,\n },\n },\n [\n _c(\"div\", { staticClass: \"form-group\" }, [\n _vm.comment.description\n ? _c(\"label\", { staticClass: \"form__label\" }, [\n _vm._v(_vm._s(_vm.comment.description)),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"textarea\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.comment,\n expression: \"form.comment\",\n },\n ],\n ref: \"comment\",\n staticClass: \"form__input\",\n attrs: {\n id: \"comment\",\n spellcheck: \"false\",\n placeholder: _vm.comment.placeholder,\n },\n domProps: { value: _vm.form.comment },\n on: {\n keydown: function ($event) {\n $event.stopPropagation()\n },\n input: function ($event) {\n if ($event.target.composing) return\n _vm.$set(\n _vm.form,\n \"comment\",\n $event.target.value\n )\n },\n },\n }),\n _vm._v(\" \"),\n _vm.$v.form.comment.$error\n ? _c(\"div\", [\n !_vm.$v.form.comment.required\n ? _c(\"div\", { staticClass: \"error\" }, [\n _vm._v(\"Comment is required\"),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n !_vm.$v.form.comment.maxLength\n ? _c(\"div\", { staticClass: \"error\" }, [\n _vm._v(\n \"\\n Maximum length of this field is 300 symbols\\n \"\n ),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n !_vm.$v.form.comment.onlyLatin\n ? _c(\"div\", { staticClass: \"error\" }, [\n _vm._v(\"Only Latin letters allowed\"),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ]),\n ]\n ),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm._t(\"confirm-content\"),\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"template\",\n { slot: \"footer\" },\n [\n _vm._t(\"footer-description\"),\n _vm._v(\" \"),\n _c(\n \"secondary-button\",\n {\n nativeOn: {\n click: function ($event) {\n return _vm.reject.apply(null, arguments)\n },\n },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.rejectBtn) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"action-button\",\n {\n nativeOn: {\n click: function ($event) {\n _vm.hasForm ? _vm.confirmWithValidation() : _vm.confirm()\n },\n },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.submitBtn) +\n \"\\n \"\n ),\n ]\n ),\n ],\n 2\n ),\n ],\n 2\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\"confirm\", {\n ref: \"rejectConfirm\",\n attrs: {\n title: \"Rejection reason\",\n \"submit-btn\": \"Send\",\n \"reject-btn\": \"Cancel\",\n },\n on: {\n confirmed: _vm.confirmed,\n rejected: function ($event) {\n return _vm.$emit(\"unsetRejection\")\n },\n },\n scopedSlots: _vm._u([\n {\n key: \"confirm-content\",\n fn: function () {\n return [\n _c(\"p\", [\n _vm._v(\"Please specify why you want to reject the item.\"),\n ]),\n _vm._v(\" \"),\n _vm._l(_vm.rejectOptions, function (option) {\n return _c(\n \"p\",\n { key: option.value, staticClass: \"margin-bottom-5\" },\n [\n _c(\"label\", { staticClass: \"reject-reasons\" }, [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.rejectReason,\n expression: \"rejectReason\",\n },\n ],\n staticClass: \"with-gap\",\n attrs: { type: \"radio\" },\n domProps: {\n value: option.value,\n checked: _vm._q(_vm.rejectReason, option.value),\n },\n on: {\n change: function ($event) {\n _vm.rejectReason = option.value\n },\n },\n }),\n _vm._v(\" \"),\n _c(\"span\", [_vm._v(_vm._s(option.title))]),\n ]),\n ]\n )\n }),\n ]\n },\n proxy: true,\n },\n ]),\n })\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\"confirm\", {\n ref: \"rejectConfirm\",\n attrs: {\n title: \"Sick leave rejection reason\",\n \"submit-btn\": \"Reject\",\n \"reject-btn\": \"Cancel\",\n comment: {\n placeholder: \"Add comment (required)\",\n required: true,\n },\n },\n on: {\n confirmed: _vm.confirmed,\n rejected: function ($event) {\n return _vm.$emit(\"unsetRejection\")\n },\n },\n scopedSlots: _vm._u([\n {\n key: \"footer-description\",\n fn: function () {\n return [\n _c(\"div\", {\n staticClass: \"margin-top-10\",\n domProps: { innerHTML: _vm._s(_vm.description) },\n }),\n ]\n },\n proxy: true,\n },\n ]),\n })\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\"confirm\", {\n ref: \"rejectConfirm\",\n attrs: {\n title: \"Unpaid leave rejection reason\",\n \"submit-btn\": \"Reject\",\n \"reject-btn\": \"Cancel\",\n comment: {\n placeholder: \"Add comment (required)\",\n required: true,\n },\n },\n on: {\n confirmed: _vm.confirmed,\n rejected: function ($event) {\n return _vm.$emit(\"unsetRejection\")\n },\n },\n scopedSlots: _vm._u([\n {\n key: \"footer-description\",\n fn: function () {\n return [\n _c(\"div\", {\n staticClass: \"margin-top-10\",\n domProps: { innerHTML: _vm._s(_vm.description) },\n }),\n ]\n },\n proxy: true,\n },\n ]),\n })\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\"confirm\", {\n ref: \"rejectConfirm\",\n attrs: {\n title: \"Vacation rejection reason\",\n \"submit-btn\": \"Reject\",\n \"reject-btn\": \"Cancel\",\n comment: {\n placeholder: \"Add comment (required)\",\n required: true,\n },\n },\n on: {\n confirmed: _vm.confirmed,\n rejected: function ($event) {\n return _vm.$emit(\"unsetRejection\")\n },\n },\n scopedSlots: _vm._u([\n {\n key: \"footer-description\",\n fn: function () {\n return [\n _c(\"div\", {\n staticClass: \"margin-top-10\",\n domProps: { innerHTML: _vm._s(_vm.description) },\n }),\n ]\n },\n proxy: true,\n },\n ]),\n })\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import Confirm from '../../../components/confirm/Confirm.vue';\nimport { RejectAssetOptions, RejectAssetReason } from '../../../models/AssetModel';\nexport default {\n components: { Confirm },\n mounted() {\n this.$refs.rejectConfirm.open();\n },\n computed: {\n rejectOptions() {\n return RejectAssetOptions;\n }\n },\n methods: {\n confirmed() {\n this.$emit('confirmed', this.rejectReason);\n }\n },\n data() {\n return {\n rejectReason: RejectAssetReason.dont_need\n };\n }\n};\n","import Confirm from '../../../components/confirm/Confirm.vue';\nexport default {\n components: { Confirm },\n props: { description: String },\n mounted() {\n this.$refs.rejectConfirm.open();\n },\n methods: {\n confirmed(payload) {\n this.$emit('confirmed', payload);\n }\n }\n};\n","import Confirm from '../../../components/confirm/Confirm.vue';\nexport default {\n components: { Confirm },\n props: { description: String },\n mounted() {\n this.$refs.rejectConfirm.open();\n },\n methods: {\n confirmed(payload) {\n this.$emit('confirmed', payload);\n }\n }\n};\n","import Confirm from '../../../components/confirm/Confirm.vue';\nexport default {\n components: { Confirm },\n props: { description: String },\n mounted() {\n this.$refs.rejectConfirm.open();\n },\n methods: {\n confirmed(payload) {\n this.$emit('confirmed', payload);\n }\n }\n};\n"],"sourceRoot":""}
|