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tB+mB,EAAQ1X,UAAUrP,IAAI,OAC1B,IAGA+mB,GACAA,EAAQ3jB,iBAAiB,SAAS,WAC9B6jB,EAAQ5X,UAAUI,OAAO,QACzBsX,EAAQ1X,UAAUI,OAAO,OAC7B,IAGJ,IAAIyX,EAAahsB,SAAS0rB,iBAAiB,eACvCO,EAAoBjsB,SAAS0rB,iBAAiB,eAC9CQ,EAA0BlsB,SAAS0rB,iBAAiB,eAExD,GAAIM,EACA,IAAK,IAAItuB,EAAI,EAAGA,EAAIsuB,EAAWpxB,OAAQ8C,IACnCsuB,EAAWtuB,GAAGwK,iBAAiB,SAAS,WACpC+jB,EAAkBvuB,GAAGyW,UAAUrP,IAAI,OACvC,IAEIonB,GAA2BA,EAAwBxuB,IACnDwuB,EAAwBxuB,GAAGwK,iBAAiB,SAAS,WACjD+jB,EAAkBvuB,GAAGyW,UAAUI,OAAO,OAC1C,IAGAsX,GACAA,EAAQ3jB,iBAAiB,SAAS,WAC9B+jB,EAAkBvuB,GAAGyW,UAAUI,OAAO,OAC1C,GAIhB,GDnHE1R,OAAQC,IAAMA","sources":["webpack://app/webpack/bootstrap","webpack://app/webpack/runtime/compat get default export","webpack://app/webpack/runtime/define property getters","webpack://app/webpack/runtime/hasOwnProperty shorthand","webpack://app/external var \"Vue\"","webpack://app/external var \"Axios\"","webpack://app/./Areas/AgentArea/Scripts/Config/DataWebConfig.ts","webpack://app/./node_modules/vue-class-component/dist/vue-class-component.esm.js","webpack://app/./node_modules/vue-property-decorator/lib/helpers/metadata.js","webpack://app/./node_modules/vue-property-decorator/lib/decorators/Prop.js","webpack://app/./node_modules/vue-property-decorator/lib/decorators/Watch.js","webpack://app/./Scripts/Common/FormHelper.ts","webpack://app/./Scripts/Common/Localizer.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Account/AccountLogin.ts","webpack://app/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://app/./Areas/AgentArea/Scripts/Components/Account/AccountLogin.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Account/AccountLogin.vue?b330","webpack://app/./Areas/AgentArea/Scripts/Components/HeaderSearchBox/HeaderSearchBox.vue?9cbe","webpack://app/./Areas/AgentArea/Scripts/Components/HeaderSearchBox/HeaderSearchBox.ts","webpack://app/./Areas/AgentArea/Scripts/Components/HeaderSearchBox/HeaderSearchBox.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Dashboard.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Dashboard.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Dashboard.vue?de33","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetNews.vue?b2a8","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetNews.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetNews.vue","webpack://app/./Areas/AgentArea/Scripts/Infrastructure/DataLegacyHelper.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetCommunication.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetCommunication.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetCommunication.vue?57b0","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetTeachers.vue?e698","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetTeachers.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetTeachers.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetOrders.vue?4a33","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetOrders.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Dashboard/Widgets/WidgetOrders.vue","webpack://app/./Areas/AgentArea/Scripts/Components/MagazineFilterBox/MagazineFilterBox.ts","webpack://app/./Areas/AgentArea/Scripts/Components/MagazineFilterBox/MagazineFilterBox.vue","webpack://app/./Areas/AgentArea/Scripts/Components/MagazineFilterBox/MagazineFilterBox.vue?a407","webpack://app/./Scripts/Infrastructure/GTagHelper.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderList.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderList.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderList.vue?24f6","webpack://app/./Scripts/Infrastructure/FormLegacyHelper.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderImport.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderImport.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderImport.vue?b3b0","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderDetail.vue?f066","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderDetail.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderDetail.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Order/StockList.vue?cdd8","webpack://app/./Areas/AgentArea/Scripts/Components/Order/StockList.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/StockList.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Order/StockImport.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/StockImport.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Order/StockImport.vue?bc07","webpack://app/./Areas/AgentArea/Scripts/Components/Order/StockDetail.vue?6e4b","webpack://app/./Areas/AgentArea/Scripts/Components/Order/StockDetail.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/StockDetail.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderCatalogueSearch.vue?f913","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderCatalogueSearch.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderCatalogueSearch.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderProductDetail.vue?a68a","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderProductDetail.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderProductDetail.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderFilterBox.vue?3b8a","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderFilterBox.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Order/OrderFilterBox.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Catalogue/ProductList.vue?4878","webpack://app/./Areas/AgentArea/Scripts/Components/Catalogue/ProductList.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Catalogue/ProductList.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Catalogue/ProductDetail.vue?b635","webpack://app/./Areas/AgentArea/Scripts/Components/Catalogue/ProductDetail.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Catalogue/ProductDetail.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Catalogue/ProductFeedback.vue?a7c5","webpack://app/./Areas/AgentArea/Scripts/Components/Catalogue/ProductFeedback.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Catalogue/ProductFeedback.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Teacher/TeacherList.vue?6458","webpack://app/./Areas/AgentArea/Scripts/Components/Teacher/TeacherList.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Teacher/TeacherList.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Teacher/TeacherDetail.vue?5214","webpack://app/./Areas/AgentArea/Scripts/Components/Teacher/TeacherDetail.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Teacher/TeacherDetail.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Toast/ToastHub.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Toast/ToastHub.vue","webpack://app/./Areas/AgentArea/Scripts/Components/Toast/ToastHub.vue?22a7","webpack://app/./Areas/AgentArea/Scripts/Components/Pagination/Pagination.vue?41fd","webpack://app/./Areas/AgentArea/Scripts/Components/Pagination/Pagination.ts","webpack://app/./Areas/AgentArea/Scripts/Components/Pagination/Pagination.vue","webpack://app/./Scripts/Components/Pagination/Pagination.vue?7dcc","webpack://app/./Scripts/Components/Pagination/Pagination.ts","webpack://app/./Scripts/Components/Pagination/Pagination.vue","webpack://app/./Areas/AgentArea/Scripts/Directives/ExpandingMenu/ExpandingMenu.ts","webpack://app/./Areas/AgentArea/Scripts/Directives/ExpandingMenu/ExpandingMenuLink.ts","webpack://app/./Areas/AgentArea/Scripts/Config/AppConfig.ts","webpack://app/external var \"VueRouter\"","webpack://app/./Areas/AgentArea/Scripts/Config/RouteConfig.ts","webpack://app/external var \"Vuex\"","webpack://app/./Areas/AgentArea/Scripts/Stores/SearchStore.ts","webpack://app/./Areas/AgentArea/Scripts/Stores/MagazineStore.ts","webpack://app/./Areas/AgentArea/Scripts/Stores/CatalogueStore.ts","webpack://app/./Areas/AgentArea/Scripts/Stores/CommunicationStore.ts","webpack://app/./Areas/AgentArea/Scripts/Stores/ProfileStore.ts","webpack://app/./Areas/AgentArea/Scripts/Stores/TeacherStore.ts","webpack://app/./Areas/AgentArea/Scripts/Stores/OrderStore.ts","webpack://app/./Areas/AgentArea/Scripts/Config/StoreConfig.ts","webpack://app/./Areas/AgentArea/Scripts/Stores/AppToastStore.ts","webpack://app/./Areas/AgentArea/Scripts/Main.ts","webpack://app/./Areas/AgentArea/Scripts/Pages/BasePage.ts"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","const __WEBPACK_NAMESPACE_OBJECT__ = Vue;","const __WEBPACK_NAMESPACE_OBJECT__ = Axios;","import Vue from \"vue\";\r\n\r\nexport default {\r\n install: (Vue, options) => {\r\n // Add DataWeb components here\r\n }\r\n};","/**\n * vue-class-component v7.2.6\n * (c) 2015-present Evan You\n * @license MIT\n */\nimport Vue from 'vue';\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n return arr2;\n }\n}\n\nfunction _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}\n\n// The rational behind the verbose Reflect-feature check below is the fact that there are polyfills\n// which add an implementation for Reflect.defineMetadata but not for Reflect.getOwnMetadataKeys.\n// Without this check consumers will encounter hard to track down runtime errors.\nfunction reflectionIsSupported() {\n return typeof Reflect !== 'undefined' && Reflect.defineMetadata && Reflect.getOwnMetadataKeys;\n}\nfunction copyReflectionMetadata(to, from) {\n forwardMetadata(to, from);\n Object.getOwnPropertyNames(from.prototype).forEach(function (key) {\n forwardMetadata(to.prototype, from.prototype, key);\n });\n Object.getOwnPropertyNames(from).forEach(function (key) {\n forwardMetadata(to, from, key);\n });\n}\n\nfunction forwardMetadata(to, from, propertyKey) {\n var metaKeys = propertyKey ? Reflect.getOwnMetadataKeys(from, propertyKey) : Reflect.getOwnMetadataKeys(from);\n metaKeys.forEach(function (metaKey) {\n var metadata = propertyKey ? Reflect.getOwnMetadata(metaKey, from, propertyKey) : Reflect.getOwnMetadata(metaKey, from);\n\n if (propertyKey) {\n Reflect.defineMetadata(metaKey, metadata, to, propertyKey);\n } else {\n Reflect.defineMetadata(metaKey, metadata, to);\n }\n });\n}\n\nvar fakeArray = {\n __proto__: []\n};\nvar hasProto = fakeArray instanceof Array;\nfunction createDecorator(factory) {\n return function (target, key, index) {\n var Ctor = typeof target === 'function' ? target : target.constructor;\n\n if (!Ctor.__decorators__) {\n Ctor.__decorators__ = [];\n }\n\n if (typeof index !== 'number') {\n index = undefined;\n }\n\n Ctor.__decorators__.push(function (options) {\n return factory(options, key, index);\n });\n };\n}\nfunction mixins() {\n for (var _len = arguments.length, Ctors = new Array(_len), _key = 0; _key < _len; _key++) {\n Ctors[_key] = arguments[_key];\n }\n\n return Vue.extend({\n mixins: Ctors\n });\n}\nfunction isPrimitive(value) {\n var type = _typeof(value);\n\n return value == null || type !== 'object' && type !== 'function';\n}\nfunction warn(message) {\n if (typeof console !== 'undefined') {\n console.warn('[vue-class-component] ' + message);\n }\n}\n\nfunction collectDataFromConstructor(vm, Component) {\n // override _init to prevent to init as Vue instance\n var originalInit = Component.prototype._init;\n\n Component.prototype._init = function () {\n var _this = this;\n\n // proxy to actual vm\n var keys = Object.getOwnPropertyNames(vm); // 2.2.0 compat (props are no longer exposed as self properties)\n\n if (vm.$options.props) {\n for (var key in vm.$options.props) {\n if (!vm.hasOwnProperty(key)) {\n keys.push(key);\n }\n }\n }\n\n keys.forEach(function (key) {\n Object.defineProperty(_this, key, {\n get: function get() {\n return vm[key];\n },\n set: function set(value) {\n vm[key] = value;\n },\n configurable: true\n });\n });\n }; // should be acquired class property values\n\n\n var data = new Component(); // restore original _init to avoid memory leak (#209)\n\n Component.prototype._init = originalInit; // create plain data object\n\n var plainData = {};\n Object.keys(data).forEach(function (key) {\n if (data[key] !== undefined) {\n plainData[key] = data[key];\n }\n });\n\n if (process.env.NODE_ENV !== 'production') {\n if (!(Component.prototype instanceof Vue) && Object.keys(plainData).length > 0) {\n warn('Component class must inherit Vue or its descendant class ' + 'when class property is used.');\n }\n }\n\n return plainData;\n}\n\nvar $internalHooks = ['data', 'beforeCreate', 'created', 'beforeMount', 'mounted', 'beforeDestroy', 'destroyed', 'beforeUpdate', 'updated', 'activated', 'deactivated', 'render', 'errorCaptured', 'serverPrefetch' // 2.6\n];\nfunction componentFactory(Component) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n options.name = options.name || Component._componentTag || Component.name; // prototype props.\n\n var proto = Component.prototype;\n Object.getOwnPropertyNames(proto).forEach(function (key) {\n if (key === 'constructor') {\n return;\n } // hooks\n\n\n if ($internalHooks.indexOf(key) > -1) {\n options[key] = proto[key];\n return;\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(proto, key);\n\n if (descriptor.value !== void 0) {\n // methods\n if (typeof descriptor.value === 'function') {\n (options.methods || (options.methods = {}))[key] = descriptor.value;\n } else {\n // typescript decorated data\n (options.mixins || (options.mixins = [])).push({\n data: function data() {\n return _defineProperty({}, key, descriptor.value);\n }\n });\n }\n } else if (descriptor.get || descriptor.set) {\n // computed properties\n (options.computed || (options.computed = {}))[key] = {\n get: descriptor.get,\n set: descriptor.set\n };\n }\n });\n (options.mixins || (options.mixins = [])).push({\n data: function data() {\n return collectDataFromConstructor(this, Component);\n }\n }); // decorate options\n\n var decorators = Component.__decorators__;\n\n if (decorators) {\n decorators.forEach(function (fn) {\n return fn(options);\n });\n delete Component.__decorators__;\n } // find super\n\n\n var superProto = Object.getPrototypeOf(Component.prototype);\n var Super = superProto instanceof Vue ? superProto.constructor : Vue;\n var Extended = Super.extend(options);\n forwardStaticMembers(Extended, Component, Super);\n\n if (reflectionIsSupported()) {\n copyReflectionMetadata(Extended, Component);\n }\n\n return Extended;\n}\nvar reservedPropertyNames = [// Unique id\n'cid', // Super Vue constructor\n'super', // Component options that will be used by the component\n'options', 'superOptions', 'extendOptions', 'sealedOptions', // Private assets\n'component', 'directive', 'filter'];\nvar shouldIgnore = {\n prototype: true,\n arguments: true,\n callee: true,\n caller: true\n};\n\nfunction forwardStaticMembers(Extended, Original, Super) {\n // We have to use getOwnPropertyNames since Babel registers methods as non-enumerable\n Object.getOwnPropertyNames(Original).forEach(function (key) {\n // Skip the properties that should not be overwritten\n if (shouldIgnore[key]) {\n return;\n } // Some browsers does not allow reconfigure built-in properties\n\n\n var extendedDescriptor = Object.getOwnPropertyDescriptor(Extended, key);\n\n if (extendedDescriptor && !extendedDescriptor.configurable) {\n return;\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(Original, key); // If the user agent does not support `__proto__` or its family (IE <= 10),\n // the sub class properties may be inherited properties from the super class in TypeScript.\n // We need to exclude such properties to prevent to overwrite\n // the component options object which stored on the extended constructor (See #192).\n // If the value is a referenced value (object or function),\n // we can check equality of them and exclude it if they have the same reference.\n // If it is a primitive value, it will be forwarded for safety.\n\n if (!hasProto) {\n // Only `cid` is explicitly exluded from property forwarding\n // because we cannot detect whether it is a inherited property or not\n // on the no `__proto__` environment even though the property is reserved.\n if (key === 'cid') {\n return;\n }\n\n var superDescriptor = Object.getOwnPropertyDescriptor(Super, key);\n\n if (!isPrimitive(descriptor.value) && superDescriptor && superDescriptor.value === descriptor.value) {\n return;\n }\n } // Warn if the users manually declare reserved properties\n\n\n if (process.env.NODE_ENV !== 'production' && reservedPropertyNames.indexOf(key) >= 0) {\n warn(\"Static property name '\".concat(key, \"' declared on class '\").concat(Original.name, \"' \") + 'conflicts with reserved property name of Vue internal. ' + 'It may cause unexpected behavior of the component. Consider renaming the property.');\n }\n\n Object.defineProperty(Extended, key, descriptor);\n });\n}\n\nfunction Component(options) {\n if (typeof options === 'function') {\n return componentFactory(options);\n }\n\n return function (Component) {\n return componentFactory(Component, options);\n };\n}\n\nComponent.registerHooks = function registerHooks(keys) {\n $internalHooks.push.apply($internalHooks, _toConsumableArray(keys));\n};\n\nexport default Component;\nexport { createDecorator, mixins };\n","/** @see {@link https://github.com/vuejs/vue-class-component/blob/master/src/reflect.ts} */\nvar reflectMetadataIsSupported = typeof Reflect !== 'undefined' && typeof Reflect.getMetadata !== 'undefined';\nexport function applyMetadata(options, target, key) {\n if (reflectMetadataIsSupported) {\n if (!Array.isArray(options) &&\n typeof options !== 'function' &&\n !options.hasOwnProperty('type') &&\n typeof options.type === 'undefined') {\n var type = Reflect.getMetadata('design:type', target, key);\n if (type !== Object) {\n options.type = type;\n }\n }\n }\n}\n","import { createDecorator } from 'vue-class-component';\nimport { applyMetadata } from '../helpers/metadata';\n/**\n * decorator of a prop\n * @param options the options for the prop\n * @return PropertyDecorator | void\n */\nexport function Prop(options) {\n if (options === void 0) { options = {}; }\n return function (target, key) {\n applyMetadata(options, target, key);\n createDecorator(function (componentOptions, k) {\n ;\n (componentOptions.props || (componentOptions.props = {}))[k] = options;\n })(target, key);\n };\n}\n","import { createDecorator } from 'vue-class-component';\n/**\n * decorator of a watch function\n * @param path the path or the expression to observe\n * @param WatchOption\n * @return MethodDecorator\n */\nexport function Watch(path, options) {\n if (options === void 0) { options = {}; }\n var _a = options.deep, deep = _a === void 0 ? false : _a, _b = options.immediate, immediate = _b === void 0 ? false : _b;\n return createDecorator(function (componentOptions, handler) {\n if (typeof componentOptions.watch !== 'object') {\n componentOptions.watch = Object.create(null);\n }\n var watch = componentOptions.watch;\n if (typeof watch[path] === 'object' && !Array.isArray(watch[path])) {\n watch[path] = [watch[path]];\n }\n else if (typeof watch[path] === 'undefined') {\n watch[path] = [];\n }\n watch[path].push({ handler: handler, deep: deep, immediate: immediate });\n });\n}\n","import Vue from \"vue\";\r\n\r\nexport default class FormHelper {\r\n static initRuntimeProperties(controls: any[], parentControl: any = null) {\r\n // Init runtime properties\r\n for (let control of controls) {\r\n Vue.set(control, \"fullName\", parentControl ? parentControl.fullName + \".\" + control.name : control.name);\r\n Vue.set(control, \"dataSourceParameters\", []);\r\n Vue.set(control, \"isEditing\", false);\r\n Vue.set(control, \"validationErrors\", []);\r\n Vue.set(control, \"additionalValues\", []);\r\n Vue.set(control, \"isValueChangedOutside\", false);\r\n }\r\n }\r\n\r\n public static getValidationErrors(validationState: any): any[] {\r\n let validationErrors: any[] = [];\r\n\r\n for (var propertyName in validationState) {\r\n if (validationState.hasOwnProperty(propertyName)) {\r\n for (let message of validationState[propertyName]) {\r\n validationErrors.push({ name: propertyName, message: message });\r\n }\r\n }\r\n }\r\n\r\n return validationErrors;\r\n }\r\n\r\n public static isControlValidationError(controlName: string, validationErrors: any[]): boolean {\r\n return validationErrors.some(x => x.name === controlName);\r\n }\r\n\r\n public static getRequestVerificationToken(): string {\r\n return (document.getElementsByName(\"__RequestVerificationToken\")[0]).value;\r\n }\r\n\r\n public static showPassword(inputId: string) {\r\n let input: HTMLElement = document.querySelector(\"#\" + inputId);\r\n input.setAttribute(\"type\", input.getAttribute(\"type\") === \"password\" ? \"text\" : \"password\");\r\n }\r\n\r\n static setFocus(contextElement: HTMLElement) {\r\n // Set focus on first input element\r\n let firstInput: HTMLElement = contextElement.querySelector(\"input\");\r\n if (firstInput) {\r\n firstInput.focus();\r\n }\r\n }\r\n\r\n static removeFocus() {\r\n // Remove document focus\r\n if (document.activeElement instanceof HTMLElement) {\r\n document.activeElement.blur();\r\n }\r\n }\r\n}","import Axios from \"axios\";\r\n\r\nexport default class Localizer {\r\n static cultureResources: Map = new Map();\r\n static defaultCulture: string = null;\r\n\r\n static async init(configuration: LocalizerConfiguration) {\r\n this.defaultCulture = configuration.defaultCulture;\r\n\r\n configuration.resourceCultures = configuration.resourceCultures ?? [configuration.defaultCulture];\r\n\r\n for (const resourceCulture of configuration.resourceCultures) {\r\n this.cultureResources.set(resourceCulture, (await Axios.get(\"/localization/resource/getresources\", { params: { culture: resourceCulture, contexts: configuration.resourceContexts.join(\",\") } })).data);\r\n }\r\n }\r\n\r\n static get(name: string, ...values: any[]): string {\r\n return this.getByCulture(name, this.defaultCulture, values);\r\n }\r\n\r\n static getByCulture(name: string, culture: string, ...values: any[]): string {\r\n let placeHolder: string = name.split(\".\").pop();\r\n\r\n let resources: any = this.cultureResources.get(culture);\r\n\r\n if (!resources) {\r\n // Culture not found\r\n return placeHolder;\r\n }\r\n\r\n if (resources[name] === undefined) {\r\n return placeHolder;\r\n }\r\n\r\n if (resources[name] === null || resources[name] === '') {\r\n // Resource null or empty\r\n return placeHolder;\r\n }\r\n\r\n let resource: string = resources[name];\r\n\r\n for (var i = 0; i < values[0]?.length; i++) {\r\n resource = resource.replace(new RegExp(\"\\\\{\" + i + \"\\\\}\", \"g\"), values[0][i]);\r\n }\r\n\r\n return resource;\r\n }\r\n}\r\n\r\nexport interface LocalizerConfiguration {\r\n defaultCulture: string;\r\n resourceContexts: string[];\r\n resourceCultures?: string[];\r\n}","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop } from \"vue-property-decorator\";\r\nimport Axios from \"axios\";\r\nimport FormHelper from \"@Scripts/Common/FormHelper\";\r\nimport Localizer from \"@Scripts/Common/Localizer\";\r\n\r\n@Component({ name: \"AccountLogin\" })\r\nexport default class AccountLogin extends Vue {\r\n public localizer: any = Localizer;\r\n public formHelper: any = FormHelper;\r\n public isLoading: boolean = false;\r\n public isSuccess: boolean = false;\r\n public options: any = null;\r\n public formData: any = {};\r\n public validationErrors: any[] = [];\r\n\r\n @Prop() readonly returnUrl: string;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n public async submitForm() {\r\n FormHelper.removeFocus();\r\n this.validationErrors = [];\r\n this.isLoading = true;\r\n\r\n try {\r\n await Axios.post(this.routes.AgentArea_Account_Login, this.formData);\r\n\r\n this.isSuccess = true;\r\n\r\n window.location.href = this.returnUrl ? this.returnUrl : this.routes.AgentArea_Main;\r\n } catch (error) {\r\n this.formData.password = null;\r\n\r\n if (error.response.status === 400) {\r\n this.validationErrors = FormHelper.getValidationErrors(error.response.data);\r\n }\r\n }\r\n\r\n this.isLoading = false;\r\n }\r\n\r\n public isEmailNotConfirmed(): boolean {\r\n return (this.validationErrors.length !== 0 && this.validationErrors.filter(x => x.message === this.localizer.get(\"Account.Common.Login_EmailNotConfirmed\")).length > 0);\r\n }\r\n};","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./AccountLogin.vue?vue&type=template&id=f5ed16b2\"\nimport script from \"./AccountLogin?vue&type=script&lang=ts&external\"\nexport * from \"./AccountLogin?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('form',{staticClass:\"form\"},[_c('div',{staticClass:\"item row\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"UserName\"}},[_vm._v(_vm._s(_vm.localizer.get(\"Account.Common.EmailOrUserName\")))]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.formData.userName),expression:\"formData.userName\",modifiers:{\"lazy\":true}}],class:[{ 'input-validation-error': _vm.formHelper.isControlValidationError('UserName', _vm.validationErrors) }, 'textbox'],attrs:{\"type\":\"text\",\"id\":\"UserName\"},domProps:{\"value\":(_vm.formData.userName)},on:{\"change\":function($event){return _vm.$set(_vm.formData, \"userName\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"item row\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"Password\"}},[_vm._v(_vm._s(_vm.localizer.get(\"Account.Common.Password\")))]),_vm._v(\" \"),_c('div',{staticClass:\"control\",attrs:{\"data-type\":\"password\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.formData.password),expression:\"formData.password\",modifiers:{\"lazy\":true}}],class:[{ 'input-validation-error': _vm.formHelper.isControlValidationError('Password', _vm.validationErrors) }, 'textbox'],attrs:{\"type\":\"password\",\"id\":\"Password\"},domProps:{\"value\":(_vm.formData.password)},on:{\"change\":function($event){return _vm.$set(_vm.formData, \"password\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"item row checkbox\"},[_c('div',{staticClass:\"label\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.formData.isPersistent),expression:\"formData.isPersistent\",modifiers:{\"lazy\":true}}],attrs:{\"id\":\"IsPersistent\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.formData.isPersistent)?_vm._i(_vm.formData.isPersistent,null)>-1:(_vm.formData.isPersistent)},on:{\"change\":function($event){var $$a=_vm.formData.isPersistent,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.formData, \"isPersistent\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.formData, \"isPersistent\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.formData, \"isPersistent\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"IsPersistent\"}},[_vm._v(_vm._s(_vm.localizer.get(\"Account.Common.Login_RememberMe\")))])])]),_vm._v(\" \"),_c('div',{staticClass:\"cta mrg\",attrs:{\"data-mrgt\":\"30\"}},[(!_vm.isLoading)?_c('button',{staticClass:\"button disable-on-submit\",attrs:{\"data-size\":\"big\",\"data-width\":\"full\"},on:{\"click\":function($event){return _vm.submitForm()}}},[_vm._v(_vm._s(_vm.localizer.get(\"Account.Common.Login_Button\")))]):_vm._e()]),_vm._v(\" \"),(_vm.validationErrors.length !== 0)?_c('div',{staticClass:\"validation-summary-errors\"},[_c('ul',_vm._l((_vm.validationErrors),function(validationError,index){return _c('li',{key:index},[_vm._v(_vm._s(validationError.message))])}),0)]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"utility-link mrg\",attrs:{\"data-mrgt\":\"20\"}},[_c('a',{staticClass:\"button\",attrs:{\"href\":_vm.routes.Account_PasswordRemind}},[_vm._v(_vm._s(_vm.localizer.get(\"Account.Common.Login_ForgotPassword\")))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"app-search\",attrs:{\"id\":\"SearchBox\"}},[_c('div',{staticClass:\"selector\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchSelector),expression:\"searchSelector\"}],staticClass:\"dropdown\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.searchSelector=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.getSuggestions()}]}},[_c('option',{attrs:{\"value\":\"All\"}},[_vm._v(\"Cerca in tutto il sito\")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"Catalogue\"}},[_vm._v(\"Cerca nel catalogo\")])])]),_vm._v(\" \"),_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchtext),expression:\"searchtext\"}],staticClass:\"textbox\",attrs:{\"type\":\"text\",\"placeholder\":\"Inserisci titolo, argomento, codice ISBN...\"},domProps:{\"value\":(_vm.searchtext)},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.suggestionSelect(_vm.suggestionListIndex)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"]))return null;$event.preventDefault();return _vm.moveDown()},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"]))return null;$event.preventDefault();return _vm.moveUp()}],\"input\":function($event){if($event.target.composing)return;_vm.searchtext=$event.target.value}}}),_vm._v(\" \"),(!_vm.isLoading)?[(_vm.suggestions.length != 0)?_c('div',{staticClass:\"suggestion\"},[_vm._l((_vm.suggestions),function(suggestion,index){return _c('div',{key:index,class:[{ selected: index === _vm.suggestionListIndex }, 'item' ]},[_c('a',{staticClass:\"button\",attrs:{\"href\":suggestion.linkUrl}},[_vm._v(\"\\n \"+_vm._s(suggestion.title)+\"\\n \")])])}),_vm._v(\" \"),_c('div',{staticClass:\"item all\"},[_c('a',{staticClass:\"button\",on:{\"click\":function($event){return _vm.showAll()}}},[_vm._v(\" Mostra tutti i risultati \")])])],2):(_vm.isSuggestionNotFound)?_c('div',{staticClass:\"suggestion no-result\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Nessun elemento trovato\")])]):_vm._e()]:[_vm._m(0)]],2),_vm._v(\" \"),_vm._m(1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"suggestion\"},[_c('div',{staticClass:\"loader-box\"},[_c('div',{staticClass:\"loader\"})])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"search-close\",attrs:{\"id\":\"CloseSearchButton\"}},[_c('span',{staticClass:\"icon fastic-close\"})])\n}]\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Watch } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"HeaderSearchBox\" })\r\nexport default class HeaderSearchBox extends Vue {\r\n public searchtext: string = null;\r\n public suggestionListIndex: number = -1;\r\n public isSuggestionNotFound: boolean = false;\r\n public isLoading: boolean = false;\r\n public searchSelector: string = \"All\";\r\n public debounceTimeOut: any = null;\r\n\r\n get suggestions() {\r\n return this.$store.getters[\"searchStore/suggestions\"];\r\n }\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n @Watch(\"searchtext\")\r\n public async onSearchTextChange(newText) {\r\n this.debounceGetSuggestions(newText, 500);\r\n }\r\n\r\n public created() {\r\n const outsideClickListener = event => {\r\n if (!this.$el.contains(event.target)) {\r\n this.clear();\r\n }\r\n }\r\n\r\n document.addEventListener(\"click\", outsideClickListener);\r\n }\r\n\r\n public debounceGetSuggestions(searchtext: any, delay: number) {\r\n let self = this;\r\n\r\n clearTimeout(this.debounceTimeOut);\r\n this.debounceTimeOut = setTimeout(async function (context) {\r\n if (searchtext != null && searchtext.length >= 3) {\r\n await self.getSuggestions();\r\n } else if (searchtext === null || searchtext.length === 0) {\r\n self.clear();\r\n } \r\n }, delay, this);\r\n }\r\n \r\n public async getSuggestions() {\r\n this.isLoading = true;\r\n let response: any = null;\r\n\r\n if (this.searchSelector == \"Catalogue\") {\r\n response = await this.$store.dispatch(\"searchStore/getSuggestions\", { searchtext: this.searchtext, type: \"Product\" });\r\n } else {\r\n response = await this.$store.dispatch(\"searchStore/getSuggestions\", { searchtext: this.searchtext });\r\n }\r\n\r\n if (response.data) {\r\n this.$store.commit(\"searchStore/setSuggestions\", response.data);\r\n if (response.data.length === 0) {\r\n this.isSuggestionNotFound = true;\r\n } else {\r\n this.isSuggestionNotFound = false;\r\n }\r\n }\r\n\r\n this.isLoading = false;\r\n }\r\n\r\n public moveUp() {\r\n if (this.suggestions.length !== 0 && this.suggestionListIndex > 0) {\r\n this.suggestionListIndex--;\r\n }\r\n }\r\n\r\n public moveDown() {\r\n if (this.suggestions.length !== 0 && this.suggestionListIndex < this.suggestions.length - 1) {\r\n this.suggestionListIndex++;\r\n }\r\n }\r\n\r\n public suggestionSelect(index: number) {\r\n if (index !== -1) {\r\n this.suggestionListIndex = index;\r\n }\r\n\r\n if (this.suggestions.length !== 0 && this.suggestionListIndex !== -1) {\r\n let selectedSuggestion = this.suggestions[this.suggestionListIndex];\r\n\r\n (window).location = selectedSuggestion.linkUrl;\r\n\r\n this.clear();\r\n } else {\r\n this.showAll();\r\n }\r\n }\r\n\r\n public clear() {\r\n this.$store.commit(\"searchStore/setSuggestions\", []);\r\n this.suggestionListIndex = -1;\r\n this.searchtext = null;\r\n this.isSuggestionNotFound = false;\r\n }\r\n\r\n public showAll() {\r\n if (this.searchSelector == \"Catalogue\") {\r\n (window).location = this.routes.AgentArea_Search_List + \"?searchtext=\" + this.searchtext + \"&type=Product\";\r\n } else {\r\n (window).location = this.routes.AgentArea_Search_List + \"?searchtext=\" + this.searchtext;\r\n\r\n }\r\n }\r\n};","import { render, staticRenderFns } from \"./HeaderSearchBox.vue?vue&type=template&id=7d42b319\"\nimport script from \"./HeaderSearchBox?vue&type=script&lang=ts&external\"\nexport * from \"./HeaderSearchBox?vue&type=script&lang=ts&external\"\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","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\n\r\n@Component({ name: \"Dashboard\" })\r\nexport default class Dashboard extends Vue {\r\n public isDataLoading: boolean = false;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n public async created() {\r\n let response = await this.$store.dispatch(\"profileStore/getUserContext\");\r\n this.$store.commit(\"profileStore/setUserContext\", Object.freeze(response.data));\r\n }\r\n};","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=49d5f385\"\nimport script from \"./Dashboard?vue&type=script&lang=ts&external\"\nexport * from \"./Dashboard?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"app-page\"},[(_vm.userContext)?_c('div',{staticClass:\"dashboard\",attrs:{\"data-orders\":_vm.userContext.isAgentSales}},[_c('app-widget-news',{attrs:{\"userContext\":_vm.userContext}}),_vm._v(\" \"),_c('app-widget-communication',{attrs:{\"userContext\":_vm.userContext}}),_vm._v(\" \"),_c('app-widget-teachers',{attrs:{\"userContext\":_vm.userContext}}),_vm._v(\" \"),(!_vm.userContext.isAgentSales)?[_c('app-widget-orders',{attrs:{\"userContext\":_vm.userContext}})]:_vm._e()],2):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\",attrs:{\"data-type\":\"news\"}},[(!_vm.isDataLoading)?[_c('div',{staticClass:\"container\"},[(_vm.firstNews)?[_c('a',{staticClass:\"item\",attrs:{\"href\":_vm.firstNews.detailUrl,\"data-type\":\"first\"}},[_c('span',{staticClass:\"image\"},[_c('span',{staticClass:\"content\"},[(_vm.firstNews.bigImageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":_vm.firstNews.bigImageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"alt\":_vm.firstNews.title,\"width\":\"440\",\"height\":\"290\"}})]],2)]),_vm._v(\" \"),_c('span',{staticClass:\"text\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.firstNews.title))]),_vm._v(\" \"),_c('span',{staticClass:\"desc\"},[_vm._v(_vm._s(_vm.firstNews.abstract))]),_vm._v(\" \"),_c('span',{staticClass:\"cta\"},[_c('span',{staticClass:\"button\",attrs:{\"href\":_vm.firstNews.detailUrl,\"data-color\":\"blue\"}},[_vm._v(\"Continua a leggere...\")])])])]),_vm._v(\" \"),(_vm.newsList && _vm.newsList.length !== 0)?_c('div',{staticClass:\"list-item\"},_vm._l((_vm.newsList),function(newsItem,index){return _c('a',{key:index,staticClass:\"item\",attrs:{\"href\":newsItem.detailUrl}},[_c('span',{staticClass:\"image\"},[_c('span',{staticClass:\"content\"},[(newsItem.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":newsItem.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"440\",\"height\":\"290\",\"alt\":newsItem.title}})]],2)]),_vm._v(\" \"),_c('span',{staticClass:\"text\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(newsItem.title))])])])}),0):_vm._e()]:[_c('div',{staticClass:\"noitem\"},[_vm._v(\"Non ci sono news disponibili\")])]],2)]:[_vm._m(0)]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"loader-box\"},[_c('div',{staticClass:\"loader\"})])\n}]\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\n\r\nimport { Prop } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"WidgetNews\" })\r\nexport default class WidgetNews extends Vue {\r\n public isDataLoading: boolean = false;\r\n public isDataAvailable: boolean = false;\r\n public firstNews: any = null;\r\n public newsList: any = null;\r\n\r\n @Prop() readonly userContext: {};\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n public async created() {\r\n await this.getData();\r\n }\r\n\r\n public async getData() {\r\n this.isDataLoading = true;\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"magazineStore/getNewsItemList\");\r\n\r\n if (response && response.status === 200) {\r\n if (response.data.length === 1) {\r\n this.firstNews = response.data;\r\n } else if (response.data.length > 1) {\r\n this.firstNews = response.data[0];\r\n response.data.shift();\r\n this.newsList = response.data;\r\n }\r\n\r\n this.isDataAvailable = true;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.newsList = [];\r\n this.isDataAvailable = false;\r\n }\r\n }\r\n }\r\n\r\n this.isDataLoading = false;\r\n }\r\n};","import { render, staticRenderFns } from \"./WidgetNews.vue?vue&type=template&id=3a95ccfa\"\nimport script from \"./WidgetNews?vue&type=script&lang=ts&external\"\nexport * from \"./WidgetNews?vue&type=script&lang=ts&external\"\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","export default class DataLegacyHelper {\r\n static convertDecimalToString(value: number) {\r\n let stringValue = null;\r\n\r\n if (value != null) {\r\n stringValue = String(value).replace(/,/g, \".\").replace(/\\./g, \",\");\r\n\r\n // format integer and decimal parts\r\n let valueParts: string[] = stringValue.split(\",\");\r\n let integerPart = valueParts[0];\r\n let decimalPart = null;\r\n if (valueParts.length > 1) {\r\n decimalPart = valueParts[1];\r\n }\r\n\r\n // Set thousands separator\r\n if (integerPart.length > 3) {\r\n integerPart = integerPart.substring(0, integerPart.length - 3) + \".\" + integerPart.substring(integerPart.length - 3);\r\n }\r\n\r\n // Set millions separator\r\n if (integerPart.length > 7) {\r\n integerPart = integerPart.substring(0, integerPart.length - 7) + \".\" + integerPart.substring(integerPart.length - 7);\r\n }\r\n\r\n stringValue = integerPart;\r\n if (decimalPart !== null) {\r\n // Set trailing zero\r\n if (decimalPart.length === 1) {\r\n decimalPart += \"0\";\r\n }\r\n\r\n stringValue = stringValue + \",\" + decimalPart;\r\n } else {\r\n stringValue = stringValue + \",00\";\r\n }\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n static isNumeric(value: any): boolean {\r\n return !isNaN(value - parseFloat(value));\r\n }\r\n\r\n static convertIntegerToString(value: any): string {\r\n let stringValue = null;\r\n\r\n if (value !== null && value !== \"\") {\r\n if (this.isNumeric(value)) {\r\n stringValue = String(value).replace(/,/g, \".\").replace(/\\./g, \",\");\r\n\r\n // format integer\r\n let valueParts: string[] = stringValue.split(\",\");\r\n let integerPart = valueParts[0];\r\n\r\n stringValue = integerPart;\r\n } else {\r\n stringValue = String(value);\r\n }\r\n }\r\n return stringValue;\r\n }\r\n\r\n static roundNumber(number: number, decimals: number): number {\r\n return parseFloat(new Number(number + '').toFixed(decimals));\r\n }\r\n\r\n static getDateTimeParts(value: string): any {\r\n if (!value) {\r\n return null;\r\n }\r\n\r\n if (!this.isValidDateTime(value)) {\r\n return null;\r\n }\r\n\r\n let [datePart, timePart] = value.split('T');\r\n let [year, month, day] = datePart.match(/\\d+/g);\r\n let [time, offset] = timePart.split(/(?=[+-])/);\r\n\r\n if (!offset) {\r\n offset = null;\r\n }\r\n\r\n let hour = timePart.split(':')[0];\r\n let minutes = timePart.split(':')[1];\r\n let seconds = timePart.split(':')[2];\r\n\r\n if (seconds.includes(\"+\")) {\r\n seconds = seconds.split(\"+\")[0];\r\n } else if (seconds.includes(\"-\")) {\r\n seconds = seconds.split(\"-\")[0];\r\n }\r\n\r\n return { datePart: datePart, timePart: timePart, year: year, month: month, day: day, hour: hour, minutes: minutes, seconds, offset: offset };\r\n }\r\n\r\n static isValidDateTime(value: any): boolean {\r\n // Reference: https://www.delftstack.com/howto/javascript/javascript-validate-date/\r\n let isValidDate = Date.parse(value);\r\n return !isNaN(isValidDate);\r\n }\r\n}","import DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"WidgetCommunication\" })\r\nexport default class WidgetCommunication extends Vue {\r\n public isDataLoading: boolean = false;\r\n public isDataAvailable: boolean = false;\r\n public circularList: [] = [];\r\n public circularCategory: any = null;\r\n\r\n @Prop() readonly userContext: {};\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n public async created() {\r\n await this.getData();\r\n await this.getCircularCategory();\r\n }\r\n\r\n public async getData() {\r\n this.isDataLoading = true;\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"communicationStore/getCircularItemList\");\r\n\r\n if (response && response.status === 200) {\r\n this.circularList = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.circularList = [];\r\n this.isDataAvailable = false;\r\n }\r\n }\r\n }\r\n\r\n this.isDataLoading = false;\r\n }\r\n\r\n public async getCircularCategory() {\r\n try {\r\n let response = await this.$store.dispatch(\"communicationStore/getCircularCategory\");\r\n\r\n if (response && response.status === 200) {\r\n this.circularCategory = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.circularCategory = null;\r\n }\r\n }\r\n }\r\n }\r\n\r\n public setNewsList() {\r\n window.location.href = this.routes.AgentArea_Magazine_NewsList + \"/\" + this.circularCategory.slug;\r\n }\r\n\r\n public convertDateToString(value) {\r\n let stringValue = null;\r\n\r\n let dateTimeParts = DataLegacyHelper.getDateTimeParts(value);\r\n if (dateTimeParts) {\r\n stringValue = dateTimeParts.year + \"-\" + dateTimeParts.month + \"-\" + dateTimeParts.day;\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n};","import { render, staticRenderFns } from \"./WidgetCommunication.vue?vue&type=template&id=1cf00ae2\"\nimport script from \"./WidgetCommunication?vue&type=script&lang=ts&external\"\nexport * from \"./WidgetCommunication?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\",attrs:{\"data-type\":\"communication\"}},[(!_vm.isDataLoading)?[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"Circolari\")]),_vm._v(\" \"),(_vm.circularCategory)?[_c('div',{staticClass:\"show-all\",on:{\"click\":function($event){return _vm.setNewsList()}}},[_vm._v(\"Mostra tutte le circolari\"),_c('span',{staticClass:\"icon fastic-next\"})])]:_vm._e()],2),_vm._v(\" \"),(_vm.circularList && _vm.circularList.length !== 0)?_c('div',{staticClass:\"list-item\"},_vm._l((_vm.circularList),function(circularItem,index){return _c('a',{key:index,staticClass:\"item\",attrs:{\"href\":circularItem.detailUrl}},[_c('div',{staticClass:\"icon fastic-page\"}),_vm._v(\" \"),_c('div',{staticClass:\"desc\"},[_c('div',{staticClass:\"date\"},[_vm._v(_vm._s(_vm.convertDateToString(circularItem.dateItem)))]),_vm._v(\"\\n \"+_vm._s(circularItem.title)+\"\\n \")])])}),0):_c('div',[_c('div',{staticClass:\"noitem\"},[_vm._v(\"Non ci sono circolari disponibili\")])])])]:[_vm._m(0)]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"loader-box\"},[_c('div',{staticClass:\"loader\"})])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\",attrs:{\"data-type\":\"teacher\"}},[(!_vm.isDataLoading)?[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"Insegnanti\")]),_vm._v(\" \"),_c('a',{staticClass:\"show-all\",attrs:{\"href\":_vm.routes.AgentArea_Teacher_TeacherList}},[_vm._v(\"Mostra tutte le richieste\"),_c('span',{staticClass:\"icon fastic-next\"})])]),_vm._v(\" \"),(_vm.teachers && _vm.teachers.length !== 0)?[(_vm.teachersCount && _vm.teachersCount !== 0)?[_c('div',{staticClass:\"count-request\"},[_c('span',{staticClass:\"count\"},[_vm._v(_vm._s(_vm.teachersCount))]),_vm._v(\" Richieste in sospeso\")])]:_vm._e(),_vm._v(\" \"),_c('table',{staticClass:\"table\",attrs:{\"cellpadding\":\"0\",\"cellspacing\":\"0\",\"border\":\"0\"}},[_c('tbody',_vm._l((_vm.teachers),function(teacher,index){return _c('tr',{key:index,staticClass:\"tr\",on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_c('td',{staticClass:\"td\",attrs:{\"data-size\":\"large\"}},[_vm._v(_vm._s(teacher.name)+\" \"+_vm._s(teacher.surname))]),_vm._v(\" \"),_c('td',{staticClass:\"td\",attrs:{\"data-font\":\"small\"}},[_vm._v(_vm._s(teacher.productCategoryTitle))]),_vm._v(\" \"),_c('td',{staticClass:\"td\",attrs:{\"data-font\":\"small\"}},[_vm._v(_vm._s(teacher.subjectScopeTitle))]),_vm._v(\" \"),_vm._m(0,true)])}),0)])]:[_c('div',{staticClass:\"noitem\"},[_vm._v(\"Non ci sono richieste in sospeso\")])]],2)]:[_vm._m(1)]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('td',{staticClass:\"td\",attrs:{\"data-type\":\"status\"}},[_c('span',{staticClass:\"icon fastic-clock\",attrs:{\"data-color\":\"yellow\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"loader-box\"},[_c('div',{staticClass:\"loader\"})])\n}]\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"WidgetTeachers\" })\r\nexport default class WidgetTeachers extends Vue {\r\n public isDataLoading: boolean = false;\r\n public isDataAvailable: boolean = false;\r\n public teachers: any = null;\r\n public teachersCount: number = null;\r\n\r\n @Prop() readonly userContext: {};\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n public async created() {\r\n await this.getTeachersCount();\r\n await this.getData();\r\n }\r\n\r\n public async getData() {\r\n this.isDataLoading = true;\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"teacherStore/getWidgetTeachers\");\r\n if (response && response.status === 200) {\r\n this.teachers = response.data;\r\n this.isDataAvailable = true;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.teachers = [];\r\n this.isDataAvailable = false;\r\n }\r\n }\r\n }\r\n\r\n this.isDataLoading = false;\r\n }\r\n\r\n public async getTeachersCount() {\r\n this.isDataLoading = true;\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"teacherStore/getWidgetTeachersCount\");\r\n if (response && response.status === 200) {\r\n this.teachersCount = response.data;\r\n this.isDataAvailable = true;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.teachersCount = null;\r\n this.isDataAvailable = false;\r\n }\r\n }\r\n }\r\n\r\n this.isDataLoading = false;\r\n }\r\n\r\n public teacherDetail(teacherIdMaster: string) {\r\n this.$router.push({ name: \"TeacherDetail\", params: { teacherIdMaster: teacherIdMaster } });\r\n location.reload()\r\n }\r\n};","import { render, staticRenderFns } from \"./WidgetTeachers.vue?vue&type=template&id=1c8bb900\"\nimport script from \"./WidgetTeachers?vue&type=script&lang=ts&external\"\nexport * from \"./WidgetTeachers?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\",attrs:{\"data-type\":\"order\"}},[(!_vm.isDataLoading)?[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"Ordini\")]),_vm._v(\" \"),_c('a',{staticClass:\"show-all\",attrs:{\"href\":_vm.routes.AgentArea_Order_OrderList}},[_vm._v(\"Mostra tutti gli ordini\"),_c('span',{staticClass:\"icon fastic-next\"})])]),_vm._v(\" \"),(_vm.orderList && _vm.orderList.length !== 0)?[_c('table',{staticClass:\"table\"},[_c('tbody',_vm._l((_vm.orderList),function(orderItem,index){return _c('tr',{key:index,staticClass:\"tr\",on:{\"click\":function($event){return _vm.orderDetail(orderItem.idMaster)}}},[_c('td',{staticClass:\"td\",attrs:{\"data-font\":\"small\",\"data-weight\":\"bold\"}},[(orderItem.dateConfirmedOrder)?[_vm._v(\"\\n \"+_vm._s(_vm.convertDateToString(orderItem.dateConfirmOrder))+\"\\n \")]:_vm._e()],2),_vm._v(\" \"),_c('td',{staticClass:\"td\",attrs:{\"data-size\":\"medium\"}},[_vm._v(_vm._s(orderItem.type))]),_vm._v(\" \"),_c('td',{staticClass:\"td\",attrs:{\"data-font\":\"small\",\"data-weight\":\"bold\"}},[_vm._v(_vm._s(orderItem.code))]),_vm._v(\" \"),_c('td',{staticClass:\"td\",attrs:{\"data-font\":\"small\"}},[_vm._v(_vm._s(orderItem.productCount)+\" articoli\")]),_vm._v(\" \"),_c('td',{staticClass:\"td\",attrs:{\"data-weight\":\"bold\",\"data-type\":\"total\"}},[_vm._v(_vm._s(_vm.formatPrice(orderItem.totalPrice))+\" €\")]),_vm._v(\" \"),(orderItem.status == 'Working')?[_vm._m(0,true)]:(orderItem.status == 'Confirmed')?[_vm._m(1,true)]:[_vm._m(2,true)]],2)}),0)])]:[_c('div',{staticClass:\"noitem\"},[_vm._v(\"Non ci sono ordini\")])]],2)]:[_vm._m(3)]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('td',{staticClass:\"td\",attrs:{\"data-type\":\"status\"}},[_c('span',{staticClass:\"icon fastic-clock\",attrs:{\"data-color\":\"yellow\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('td',{staticClass:\"td\",attrs:{\"data-type\":\"status\"}},[_c('span',{staticClass:\"icon fastic-check\",attrs:{\"data-color\":\"blueest\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('td',{staticClass:\"td\",attrs:{\"data-type\":\"status\"}},[_c('span',{staticClass:\"icon fastic-double-check\",attrs:{\"data-color\":\"rose\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"loader-box\"},[_c('div',{staticClass:\"loader\"})])\n}]\n\nexport { render, staticRenderFns }","import DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\n\r\nimport { Prop } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"WidgetOrders\" })\r\nexport default class WidgetOrders extends Vue {\r\n public isDataLoading: boolean = false;\r\n public isDataAvailable: boolean = false;\r\n public orderList: any = null;\r\n\r\n @Prop() readonly userContext: {};\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n public async created() {\r\n await this.getData();\r\n }\r\n\r\n public async getData() {\r\n this.isDataLoading = true;\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getWidgetOrders\");\r\n\r\n if (response && response.status === 200) {\r\n this.orderList = response.data;\r\n this.isDataAvailable = true;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.orderList = [];\r\n this.isDataAvailable = false;\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n\r\n this.isDataLoading = false;\r\n }\r\n\r\n public convertDateToString(value) {\r\n let stringValue = null;\r\n\r\n let dateTimeParts = DataLegacyHelper.getDateTimeParts(value);\r\n if (dateTimeParts) {\r\n stringValue = dateTimeParts.day + \"/\" + dateTimeParts.month;\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n public formatPrice(data) {\r\n return DataLegacyHelper.convertDecimalToString(data);\r\n }\r\n\r\n public orderDetail(orderIdMaster: string) {\r\n this.$router.push({ name: \"OrderDetail\", params: { orderIdMaster: orderIdMaster } });\r\n location.reload()\r\n }\r\n};","import { render, staticRenderFns } from \"./WidgetOrders.vue?vue&type=template&id=5ced524f\"\nimport script from \"./WidgetOrders?vue&type=script&lang=ts&external\"\nexport * from \"./WidgetOrders?vue&type=script&lang=ts&external\"\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","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\n\r\n@Component({ name: \"MagazineFilterBox\" })\r\nexport default class MagazineFilterBox extends Vue {\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get newsCategories() {\r\n return (window).App.bag.Categories;\r\n }\r\n\r\n get selectedNewsCategorySlug() {\r\n return (window).App.bag.SelectedNewsCategorySlug;\r\n }\r\n\r\n public setNewsCategory(newsCategorySlug: string) {\r\n if (newsCategorySlug != \"\") {\r\n window.location.href = this.routes.AgentArea_Magazine_NewsList + \"/\" + newsCategorySlug;\r\n } else {\r\n window.location.href = this.routes.AgentArea_Magazine_NewsList;\r\n }\r\n }\r\n\r\n public setNewsCategorySelected(newsCategorySlug: string) {\r\n if (this.selectedNewsCategorySlug === newsCategorySlug) {\r\n return true\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n public setAllButtonSelected(newsCategorySlug: string) {\r\n if (newsCategorySlug === \"\") {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n};","import { render, staticRenderFns } from \"./MagazineFilterBox.vue?vue&type=template&id=71de8e35\"\nimport script from \"./MagazineFilterBox?vue&type=script&lang=ts&external\"\nexport * from \"./MagazineFilterBox?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"app-filter\"},[_c('div',{staticClass:\"categories mrg\",attrs:{\"data-mrgb\":\"20\"}},[_c('div',{staticClass:\"item\",attrs:{\"data-selected\":_vm.setAllButtonSelected(_vm.selectedNewsCategorySlug)}},[_c('a',{staticClass:\"link\",attrs:{\"href\":_vm.routes.AgentArea_Magazine_NewsList}},[_vm._v(\"Tutte le news\")])]),_vm._v(\" \"),_vm._l((_vm.newsCategories),function(newsCategory,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-selected\":_vm.setNewsCategorySelected(newsCategory.slug)},on:{\"click\":function($event){return _vm.setNewsCategory(newsCategory.slug)}}},[_vm._v(_vm._s(newsCategory.title))])})],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default class GTagHelper {\r\n public static setConfig(targetId: string, configInfo: any = null) {\r\n if ((window).gtag) {\r\n (window).gtag(\"config\", targetId, configInfo);\r\n }\r\n }\r\n\r\n // Get values from gtag (including values set with the set command)\r\n public static getValue(target: string, fieldName: string) {\r\n if ((window).gtag) {\r\n (window).gtag(\"get\", target, fieldName, (field: any) => { return field });\r\n }\r\n }\r\n\r\n // Set values that persist across all the subsequent gtag() calls on the page\r\n public static setValue(valuePair: any) {\r\n if ((window).gtag) {\r\n (window).gtag(\"set\", valuePair);\r\n }\r\n }\r\n\r\n public static sendEvent(name: string, category: string, label?: string, value?: number) {\r\n let parameters: any = { category: category };\r\n\r\n if (label) {\r\n parameters.label = label;\r\n }\r\n\r\n if (value) {\r\n parameters.value = value;\r\n }\r\n\r\n if ((window).gtag) {\r\n (window).gtag(\"event\", name, parameters);\r\n }\r\n }\r\n\r\n public static sendCustomEvent(name: string, parameters: any = null) {\r\n if ((window).gtag) {\r\n (window).gtag(\"event\", name, parameters);\r\n }\r\n }\r\n}","import DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport GTagHelper from \"@Scripts/Infrastructure/GTagHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Watch } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"OrderList\" })\r\nexport default class OrderList extends Vue {\r\n public orderList: any[] = [];\r\n public isLoading: boolean = false;\r\n\r\n public isOrderSaleActive: boolean = true;\r\n public isOrderPropagandaActive: boolean = true;\r\n public isSearchVisible: boolean = false;\r\n public searchValues: any[] = [];\r\n public orderSubTypes: any[] = [];\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n get pagination(): any {\r\n return this.$store.getters[\"orderStore/pagination\"]\r\n }\r\n\r\n @Watch(\"$route\") public onUrlChange() {\r\n this.getOrderList();\r\n }\r\n\r\n public async created() {\r\n this.setUserContext();\r\n\r\n await this.getOrderSubTypes();\r\n\r\n await this.getOrderList();\r\n }\r\n\r\n public async setUserContext() {\r\n let response = await this.$store.dispatch(\"profileStore/getUserContext\");\r\n this.$store.commit(\"profileStore/setUserContext\", Object.freeze(response.data));\r\n }\r\n\r\n public async getOrderList(pageIndex?: number) {\r\n this.isLoading = true;\r\n let searchtext = null,\r\n orderStatus = null,\r\n orderSubType = null,\r\n orderYear = null;\r\n\r\n if (this.searchValues != null && this.searchValues.length !== 0) {\r\n searchtext = this.searchValues.filter(x => x.name === \"Searchtext\")[0].value;\r\n orderStatus = this.searchValues.filter(x => x.name === \"OrderStatus\")[0].value;\r\n orderSubType = this.searchValues.filter(x => x.name === \"OrderSubType\")[0].value;\r\n orderYear = this.searchValues.filter(x => x.name === \"OrderYear\")[0].value;\r\n }\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrders\", {\r\n Page: pageIndex,\r\n Searchtext: searchtext,\r\n OrderStatus: orderStatus,\r\n OrderType: \"Order\",\r\n OrderSubType: orderSubType,\r\n OrderYear: orderYear\r\n });\r\n if (response && response.status === 200) {\r\n this.orderList = response.data.orders;\r\n this.isOrderSaleActive = response.data.isOrderSaleActive;\r\n this.isOrderPropagandaActive = response.data.isOrderPropagandaActive;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.orderList = [];\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n\r\n this.isLoading = false;\r\n }\r\n\r\n public async getOrderSubTypes() {\r\n this.orderSubTypes = (await this.$store.dispatch(\"orderStore/getOrderSubTypes\")).data;\r\n }\r\n\r\n public async setOrderConfirmed(orderIdMaster: string, subType: string) {\r\n var result = confirm(\"Vuoi confermare questo ordine?\");\r\n if (result) {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/setOrderConfirmed\", {\r\n IdMaster: orderIdMaster\r\n });\r\n if (response && response.status == 200) {\r\n GTagHelper.sendEvent(\"click\", subType.replace(/([a-z])([A-Z])/g, '$1_$2').toLowerCase(), \"confirm\");\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Ordine confermato con successo\", type: \"Success\" });\r\n this.getOrderList();\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async setOrderDeleted(orderIdMaster: string, subType: string) {\r\n var result = confirm(\"Vuoi rimuovere questo ordine?\");\r\n if (result) {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/setOrderDeleted\", {\r\n IdMaster: orderIdMaster\r\n });\r\n if (response && response.status == 200) {\r\n GTagHelper.sendEvent(\"click\", subType.replace(/([a-z])([A-Z])/g, '$1_$2').toLowerCase(), \"delate\");\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Ordine rimosso con successo\", type: \"Success\" });\r\n this.getOrderList();\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public getOrderStatusValue(orderStatusValue: string) {\r\n let value = \"\";\r\n\r\n switch (orderStatusValue) {\r\n case \"Working\":\r\n value = \"yellow\";\r\n break\r\n case \"Confirmed\":\r\n value = \"blueest\";\r\n break\r\n case \"Received\":\r\n value = \"rose\";\r\n break\r\n }\r\n\r\n return value;\r\n }\r\n\r\n public getOrderStatusClassName(orderStatusValue: string) {\r\n let value = \"\";\r\n\r\n switch (orderStatusValue) {\r\n case \"Working\":\r\n value = \"fastic-clock\";\r\n break\r\n case \"Confirmed\":\r\n value = \"fastic-check\";\r\n break\r\n case \"Received\":\r\n value = \"fastic-double-check\";\r\n break\r\n }\r\n\r\n return value;\r\n }\r\n\r\n public convertDateToString(value) {\r\n let stringValue = null;\r\n\r\n let dateTimeParts = DataLegacyHelper.getDateTimeParts(value);\r\n if (dateTimeParts) {\r\n stringValue = dateTimeParts.year + \"-\" + dateTimeParts.month + \"-\" + dateTimeParts.day;\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n public formatPrice(data) {\r\n return DataLegacyHelper.convertDecimalToString(data);\r\n }\r\n\r\n public orderDetail(orderIdMaster: string) {\r\n this.$router.push({ name: \"OrderDetail\", params: { orderIdMaster: orderIdMaster } });\r\n }\r\n\r\n public newOrder() {\r\n let isWorkingOrder: boolean = false;\r\n\r\n if (this.orderList !== null && this.orderList.length !== 0) {\r\n let workingOrders = this.orderList.filter(x => x.orderStatusValue === \"Working\" && x.type === \"Order\");\r\n if (workingOrders != null && workingOrders.length != 0) {\r\n isWorkingOrder = true;\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Per creare un nuovo ordine devi prima completare quello attualmente in lavorazione\", type: \"Error\" });\r\n }\r\n }\r\n\r\n if (!isWorkingOrder) {\r\n this.$router.push({ name: \"OrderDetail\", params: { orderIdMaster: null } });\r\n }\r\n }\r\n\r\n public importOrder() {\r\n let isWorkingOrder: boolean = false;\r\n\r\n if (this.orderList !== null && this.orderList.length !== 0) {\r\n let workingOrders = this.orderList.filter(x => x.orderStatusValue === \"Working\" && x.type === \"Order\");\r\n if (workingOrders != null && workingOrders.length != 0) {\r\n isWorkingOrder = true;\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Per importare un nuovo ordine devi prima completare quello attualmente in lavorazione\", type: \"Error\" });\r\n }\r\n }\r\n\r\n if (!isWorkingOrder) {\r\n this.$router.push({ name: \"OrderImport\" });\r\n }\r\n }\r\n\r\n public setSubTypeTitle(value: string) {\r\n let subTypes = this.orderSubTypes.filter(x => x.value === value);\r\n\r\n if (subTypes.length !== 0) {\r\n return subTypes[0].title;\r\n }\r\n\r\n return null;\r\n }\r\n\r\n public async setPageIndex(pageIndex: number) {\r\n this.getOrderList(pageIndex);\r\n }\r\n\r\n public setSearchVisible() {\r\n this.isSearchVisible = !this.isSearchVisible;\r\n if (!this.isSearchVisible) {\r\n this.resetSearch();\r\n }\r\n }\r\n\r\n public resetSearch() {\r\n this.isSearchVisible = false;\r\n let searchValues: any[] = []\r\n\r\n searchValues.push({ name: \"Searchtext\", value: null });\r\n searchValues.push({ name: \"OrderStatus\", value: null });\r\n searchValues.push({ name: \"OrderSubType\", value: null });\r\n searchValues.push({ name: \"OrderYear\", value: null });\r\n\r\n this.searchValues = searchValues;\r\n\r\n this.getOrderList();\r\n }\r\n\r\n public async updateSearch(searchValues: any[]) {\r\n this.searchValues = searchValues;\r\n this.getOrderList();\r\n }\r\n\r\n public setAnalytics(type: string) {\r\n GTagHelper.sendEvent(\"file_download\", \"order\", \"articles_list\");\r\n }\r\n};","import { render, staticRenderFns } from \"./OrderList.vue?vue&type=template&id=8f0dea06\"\nimport script from \"./OrderList?vue&type=script&lang=ts&external\"\nexport * from \"./OrderList?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"app-page\"},[(!_vm.isOrderSaleActive || !_vm.isOrderPropagandaActive)?_c('div',{staticClass:\"alert\"},[_vm._m(0),_vm._v(\" \"),(!_vm.isOrderSaleActive && !_vm.isOrderPropagandaActive)?_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"IMPORTANTE!\")]),_vm._v(\"\\n In questo momento \"),_c('strong',[_vm._v(\"non è possibile effetturare ordini\")]),_vm._v(\".\"),_c('br'),_vm._v(\"\\n Grazie per la collaborazione e buon lavoro!\\n \")]):(!_vm.isOrderSaleActive)?_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"IMPORTANTE!\")]),_vm._v(\"\\n In questo momento \"),_c('strong',[_vm._v(\"puoi effettuare solo ordini di Propaganda\")]),_vm._v(\".\"),_c('br'),_vm._v(\"\\n Grazie per la collaborazione e buon lavoro!\\n \")]):(!_vm.isOrderPropagandaActive)?_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"IMPORTANTE!\")]),_vm._v(\"\\n In questo momento \"),_c('strong',[_vm._v(\"puoi effettuare solo ordini di Vendita\")]),_vm._v(\".\"),_c('br'),_vm._v(\"\\n Grazie per la collaborazione e buon lavoro!\\n \")]):_vm._e()]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"page-header mrg\",attrs:{\"data-mrgb\":\"20\"}},[_c('div',{staticClass:\"title\"},[_vm._v(\"Ordini\")]),_vm._v(\" \"),_c('div',{staticClass:\"tools\"},[_c('span',{staticClass:\"item\",on:{\"click\":function($event){return _vm.setSearchVisible()}}},[_vm._m(1)]),_vm._v(\" \"),(_vm.isOrderSaleActive)?_c('span',{staticClass:\"item\",attrs:{\"data-type\":\"cta\"}},[_c('span',{staticClass:\"cta\"},[_c('span',{staticClass:\"button\",attrs:{\"data-border\":\"\",\"data-type\":\"icon\"},on:{\"click\":function($event){return _vm.importOrder()}}},[_c('span',{staticClass:\"icon fastic-libro\"}),_vm._v(\"Importa ordine Lybro\\n \")])])]):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"item\",attrs:{\"data-type\":\"cta\"}},[_c('span',{staticClass:\"cta\"},[_c('a',{staticClass:\"button\",attrs:{\"href\":\"/media/agentarea/template/ordine-lybro.xlsx\",\"data-border\":\"\",\"data-type\":\"icon\"},on:{\"click\":function($event){return _vm.setAnalytics('order')}}},[_c('span',{staticClass:\"icon fastic-excel\"}),_vm._v(\"Scarica Excel per ordine\\n \")])])]),_vm._v(\" \"),_c('span',{staticClass:\"item\",attrs:{\"data-type\":\"cta\"}},[_c('span',{staticClass:\"cta\"},[_c('a',{staticClass:\"button\",attrs:{\"href\":_vm.routes.AgentArea_Api_Order_DownloadOrderProducts,\"data-border\":\"\",\"data-type\":\"icon\"},on:{\"click\":function($event){return _vm.setAnalytics('products')}}},[_c('span',{staticClass:\"icon fastic-excel\"}),_vm._v(\"Scarica articoli Excel\\n \")])])]),_vm._v(\" \"),_c('span',{staticClass:\"item\",attrs:{\"data-type\":\"cta\"}},[_c('span',{staticClass:\"cta\"},[(_vm.isOrderSaleActive || _vm.isOrderPropagandaActive)?_c('span',{staticClass:\"button\",attrs:{\"data-color\":\"blue\",\"data-type\":\"icon\"},on:{\"click\":function($event){return _vm.newOrder()}}},[_c('span',{staticClass:\"icon fastic-plus\"}),_vm._v(\"Nuovo ordine\\n \")]):_vm._e()])])])]),_vm._v(\" \"),_c('app-order-filterbox',{attrs:{\"isSearchVisible\":_vm.isSearchVisible},on:{\"updateSearch\":_vm.updateSearch,\"resetSearch\":_vm.resetSearch}}),_vm._v(\" \"),(_vm.isLoading)?[_vm._m(2)]:[(_vm.orderList && _vm.orderList.length !== 0)?[_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"data\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},[_vm._m(3),_vm._v(\" \"),_vm._l((_vm.orderList),function(order,index){return _c('div',{key:index,staticClass:\"item\"},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"center\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[(order.dateConfirmOrder)?[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(_vm.convertDateToString(order.dateConfirmOrder)))])]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(order.code))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(_vm.setSubTypeTitle(order.subType)))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"60px\"}},[_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu\",rawName:\"v-expanding-menu\"}],staticClass:\"ac-menu\"},[_vm._m(4,true),_vm._v(\" \"),_c('div',{staticClass:\"list ac-list\"},[_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu-link\",rawName:\"v-expanding-menu-link\"}],staticClass:\"button\",on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_vm._v(\"Visualizza\")])]),_vm._v(\" \"),(order.orderStatusValue === 'Working')?[_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu-link\",rawName:\"v-expanding-menu-link\"}],staticClass:\"button\",on:{\"click\":function($event){return _vm.setOrderConfirmed(order.idMaster, order.subType)}}},[_vm._v(\"Conferma ordine\")])]),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu-link\",rawName:\"v-expanding-menu-link\"}],staticClass:\"button\",on:{\"click\":function($event){return _vm.setOrderDeleted(order.idMaster,order.subType)}}},[_vm._v(\"Rimozione ordine\")])])]:_vm._e()],2)])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item status\"},[_c('span',{class:['icon', _vm.getOrderStatusClassName(order.orderStatusValue) ],attrs:{\"data-color\":_vm.getOrderStatusValue(order.orderStatusValue)}}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(order.orderStatusTitle))])])]),_vm._v(\" \"),(order.orderStatusValue === 'Working')?[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"200px\"}},[_c('div',{staticClass:\"item buttons\"},[_c('div',{staticClass:\"button\",on:{\"click\":function($event){return _vm.setOrderConfirmed(order.idMaster, order.subType)}}},[_vm._v(\"Conferma ordine\")])])])]:[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"200px\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}})],_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\",\"data-align\":\"right\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item price\"},[_vm._v(_vm._s(_vm.formatPrice(order.totalPrice))+\" €\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-align\":\"center\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(order.productCount)+\" copie\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(order.notes))])])],2)})],2)])]),_vm._v(\" \"),_c('app-pagination',{attrs:{\"pagination\":_vm.pagination},on:{\"setPageIndex\":_vm.setPageIndex}})]:[_c('div',{staticClass:\"no-item\"},[_vm._v(\"Non ci sono ordini in sospeso\")])],_vm._v(\" \"),_c('router-view')]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"icon-box\"},[_c('span',{staticClass:\"icon fastic-alert\",attrs:{\"data-color\":\"white\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',{staticClass:\"tool\"},[_c('span',{staticClass:\"icon fastic-filter\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Filtri\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"loader-box\",attrs:{\"data-relative\":\"\"}},[_c('div',{staticClass:\"loader\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Data conferma\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"N.ordine\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Tipologia\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"60px\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"180px\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Importo\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-align\":\"center\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Totale copie\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Note\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"button ac-button\"},[_c('span',{staticClass:\"icon fastic-ac\"})])\n}]\n\nexport { render, staticRenderFns }","export default class FormLegacyHelper {\r\n public static getValidationErrors(validationState: any): any[] {\r\n let validationErrors: any[] = [];\r\n\r\n for (var propertyName in validationState) {\r\n if (validationState.hasOwnProperty(propertyName)) {\r\n for (let message of validationState[propertyName]) {\r\n validationErrors.push({ name: propertyName, message: message });\r\n }\r\n }\r\n }\r\n\r\n return validationErrors;\r\n }\r\n\r\n public static isControlValidationError(controlName: string, validationErrors: any[]): boolean {\r\n return validationErrors.filter(x => x.name === controlName).length > 0;\r\n }\r\n\r\n public static getRequestVerificationToken(): string {\r\n return (document.getElementsByName(\"__RequestVerificationToken\")[0]).value;\r\n }\r\n\r\n public static showPassword(inputId: string) {\r\n let input: HTMLElement = document.querySelector(\"#\" + inputId);\r\n input.setAttribute(\"type\", input.getAttribute(\"type\") === \"password\" ? \"text\" : \"password\");\r\n }\r\n\r\n static setFocus(contextElement: HTMLElement) {\r\n // Set focus on first input element\r\n let firstInput = contextElement.querySelector(\"input\");\r\n if (firstInput) {\r\n firstInput.focus();\r\n }\r\n }\r\n\r\n static removeFocus() {\r\n // Remove document focus\r\n if (document.activeElement instanceof HTMLElement) {\r\n document.activeElement.blur();\r\n }\r\n }\r\n\r\n // Legacy\r\n public static async setValidation(validationState) {\r\n if (validationState) {\r\n for (var field in validationState) {\r\n let control = document.getElementsByName(field)[0];\r\n if (control) {\r\n control.classList.add(\"input-validation-error\");\r\n }\r\n }\r\n }\r\n }\r\n \r\n // Legacy\r\n public static resetValidation() {\r\n let inputs = document.getElementsByClassName(\"input-validation-error\");\r\n for (let i = 0; i < inputs.length; i++) {\r\n inputs[i].classList.remove(\"input-validation-error\");\r\n }\r\n }\r\n}","import FormLegacyHelper from \"@Scripts/Infrastructure/FormLegacyHelper\";\r\nimport GTagHelper from \"@Scripts/Infrastructure/GTagHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\n\r\n@Component({ name: \"OrderImport\" })\r\nexport default class OrderImport extends Vue {\r\n public validationErrors: any[] = [];\r\n public isDetailShow: boolean = false;\r\n\r\n public fileName: string = null;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n public created() {\r\n this.setDataOverflow();\r\n }\r\n\r\n public mounted() {\r\n this.isDetailShow = true;\r\n }\r\n\r\n public setDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (!body.hasAttribute(\"data-overflow\")) {\r\n body.setAttribute(\"data-overflow\", \"\");\r\n }\r\n }\r\n\r\n public setOrderFileName() {\r\n let files = (this).$refs.fileUpload.files;\r\n\r\n this.fileName = null;\r\n\r\n if (files.length !== 0 && files[0].name) {\r\n this.fileName = files[0].name;\r\n }\r\n }\r\n\r\n public async submitOrderFile() {\r\n this.validationErrors = [];\r\n FormLegacyHelper.resetValidation();\r\n let files = (this).$refs.fileUpload.files;\r\n\r\n if (files.length !== 0) {\r\n let formData = new FormData();\r\n formData.append(\"file\", files[0]);\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/importOrderFile\", formData);\r\n if (response && response.status === 200) {\r\n this.orderList();\r\n\r\n GTagHelper.sendEvent(\"click\", \"order\", \"import\");\r\n\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Ordine importato con successo\", type: \"Success\" });\r\n }\r\n } catch (error) {\r\n FormLegacyHelper.resetValidation();\r\n if (error.response) {\r\n if (error.response.status === 404) {\r\n let redirectUrl = \"/agenti/error/not-found\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status === 400) {\r\n let validationState = error.response.data;\r\n FormLegacyHelper.setValidation(validationState);\r\n\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.validationErrors.push({ message: message });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n } else {\r\n this.validationErrors.push({ message: \"File richiesto\" });\r\n }\r\n }\r\n\r\n public removeDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (body.hasAttribute(\"data-overflow\")) {\r\n body.removeAttribute(\"data-overflow\");\r\n }\r\n }\r\n\r\n public orderList() {\r\n this.isDetailShow = false;\r\n this.removeDataOverflow();\r\n this.$router.push({ name: \"OrderList\" });\r\n }\r\n};","import { render, staticRenderFns } from \"./OrderImport.vue?vue&type=template&id=24fa2d08\"\nimport script from \"./OrderImport?vue&type=script&lang=ts&external\"\nexport * from \"./OrderImport?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"layer\",attrs:{\"data-layer\":\"02\",\"data-show\":_vm.isDetailShow}},[_c('div',{staticClass:\"wrap-tap\",on:{\"click\":function($event){return _vm.orderList()}}}),_vm._v(\" \"),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"close\",on:{\"click\":function($event){return _vm.orderList()}}},[_c('span',{staticClass:\"icon fastic-close\"})]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"box\"},[_c('div',{staticClass:\"mrg\",attrs:{\"data-mrgt\":\"20\"}},[_c('div',{staticClass:\"description mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Il file importato non può superare 4MB, deve contenere al massimo 1500 righe prodotto e deve essere in formato .xlsx\")]),_vm._v(\" \"),_c('div',{staticClass:\"list-item form\"},[_c('div',{staticClass:\"control control-upload\"},[_c('div',{staticClass:\"file-upload-button cta\"},[_c('div',{staticClass:\"button\"},[_vm._v(\"Seleziona file\"),_c('input',{ref:\"fileUpload\",staticClass:\"file-upload-input\",attrs:{\"type\":\"file\",\"name\":\"fileUpload\",\"accept\":\".xlsx\"},on:{\"change\":function($event){return _vm.setOrderFileName()}}})])]),_vm._v(\" \"),(_vm.fileName)?[_c('div',{staticClass:\"file-upload-input-readonly\"},[_vm._v(_vm._s(_vm.fileName))])]:_vm._e()],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"action\",attrs:{\"data-buttons\":\"\"}},[_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"summary\"},[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"cta\"},[_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\",\"data-size\":\"big\"},on:{\"click\":function($event){return _vm.submitOrderFile()}}},[_vm._v(\"Carica file\")])])])])]),_vm._v(\" \"),(_vm.validationErrors.length !== 0)?_c('div',{staticClass:\"validation-summary-errors\"},[_c('ul',_vm._l((_vm.validationErrors),function(validationError,index){return _c('li',{key:index},[_vm._v(_vm._s(validationError.message))])}),0)]):_vm._e()])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Importa ordine Lybro\")]),_vm._v(\" \"),_c('div',{staticClass:\"mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"In questa sezione puoi importare l'ordine in formato Lybro che puoi scaricare \"),_c('a',{attrs:{\"href\":\"/media/agentarea/template/ordine-lybro.xlsx\"}},[_vm._v(\"cliccando qui\")])])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"layer\",attrs:{\"data-layer\":\"01\",\"data-show\":_vm.isDetailShow}},[_c('div',{staticClass:\"wrap-tap\",on:{\"click\":function($event){return _vm.orderList()}}}),_vm._v(\" \"),_c('div',{staticClass:\"container\"},[(_vm.order)?[(!_vm.isUpdating || !_vm.isRowUpdating)?_c('div',{staticClass:\"close\"},[_c('span',{staticClass:\"icon fastic-close\",on:{\"click\":function($event){return _vm.orderList()}}})]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"top\"},[(_vm.order.idMaster === '-1')?[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Nuovo ordine\")])]:[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Dettaglio ordine\")])],_vm._v(\" \"),_c('div',{staticClass:\"info-order\"},[(_vm.isDisabled)?[_vm._m(0)]:_vm._e(),_vm._v(\" \"),(_vm.order.idMaster !== _vm.voidIdMaster)?[_c('div',{staticClass:\"report-list\"},[_c('span',{staticClass:\"item\"},[_c('span',{staticClass:\"tool\"},[_c('span',{staticClass:\"icon fastic-excel\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_c('a',{attrs:{\"href\":_vm.setReportOrderRowsUrl()}},[_vm._v(\"Esporta ordine Excel\")])])])]),_vm._v(\" \"),_c('span',{staticClass:\"item\"},[_c('span',{staticClass:\"tool\"},[_c('span',{staticClass:\"icon fastic-pdf\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_c('a',{attrs:{\"href\":_vm.setReportPdfOrderRowsUrl()}},[_vm._v(\"Stampa ordine PDF\")])])])])])]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"tools mrg\",attrs:{\"data-mrgb\":\"30\"}},[_c('div',{staticClass:\"list-item form\"},[_c('div',{staticClass:\"item row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Tipo ordine\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[[_c('select',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.order.subType),expression:\"order.subType\",modifiers:{\"lazy\":true}}],staticClass:\"dropdown\",attrs:{\"name\":\"Type\",\"disabled\":_vm.isDisabled},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.order, \"subType\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"Seleziona la tipologia...\")]),_vm._v(\" \"),_vm._l((_vm.orderSubTypes),function(orderSubType,index){return _c('option',{key:index,domProps:{\"value\":orderSubType.value}},[_vm._v(\"\\n \"+_vm._s(orderSubType.title)+\"\\n \")])})],2)]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item row\",attrs:{\"data-size\":\"big\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Note ordine\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.order.notes),expression:\"order.notes\",modifiers:{\"lazy\":true}}],staticClass:\"textbox\",attrs:{\"name\":\"Notes\",\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.order.notes)},on:{\"change\":function($event){return _vm.$set(_vm.order, \"notes\", $event.target.value)}}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"list-item form\"},[_c('div',{staticClass:\"item row\",attrs:{\"data-size\":\"small\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Data conferma\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"textbox\",attrs:{\"name\":\"DateConfirmOrder\",\"disabled\":\"\"},domProps:{\"value\":_vm.setDate(_vm.order.dateConfirmOrder)}})])]),_vm._v(\" \"),_c('div',{staticClass:\"item row\",attrs:{\"data-size\":\"xsmall\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Numero\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"textbox\",attrs:{\"name\":\"Code\",\"disabled\":\"\"},domProps:{\"value\":_vm.order.code}})])]),_vm._v(\" \"),_c('div',{staticClass:\"item\",attrs:{\"data-type\":\"sep\"}},[_vm._v(\"\\n /\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"item row\",attrs:{\"data-size\":\"xsmall\",\"data-mrg\":\"0\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Anno\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"textbox\",attrs:{\"disabled\":\"\"},domProps:{\"value\":_vm.setYear(_vm.order.dateConfirmOrder)}})])]),_vm._v(\" \"),_c('div',{staticClass:\"note\"},[_vm._v(\"Questi campi sono autocompilati alla conferma dell'ordine\")])])])],2),_vm._v(\" \"),(!_vm.isDisabled)?[_c('div',{staticClass:\"product-search\"},[_c('div',{staticClass:\"form\"},[_c('div',{staticClass:\"item\",attrs:{\"id\":\"ProductSearchBox\",\"data-type\":\"keyword\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Cerca gli articoli e aggiungili all'ordine\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\",attrs:{\"data-type\":\"search\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.productSearchText),expression:\"productSearchText\"}],staticClass:\"textbox\",attrs:{\"disabled\":_vm.isDisabled || _vm.isUpdating || _vm.isRowUpdating,\"placeholder\":\"Inserisci codice, ISBN, titolo, autori, materia ESAIE\"},domProps:{\"value\":(_vm.productSearchText)},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.productSelect(_vm.productListIndex)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"]))return null;$event.preventDefault();return _vm.productMoveDown()},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"]))return null;$event.preventDefault();return _vm.productMoveUp()}],\"input\":function($event){if($event.target.composing)return;_vm.productSearchText=$event.target.value}}}),_vm._v(\" \"),(_vm.isProductListLoading)?[_c('div',{staticClass:\"loader\",attrs:{\"data-small\":\"\"}})]:[_c('div',{staticClass:\"search-button fastic-lens\",attrs:{\"data-hover\":\"false\"}})]],2),_vm._v(\" \"),(!_vm.isProductListLoading)?[(_vm.productList && _vm.productList.length !== 0 && !_vm.productListNotFound)?_c('div',{staticClass:\"suggestion\"},[_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-store\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.productList),function(product,index){return _c('div',{key:index,class:[{ select: index === _vm.productListIndex }, 'item' ],attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(product.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":product.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":product.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc full\"},[_c('div',{staticClass:\"mrg\",attrs:{\"data-mrgb\":\"10\"}},[_vm._v(_vm._s(product.categoryTitle)+\" - \"+_vm._s(product.subCategoryTitle))]),_vm._v(\" \"),_c('div',{staticClass:\"sb\"},[_vm._v(_vm._s(product.isbn))]),_vm._v(\" \"),_c('div',{staticClass:\"dft15\"},[_vm._v(_vm._s(product.title)+\" - \"+_vm._s(product.subTitle)+\" \"),_c('span',{staticClass:\"link fastic-link\",on:{\"click\":function($event){return _vm.orderProductDetail(product.isMaster ? product.productCode : product.masterCode)}}})]),_vm._v(\" \"),_c('div',[_vm._v(\"Edizione \"+_vm._s(product.editionYear))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_c('span',{staticClass:\"dida hden\"},[_vm._v(\"Prezzo totale\")]),_vm._v(_vm._s(_vm.formatPrice(product.price))+\" €\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"quantity\"}},[_c('div',{staticClass:\"item quantity\"},[_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(product.quantity),expression:\"product.quantity\",modifiers:{\"lazy\":true}}],staticClass:\"textbox\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"Quantity\",\"type\":\"number\"},domProps:{\"value\":(product.quantity)},on:{\"change\":[function($event){return _vm.$set(product, \"quantity\", $event.target.value)},function($event){return _vm.updateProductQuantity(index, product.quantity)}]}}),_vm._v(\" \"),_c('div',{staticClass:\"nav\"},[_c('div',{staticClass:\"button fastic-up\",attrs:{\"data-type\":\"add\"},on:{\"click\":function($event){return _vm.addProductQuantity(index, product.quantity)}}}),_vm._v(\" \"),_c('div',{staticClass:\"button fastic-down\",attrs:{\"data-type\":\"remove\"},on:{\"click\":function($event){return _vm.removeProductQuantity(index, product.quantity)}}})])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"cta\"},[(!_vm.isRowUpdating)?_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\"},on:{\"click\":function($event){return _vm.addProduct(product)}}},[_vm._v(\"Aggiungi\")]):_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\",\"data-loader\":\"\",\"data-small\":\"\"}},[_c('div',{staticClass:\"loader\",attrs:{\"data-small\":\"\"}})])])])])}),0)])])]):(_vm.productListNotFound)?_c('div',{staticClass:\"suggestion not-found\"},[_vm._v(\"Non ci sono risultati\")]):_vm._e()]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"item option\"},[_c('span',{staticClass:\"sep\"},[_vm._v(\"Oppure\")]),_vm._v(\" \"),_c('span',{staticClass:\"catalogues\",on:{\"click\":function($event){return _vm.catalogueSearch()}}},[_c('span',{staticClass:\"icon fastic-catalogues\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Sfoglia il catalogo\")])])])])])]:_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"box\"},[(_vm.order.orderRows && _vm.order.orderRows.length !== 0)?[_c('div',{staticClass:\"elements-list mrg\",attrs:{\"data-mrgt\":\"20\",\"data-type\":\"product\",\"data-store\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},[_vm._m(1),_vm._v(\" \"),(_vm.isUpdating || _vm.isRowUpdating)?_c('div',{staticClass:\"overlay-loading\"}):_vm._e(),_vm._v(\" \"),_vm._l((_vm.order.orderRows),function(orderRow,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(orderRow.productImageUrl)?_c('img',{staticClass:\"img\",attrs:{\"src\":orderRow.productImageUrl}}):_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":orderRow.productTitle}})])]),_vm._v(\" \"),_c('div',{staticClass:\"item desc full\"},[_c('div',{staticClass:\"mrg\",attrs:{\"data-mrgb\":\"10\"}},[_vm._v(_vm._s(orderRow.productCategoryTitle)+\" - \"+_vm._s(orderRow.productSubCategoryTitle))]),_vm._v(\" \"),_c('div',{staticClass:\"sb\"},[_vm._v(_vm._s(orderRow.isbn))]),_vm._v(\" \"),_c('div',{staticClass:\"dft15\"},[_vm._v(_vm._s(orderRow.productTitle)+\" - \"+_vm._s(orderRow.productSubTitle)+\" \"),_c('span',{staticClass:\"link fastic-link\",on:{\"click\":function($event){return _vm.orderProductDetail(orderRow.productIsMaster ? orderRow.productCode : orderRow.productMasterCode)}}})]),_vm._v(\" \"),_c('div',[_vm._v(\"Edizione \"+_vm._s(orderRow.editionYear))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"},[(orderRow.isRecallYear1)?_c('span',{staticClass:\"label\"},[_vm._v(\"In esaurimento\")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"dida hden\"},[_vm._v(\"Prezzo cad.\")]),_vm._v(_vm._s(_vm.formatPrice(orderRow.unitPrice))+\" €\")])]),_vm._v(\" \"),(!_vm.isDisabled)?_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"quantity\"}},[_c('div',{staticClass:\"item quantity\"},[_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(orderRow.quantity),expression:\"orderRow.quantity\",modifiers:{\"lazy\":true}}],staticClass:\"textbox\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"Quantity\",\"type\":\"number\"},domProps:{\"value\":(orderRow.quantity)},on:{\"change\":[function($event){return _vm.$set(orderRow, \"quantity\", $event.target.value)},function($event){return _vm.updateOrderRowQuantity(index, orderRow.quantity)}]}}),_vm._v(\" \"),_c('div',{staticClass:\"nav\"},[_c('div',{staticClass:\"button fastic-up\",attrs:{\"data-type\":\"add\"},on:{\"click\":function($event){return _vm.addOrderRowQuantity(index, orderRow.quantity)}}}),_vm._v(\" \"),_c('div',{staticClass:\"button fastic-down\",attrs:{\"data-type\":\"remove\"},on:{\"click\":function($event){return _vm.removeOrderRowQuantity(index, orderRow.quantity)}}})])])])]):_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"quantity\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(orderRow.quantity))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"remove\"}},[(!_vm.isDisabled)?_c('div',{staticClass:\"item\",on:{\"click\":function($event){return _vm.removeOrderRow(index)}}},[_c('span',{staticClass:\"remove fastic-trash\"})]):_c('div',{staticClass:\"item\"})]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_c('span',{staticClass:\"dida hden\"},[_vm._v(\"Prezzo totale\")]),_vm._v(_vm._s(_vm.formatPrice(orderRow.rowPrice))+\" €\")])]),_vm._v(\" \"),_vm._m(2,true)])})],2)])])]:_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"action\",attrs:{\"data-buttons\":\"\"}},[_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"summary\"},[_c('div',{staticClass:\"item\",attrs:{\"data-type\":\"label\"}},[_vm._v(\"\\n Totale ordine (IVA inclusa)\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"price\"},[_vm._v(_vm._s(_vm.formatPrice(_vm.order.totalPrice))+\" €\")])]),_vm._v(\" \"),(!_vm.isDisabled)?_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"cta\"},[(!_vm.isUpdating || !_vm.isRowUpdating)?_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\",\"data-size\":\"big\"},on:{\"click\":function($event){return _vm.setOrder()}}},[_vm._v(\"Salva ordine\")]):_c('div',{staticClass:\"button\",attrs:{\"data-loader\":\"\",\"data-color\":\"blue\",\"data-size\":\"big\"}},[_c('div',{staticClass:\"loader\",attrs:{\"data-small\":\"\"}})])])]):_vm._e()])]),_vm._v(\" \"),(_vm.validationErrors.length !== 0)?_c('div',{staticClass:\"validation-summary-errors\"},[_c('ul',_vm._l((_vm.validationErrors),function(validationError,index){return _c('li',{key:index},[_vm._v(_vm._s(validationError.message))])}),0)]):_vm._e()])],2)]:_vm._e()],2),_vm._v(\" \"),_c('app-order-cataloguesearch',{attrs:{\"isVisible\":_vm.isCatalogueSearchShow,\"isDisabled\":_vm.isDisabled || _vm.isUpdating || _vm.isRowUpdating},on:{\"hideCatalogueSearch\":_vm.hideCatalogueSearch,\"addProduct\":_vm.addProduct}}),_vm._v(\" \"),_c('app-order-productdetail',{attrs:{\"isVisible\":_vm.isProductDetailShow,\"productDetailCode\":_vm.productDetailCode},on:{\"hideProductDetail\":_vm.hideProductDetail}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"message-order\"},[_c('span',{staticClass:\"icon fastic-double-check\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"L'ordine è stato confermato e non è modificabile\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Articolo\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Stato\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Prezzo cad.\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"quantity\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Quantità\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"remove\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Prezzo totale\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"label\"})])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"})])\n}]\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop, Watch } from \"vue-property-decorator\";\r\nimport { Order } from \"@AgentArea/Scripts/Interfaces/Order\";\r\nimport { OrderRow } from \"@AgentArea/Scripts/Interfaces/OrderRow\";\r\nimport { Product } from \"@AgentArea/Scripts/Interfaces/Product\";\r\nimport FormLegacyHelper from \"@Scripts/Infrastructure/FormLegacyHelper\";\r\nimport DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport GTagHelper from \"@Scripts/Infrastructure/GTagHelper\";\r\n\r\n@Component({ name: \"OrderDetail\" })\r\nexport default class OrderDetail extends Vue {\r\n public validationErrors: any[] = [];\r\n public isDetailShow: boolean = false;\r\n public isCatalogueSearchShow: boolean = false;\r\n public isProductDetailShow: boolean = false;\r\n public productDetailCode: string = null;\r\n public isDisabled: boolean = false;\r\n public isModified: boolean = false;\r\n public isRowUpdating: boolean = false;\r\n public isUpdating: boolean = false;\r\n public voidIdMaster: string = null;\r\n\r\n public order: Order = null;\r\n public orderSubTypes: any[] = [];\r\n\r\n public productSearchText: string = null;\r\n public isProductListLoading: boolean = false;\r\n public debounceTimeOut: any = null;\r\n public productList: Product[] = [];\r\n public productListIndex: number = -1;\r\n public productListNotFound: boolean = false;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n @Prop() readonly orderIdMaster: string;\r\n\r\n @Watch(\"productSearchText\") public async onProductSearchTextChange(searchtext) {\r\n this.debounceProductSearch(searchtext, 500);\r\n }\r\n\r\n public async created() {\r\n this.setDataOverflow();\r\n\r\n if (this.orderIdMaster && this.orderIdMaster !== \"\" && this.orderIdMaster !== \"-1\") {\r\n await this.getOrder();\r\n this.getVoidIdMaster();\r\n } else {\r\n await this.getVoidIdMaster();\r\n this.initOrder();\r\n }\r\n\r\n this.getOrderSubTypes();\r\n this.setDisabled();\r\n\r\n const outsideClickListener = event => {\r\n let searchBox = document.getElementById(\"ProductSearchBox\");\r\n if (searchBox) {\r\n if (!searchBox.contains(event.target)) {\r\n this.clearProductList();\r\n }\r\n }\r\n }\r\n\r\n document.addEventListener(\"click\", outsideClickListener);\r\n }\r\n\r\n public mounted() {\r\n this.isDetailShow = true;\r\n }\r\n\r\n public setDisabled() {\r\n this.isDisabled = this.order.orderStatus !== \"Working\";\r\n }\r\n\r\n public async getVoidIdMaster() {\r\n let response = await this.$store.dispatch(\"orderStore/getVoidIdMaster\");\r\n if (response && response.status === 200) {\r\n this.voidIdMaster = response.data.toString();\r\n }\r\n }\r\n\r\n public async getOrder() {\r\n this.isUpdating = true;\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrder\", {\r\n idMaster: this.orderIdMaster\r\n });\r\n if (response && response.status === 200) {\r\n this.order = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 404) {\r\n let redirectUrl = \"/agenti/error/not-found\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status === 400) {\r\n this.order = null;\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status == 500) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Il salvataggio dell'ordine ha generato un errore contatatta Atlas per maggiori informazioni\", type: \"Error\" });\r\n }\r\n }\r\n }\r\n this.isUpdating = false;\r\n }\r\n\r\n public initOrder() {\r\n this.order = {\r\n idMaster: this.voidIdMaster,\r\n dateConfirmOrder: null,\r\n code: \"\",\r\n type: \"Order\",\r\n subType: \"\",\r\n orderStatus: \"Working\",\r\n totalPrice: 0.0,\r\n totalWeight: 0,\r\n productCount: 0,\r\n notes: \"\",\r\n orderRows: []\r\n };\r\n }\r\n\r\n public async getOrderSubTypes() {\r\n this.orderSubTypes = (await this.$store.dispatch(\"orderStore/getOrderSubTypes\")).data;\r\n }\r\n\r\n public async setOrder() {\r\n this.validationErrors = [];\r\n this.isUpdating = true;\r\n FormLegacyHelper.resetValidation();\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/setOrder\", {\r\n idMaster: this.order.idMaster,\r\n dateConfirmOrder: this.order.dateConfirmOrder,\r\n code: this.order.code,\r\n type: this.order.type,\r\n subType: this.order.subType,\r\n orderStatus: this.order.orderStatus,\r\n totalPrice: this.order.totalPrice,\r\n totalWeight: this.order.totalWeight,\r\n productCount: this.order.productCount,\r\n notes: this.order.notes,\r\n orderRows: this.order.orderRows\r\n });\r\n\r\n\r\n if (response && response.status === 200) {\r\n if (this.order.idMaster == \"-1\") {\r\n GTagHelper.sendEvent(\"click\", this.order.subType.replace(/([a-z])([A-Z])/g, '$1_$2').toLowerCase(), \"set\");\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Ordine creato con successo\", type: \"Success\" });\r\n } else {\r\n GTagHelper.sendEvent(\"click\", this.order.subType.replace(/([a-z])([A-Z])/g, '$1_$2').toLowerCase(), \"update\");\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Ordine modificato con successo\", type: \"Success\" });\r\n }\r\n\r\n this.isModified = false;\r\n this.orderList();\r\n }\r\n } catch (error) {\r\n FormLegacyHelper.resetValidation();\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n let validationState = error.response.data;\r\n FormLegacyHelper.setValidation(validationState);\r\n\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.validationErrors.push({ message: message });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n this.isUpdating = false;\r\n }\r\n\r\n public async debounceProductSearch(searchtext: any, delay: number) {\r\n let self = this;\r\n\r\n clearTimeout(this.debounceTimeOut);\r\n this.debounceTimeOut = setTimeout(async function (context) {\r\n if (searchtext && searchtext.length >= 3) {\r\n await self.getProductList();\r\n } else {\r\n self.productList = [];\r\n self.productListNotFound = false;\r\n }\r\n }, delay, this);\r\n }\r\n\r\n public async getProductList() {\r\n this.productList = [];\r\n this.productListIndex = -1;\r\n this.isProductListLoading = true;\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getProductList\", {\r\n searchtext: this.productSearchText\r\n });\r\n if (response && response.status === 200) {\r\n if (response.data) {\r\n if (response.data.length !== 0) {\r\n this.productList = response.data;\r\n this.productListNotFound = false;\r\n } else {\r\n this.productListNotFound = true;\r\n }\r\n }\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.productList = [];\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n\r\n this.isProductListLoading = false;\r\n }\r\n\r\n public productMoveUp() {\r\n if (this.productList.length !== 0 && this.productListIndex > 0) {\r\n this.productListIndex--;\r\n }\r\n }\r\n\r\n public productMoveDown() {\r\n if (this.productList.length !== 0 && this.productListIndex < this.productList.length - 1) {\r\n this.productListIndex++;\r\n }\r\n }\r\n\r\n public productSelect(index: number) {\r\n if (index !== -1) {\r\n this.productListIndex = index;\r\n }\r\n\r\n if (this.productList.length !== 0 && this.productListIndex !== -1) {\r\n let selectedProduct = this.productList[this.productListIndex];\r\n\r\n this.addProduct(selectedProduct);\r\n\r\n this.clearProductList();\r\n }\r\n }\r\n\r\n public clearProductList() {\r\n this.productListIndex = -1;\r\n this.productList = [];\r\n this.productSearchText = null;\r\n }\r\n\r\n public addProductQuantity(index: string, quantity: number) {\r\n let productQuantity = quantity + 1;\r\n this.updateProductQuantity(index, productQuantity);\r\n }\r\n\r\n public removeProductQuantity(index: string, quantity: number) {\r\n let productQuantity = 1;\r\n if (quantity > 1) {\r\n productQuantity = quantity - 1;\r\n }\r\n\r\n this.updateProductQuantity(index, productQuantity);\r\n }\r\n\r\n public updateProductQuantity(index, quantity) {\r\n let productQuantity: number = parseInt(quantity);\r\n if (isNaN(quantity)) {\r\n productQuantity = 1;\r\n }\r\n this.productList[index].quantity = productQuantity;\r\n }\r\n\r\n public addProduct(product: Product) {\r\n this.isRowUpdating = true;\r\n\r\n if (!this.isDisabled) {\r\n let existingOrderRow = this.order.orderRows.find(x => x.productCode === product.productCode);\r\n if (existingOrderRow) {\r\n existingOrderRow.quantity += product.quantity;\r\n existingOrderRow.rowPrice = existingOrderRow.quantity * product.price;\r\n existingOrderRow.rowWeight = existingOrderRow.quantity * product.weight;\r\n } else {\r\n let orderRow: OrderRow = {\r\n idMaster: this.voidIdMaster.toString(),\r\n orderIdMaster: this.order.idMaster,\r\n productCode: product.productCode,\r\n productMasterCode: product.masterCode,\r\n productIsMaster: product.isMaster,\r\n productTitle: product.title,\r\n productSubTitle: product.subTitle,\r\n isbn: product.isbn,\r\n editionYear: product.editionYear,\r\n isRecallYear1: product.isRecallYear1,\r\n isRecallYear2: product.isRecallYear2,\r\n unitWeight: product.weight,\r\n unitPrice: product.price,\r\n quantity: product.quantity,\r\n rowPrice: product.quantity * product.price,\r\n rowWeight: product.quantity * product.weight,\r\n productCategoryTitle: product.categoryTitle,\r\n productSubCategoryTitle: product.subCategoryTitle,\r\n productImageUrl: product.imageUrl,\r\n productCategorySlug: product.productCategorySlug,\r\n productSubCategorySlug: product.productSubCategorySlug,\r\n productSlug: product.productSlug\r\n };\r\n\r\n this.order.orderRows.push(orderRow);\r\n }\r\n\r\n this.setOrderTotal();\r\n\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Prodotto aggiunto con successo\", type: \"Success\" });\r\n this.isModified = true;\r\n }\r\n\r\n this.isRowUpdating = false;\r\n }\r\n\r\n public removeOrderRow(index: number) {\r\n this.isRowUpdating = true;\r\n\r\n if (!this.isDisabled) {\r\n var result = confirm(\"Vuoi rimuovere questo prodotto?\");\r\n if (result) {\r\n this.order.orderRows.splice(index, 1);\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Riga rimossa con successo\", type: \"Success\" });\r\n this.setOrderTotal();\r\n }\r\n }\r\n\r\n this.isRowUpdating = false;\r\n }\r\n\r\n public addOrderRowQuantity(index: number, quantity: number) {\r\n if (!this.isDisabled) {\r\n let orderRowQuantity = quantity + 1;\r\n this.updateOrderRowQuantity(index, orderRowQuantity);\r\n }\r\n }\r\n\r\n public removeOrderRowQuantity(index: number, quantity: number) {\r\n let orderRowQuantity = 1;\r\n if (quantity > 1) {\r\n orderRowQuantity = quantity - 1;\r\n }\r\n\r\n this.updateOrderRowQuantity(index, orderRowQuantity);\r\n }\r\n\r\n public updateOrderRowQuantity(orderRowIndex, quantity) {\r\n this.isRowUpdating = true;\r\n\r\n if (!this.isDisabled) {\r\n let orderRowQuantity: number = parseInt(quantity);\r\n if (isNaN(orderRowQuantity)) {\r\n orderRowQuantity = 1;\r\n }\r\n\r\n this.order.orderRows[orderRowIndex].quantity = orderRowQuantity;\r\n this.order.orderRows[orderRowIndex].rowPrice = parseFloat((this.order.orderRows[orderRowIndex].unitPrice * orderRowQuantity).toFixed(2));\r\n this.order.orderRows[orderRowIndex].rowWeight = this.order.orderRows[orderRowIndex].unitWeight * orderRowQuantity;\r\n\r\n this.setOrderTotal();\r\n this.isModified = true;\r\n }\r\n\r\n this.isRowUpdating = false;\r\n }\r\n\r\n public setOrderTotal() {\r\n let productCount = 0,\r\n totalPrice = 0.00,\r\n totalWeight = 0;\r\n\r\n for (let orderRow of this.order.orderRows) {\r\n productCount += orderRow.quantity;\r\n totalPrice += orderRow.rowPrice;\r\n totalWeight += orderRow.rowWeight;\r\n }\r\n\r\n this.order.productCount = productCount;\r\n this.order.totalPrice = DataLegacyHelper.roundNumber(totalPrice, 2);\r\n this.order.totalWeight = totalWeight;\r\n }\r\n\r\n public formatPrice(data) {\r\n return DataLegacyHelper.convertDecimalToString(DataLegacyHelper.roundNumber(data, 2));\r\n }\r\n\r\n public formatWeight(data) {\r\n return DataLegacyHelper.convertIntegerToString(data);\r\n }\r\n\r\n public setDate(value: any) {\r\n let stringValue = null;\r\n\r\n let dateTimeParts = DataLegacyHelper.getDateTimeParts(value);\r\n if (dateTimeParts) {\r\n stringValue = dateTimeParts.year + \"-\" + dateTimeParts.month + \"-\" + dateTimeParts.day;\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n public setYear(value: any) {\r\n let stringValue = null;\r\n\r\n let dateTimeParts = DataLegacyHelper.getDateTimeParts(value);\r\n if (dateTimeParts) {\r\n stringValue = dateTimeParts.year;\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n public catalogueSearch() {\r\n this.isCatalogueSearchShow = true;\r\n }\r\n\r\n public hideCatalogueSearch() {\r\n this.isCatalogueSearchShow = false;\r\n }\r\n\r\n public orderProductDetail(productDetailCode: string) {\r\n this.productDetailCode = productDetailCode;\r\n this.isProductDetailShow = true;\r\n }\r\n\r\n public hideProductDetail() {\r\n this.isProductDetailShow = false;\r\n }\r\n\r\n public setDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (!body.hasAttribute(\"data-overflow\")) {\r\n body.setAttribute(\"data-overflow\", \"\");\r\n }\r\n }\r\n\r\n public removeDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (body.hasAttribute(\"data-overflow\")) {\r\n body.removeAttribute(\"data-overflow\");\r\n }\r\n }\r\n\r\n public orderList() {\r\n let result: boolean = true;\r\n if (this.isModified) {\r\n result = confirm(\"Vuoi uscire da questo ordine?\");\r\n }\r\n\r\n if (result) {\r\n this.isDetailShow = false;\r\n this.removeDataOverflow();\r\n this.$router.push({ name: \"OrderList\", params: { orderIdMaster: \"\" } });\r\n }\r\n }\r\n\r\n public setReportOrderRowsUrl() {\r\n let url = this.routes.AgentArea_Api_Order_ReportOrderRows + \"?orderIdMaster=\" + this.order.idMaster;\r\n\r\n return url;\r\n }\r\n\r\n public setReportPdfOrderRowsUrl() {\r\n let url = this.routes.AgentArea_Api_Order_ReportPdfOrderRows + \"?orderIdMaster=\" + this.order.idMaster;\r\n\r\n return url;\r\n }\r\n\r\n public productDetail(categorySlug: string, subCategorySlug: string, productSlug: string) {\r\n let routeData = this.$router.resolve({ name: \"ProductDetail\", params: { categorySlug: categorySlug, subCategorySlug: subCategorySlug, productSlug: productSlug } });\r\n\r\n if (!productSlug || productSlug == \"\") {\r\n routeData = this.$router.resolve({ name: \"ProductList\", params: { categorySlug: categorySlug, subCategorySlug: subCategorySlug } });\r\n }\r\n\r\n window.open(routeData.href, \"_blank\");\r\n }\r\n};","import { render, staticRenderFns } from \"./OrderDetail.vue?vue&type=template&id=97ec6b84\"\nimport script from \"./OrderDetail?vue&type=script&lang=ts&external\"\nexport * from \"./OrderDetail?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"app-page\"},[(!_vm.isStockActive)?_c('div',{staticClass:\"alert\"},[_vm._m(0),_vm._v(\" \"),_vm._m(1)]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"page-header mrg\",attrs:{\"data-mrgb\":\"20\"}},[_c('div',{staticClass:\"title\"},[_vm._v(\"Inventario\")]),_vm._v(\" \"),_c('div',{staticClass:\"tools\"},[_c('span',{staticClass:\"item\",attrs:{\"data-type\":\"cta\"}},[_c('span',{staticClass:\"cta\"},[_c('a',{staticClass:\"button\",attrs:{\"href\":_vm.routes.AgentArea_Api_Order_DownloadStockProducts,\"data-border\":\"\",\"data-type\":\"icon\"},on:{\"click\":function($event){return _vm.setAnalytics()}}},[_c('span',{staticClass:\"icon fastic-excel\"}),_vm._v(\"Scarica Excel per inventario\\n \")])])]),_vm._v(\" \"),(_vm.isStockActive)?_c('span',{staticClass:\"item\",attrs:{\"data-type\":\"cta\"}},[_c('span',{staticClass:\"cta\"},[_c('span',{staticClass:\"button\",attrs:{\"data-border\":\"\",\"data-type\":\"icon\"},on:{\"click\":function($event){return _vm.importOrder()}}},[_c('span',{staticClass:\"icon fastic-excel\"}),_vm._v(\"Carica Excel per inventario\\n \")])])]):_vm._e(),_vm._v(\" \"),(_vm.isStockActive)?_c('span',{staticClass:\"item\",attrs:{\"data-type\":\"cta\"}},[_c('span',{staticClass:\"cta\"},[_c('span',{staticClass:\"button\",attrs:{\"data-color\":\"blue\",\"data-type\":\"icon\"},on:{\"click\":function($event){return _vm.newOrder()}}},[_c('span',{staticClass:\"icon fastic-plus\"}),_vm._v(\"Inventario manuale\\n \")])])]):_vm._e()])]),_vm._v(\" \"),(_vm.isLoading)?[_vm._m(2)]:[(_vm.orderList && _vm.orderList.length !== 0)?[_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"data\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},[_vm._m(3),_vm._v(\" \"),_vm._l((_vm.orderList),function(order,index){return _c('div',{key:index,staticClass:\"item\"},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"center\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[(order.dateConfirmOrder)?[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(_vm.convertDateToString(order.dateConfirmOrder)))])]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(order.code))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(\"Inventario\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"60px\"}},[_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu\",rawName:\"v-expanding-menu\"}],staticClass:\"ac-menu\"},[_vm._m(4,true),_vm._v(\" \"),_c('div',{staticClass:\"list ac-list\"},[_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu-link\",rawName:\"v-expanding-menu-link\"}],staticClass:\"button\",on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_vm._v(\"Visualizza\")])]),_vm._v(\" \"),(order.orderStatusValue === 'Working')?[_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu-link\",rawName:\"v-expanding-menu-link\"}],staticClass:\"button\",on:{\"click\":function($event){return _vm.setOrderConfirmed(order.idMaster)}}},[_vm._v(\"Conferma inventario\")])]),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu-link\",rawName:\"v-expanding-menu-link\"}],staticClass:\"button\",on:{\"click\":function($event){return _vm.setOrderDeleted(order.idMaster)}}},[_vm._v(\"Rimozione inventario\")])])]:_vm._e()],2)])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item status\"},[_c('span',{class:['icon', _vm.getOrderStatusClassName(order.orderStatusValue) ],attrs:{\"data-color\":_vm.getOrderStatusValue(order.orderStatusValue)}}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(order.orderStatusTitle))])])]),_vm._v(\" \"),(order.orderStatusValue === 'Working')?[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"200px\"}},[_c('div',{staticClass:\"item buttons\"},[_c('div',{staticClass:\"button\",on:{\"click\":function($event){return _vm.setOrderConfirmed(order.idMaster)}}},[_vm._v(\"Conferma inventario\")])])])]:[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"200px\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}})],_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-align\":\"center\"},on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(order.productCount)+\" copie\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",on:{\"click\":function($event){return _vm.orderDetail(order.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(order.notes))])])],2)})],2)])]),_vm._v(\" \"),_c('app-pagination',{attrs:{\"pagination\":_vm.pagination},on:{\"setPageIndex\":_vm.setPageIndex}})]:[_c('div',{staticClass:\"no-item\"},[_vm._v(\"Non ci sono inventari in sospeso\")])],_vm._v(\" \"),_c('router-view')]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"icon-box\"},[_c('span',{staticClass:\"icon fastic-alert\",attrs:{\"data-color\":\"white\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"IMPORTANTE!\")]),_vm._v(\"\\n In questo momento \"),_c('strong',[_vm._v(\"non è possibile effetturare l'inventario\")]),_vm._v(\".\"),_c('br'),_vm._v(\"\\n Grazie per la collaborazione e buon lavoro!\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"loader-box\",attrs:{\"data-relative\":\"\"}},[_c('div',{staticClass:\"loader\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Data conferma\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"N.inventario\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Tipologia\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"60px\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"180px\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-align\":\"center\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Totale copie\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Note\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"button ac-button\"},[_c('span',{staticClass:\"icon fastic-ac\"})])\n}]\n\nexport { render, staticRenderFns }","import DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport GTagHelper from \"@Scripts/Infrastructure/GTagHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Watch } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"StockList\" })\r\nexport default class StockList extends Vue {\r\n public orderList: any[] = [];\r\n public isLoading: boolean = false;\r\n public isStockActive: boolean = true;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n get pagination(): any {\r\n return this.$store.getters[\"orderStore/pagination\"]\r\n }\r\n\r\n @Watch(\"$route\") public onUrlChange() {\r\n this.getOrderList();\r\n }\r\n\r\n public created() {\r\n this.setUserContext();\r\n\r\n this.getOrderList();\r\n }\r\n\r\n public async setUserContext() {\r\n let response = await this.$store.dispatch(\"profileStore/getUserContext\");\r\n this.$store.commit(\"profileStore/setUserContext\", Object.freeze(response.data));\r\n }\r\n\r\n public async getOrderList(pageIndex?: number) {\r\n this.isLoading = true;\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrders\", {\r\n Page: pageIndex,\r\n OrderType: \"Stocks\"\r\n });\r\n if (response && response.status === 200) {\r\n this.orderList = response.data.orders;\r\n this.isStockActive = response.data.isStockActive;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.orderList = [];\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n\r\n this.isLoading = false;\r\n }\r\n\r\n public async setOrderConfirmed(orderIdMaster: string) {\r\n var result = confirm(\"Vuoi confermare questo inventario?\");\r\n if (result) {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/setOrderConfirmed\", {\r\n IdMaster: orderIdMaster\r\n });\r\n if (response && response.status == 200) {\r\n GTagHelper.sendEvent(\"click\", \"stock\", \"confirm\");\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Inventario confermato con successo\", type: \"Success\" });\r\n this.getOrderList();\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async setOrderDeleted(orderIdMaster: string) {\r\n var result = confirm(\"Vuoi rimuovere questo inventario?\");\r\n if (result) {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/setOrderDeleted\", {\r\n IdMaster: orderIdMaster\r\n });\r\n if (response && response.status == 200) {\r\n GTagHelper.sendEvent(\"click\", \"stock\", \"delate\");\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Inventario rimosso con successo\", type: \"Success\" });\r\n this.getOrderList();\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public getOrderStatusValue(orderStatusValue: string) {\r\n let value = \"\";\r\n\r\n switch (orderStatusValue) {\r\n case \"Working\":\r\n value = \"yellow\";\r\n break\r\n case \"Confirmed\":\r\n value = \"blueest\";\r\n break\r\n case \"Received\":\r\n value = \"rose\";\r\n break\r\n }\r\n\r\n return value;\r\n }\r\n\r\n public getOrderStatusClassName(orderStatusValue: string) {\r\n let value = \"\";\r\n\r\n switch (orderStatusValue) {\r\n case \"Working\":\r\n value = \"fastic-clock\";\r\n break\r\n case \"Confirmed\":\r\n value = \"fastic-check\";\r\n break\r\n case \"Received\":\r\n value = \"fastic-double-check\";\r\n break\r\n }\r\n\r\n return value;\r\n }\r\n\r\n public convertDateToString(value) {\r\n let stringValue = null;\r\n\r\n let dateTimeParts = DataLegacyHelper.getDateTimeParts(value);\r\n if (dateTimeParts) {\r\n stringValue = dateTimeParts.year + \"-\" + dateTimeParts.month + \"-\" + dateTimeParts.day;\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n public formatPrice(data) {\r\n return DataLegacyHelper.convertDecimalToString(data);\r\n }\r\n\r\n public orderDetail(orderIdMaster: string) {\r\n this.$router.push({ name: \"StockDetail\", params: { orderIdMaster: orderIdMaster } });\r\n }\r\n\r\n public newOrder() {\r\n let isWorkingOrder: boolean = false;\r\n\r\n if (this.orderList !== null && this.orderList.length !== 0) {\r\n let workingOrders = this.orderList.filter(x => x.orderStatusValue === \"Working\" && x.type === \"Stocks\");\r\n if (workingOrders != null && workingOrders.length != 0) {\r\n isWorkingOrder = true;\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Per creare un nuovo inventario devi prima completare quello attualmente in lavorazione\", type: \"Error\" });\r\n }\r\n }\r\n\r\n if (!isWorkingOrder) {\r\n this.$router.push({ name: \"StockDetail\", params: { orderIdMaster: null } });\r\n }\r\n }\r\n\r\n public importOrder() {\r\n let isWorkingOrder: boolean = false;\r\n\r\n if (this.orderList !== null && this.orderList.length !== 0) {\r\n let workingOrders = this.orderList.filter(x => x.orderStatusValue === \"Working\" && x.type === \"Stocks\");\r\n if (workingOrders != null && workingOrders.length != 0) {\r\n isWorkingOrder = true;\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Per importare un nuovo inventario devi prima completare quello attualmente in lavorazione\", type: \"Error\" });\r\n }\r\n }\r\n\r\n if (!isWorkingOrder) {\r\n this.$router.push({ name: \"StockImport\" });\r\n }\r\n }\r\n\r\n public async setPageIndex(pageIndex: number) {\r\n this.getOrderList(pageIndex);\r\n }\r\n\r\n public setAnalytics() {\r\n GTagHelper.sendEvent(\"file_download\", \"stock\");\r\n }\r\n};","import { render, staticRenderFns } from \"./StockList.vue?vue&type=template&id=701f4457\"\nimport script from \"./StockList?vue&type=script&lang=ts&external\"\nexport * from \"./StockList?vue&type=script&lang=ts&external\"\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","import FormLegacyHelper from \"@Scripts/Infrastructure/FormLegacyHelper\";\r\nimport GTagHelper from \"@Scripts/Infrastructure/GTagHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\n\r\n@Component({ name: \"StockImport\" })\r\nexport default class StockImport extends Vue {\r\n public isLoading: boolean = false;\r\n public validationErrors: any[] = [];\r\n public isDetailShow: boolean = false;\r\n\r\n public fileName: string = null;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n public created() {\r\n this.setDataOverflow();\r\n }\r\n\r\n public mounted() {\r\n this.isDetailShow = true;\r\n }\r\n\r\n public setDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (!body.hasAttribute(\"data-overflow\")) {\r\n body.setAttribute(\"data-overflow\", \"\");\r\n }\r\n }\r\n\r\n public setOrderFileName() {\r\n let files = (this).$refs.fileUpload.files;\r\n\r\n this.fileName = null;\r\n\r\n if (files.length !== 0 && files[0].name) {\r\n this.fileName = files[0].name;\r\n }\r\n }\r\n\r\n public async submitOrderFile() {\r\n this.validationErrors = [];\r\n\r\n this.isLoading = true;\r\n\r\n FormLegacyHelper.resetValidation();\r\n let files = (this).$refs.fileUpload.files;\r\n\r\n if (files.length !== 0) {\r\n let formData = new FormData();\r\n formData.append(\"file\", files[0]);\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/importStockFile\", formData);\r\n if (response && response.status === 200) {\r\n this.orderList();\r\n\r\n GTagHelper.sendEvent(\"click\", \"stock\", \"import\");\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"inventario importato con successo\", type: \"Success\" });\r\n }\r\n } catch (error) {\r\n FormLegacyHelper.resetValidation();\r\n if (error.response) {\r\n this.isLoading = false;\r\n\r\n if (error.response.status === 404) {\r\n let redirectUrl = \"/agenti/error/not-found\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status === 400) {\r\n let validationState = error.response.data;\r\n FormLegacyHelper.setValidation(validationState);\r\n\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.validationErrors.push({ message: message });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n } else {\r\n this.validationErrors.push({ message: \"File richiesto\" });\r\n this.isLoading = false;\r\n }\r\n }\r\n\r\n public removeDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (body.hasAttribute(\"data-overflow\")) {\r\n body.removeAttribute(\"data-overflow\");\r\n }\r\n }\r\n\r\n public orderList() {\r\n this.isDetailShow = false;\r\n this.removeDataOverflow();\r\n this.$router.push({ name: \"StockList\" });\r\n }\r\n};","import { render, staticRenderFns } from \"./StockImport.vue?vue&type=template&id=3518a5d8\"\nimport script from \"./StockImport?vue&type=script&lang=ts&external\"\nexport * from \"./StockImport?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"layer\",attrs:{\"data-layer\":\"02\",\"data-show\":_vm.isDetailShow}},[_c('div',{staticClass:\"wrap-tap\",on:{\"click\":function($event){return _vm.orderList()}}}),_vm._v(\" \"),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"close\",on:{\"click\":function($event){return _vm.orderList()}}},[_c('span',{staticClass:\"icon fastic-close\"})]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"box\"},[_c('div',{staticClass:\"mrg\",attrs:{\"data-mrgt\":\"20\"}},[_c('div',{staticClass:\"description mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Il file importato non può superare 4MB, deve contenere al massimo 1500 righe prodotto e deve essere in formato .xlsx\")]),_vm._v(\" \"),_c('div',{staticClass:\"list-item form\"},[_c('div',{staticClass:\"control control-upload\"},[_c('div',{staticClass:\"file-upload-button cta\"},[_c('div',{staticClass:\"button\"},[_vm._v(\"Seleziona file\"),_c('input',{ref:\"fileUpload\",staticClass:\"file-upload-input\",attrs:{\"type\":\"file\",\"name\":\"fileUpload\",\"accept\":\".xlsx\"},on:{\"change\":function($event){return _vm.setOrderFileName()}}})])]),_vm._v(\" \"),(_vm.fileName)?[_c('div',{staticClass:\"file-upload-input-readonly\"},[_vm._v(_vm._s(_vm.fileName))])]:_vm._e()],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"action\",attrs:{\"data-buttons\":\"\"}},[_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"summary\"},[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"cta\"},[(!_vm.isLoading)?_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\",\"data-size\":\"big\"},on:{\"click\":function($event){return _vm.submitOrderFile()}}},[_vm._v(\"Carica file\")]):_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\",\"data-size\":\"big\",\"data-loader\":\"\"}},[_c('div',{staticClass:\"loader\",attrs:{\"data-small\":\"\"}}),_vm._v(\"sto caricando il file\")])])])])]),_vm._v(\" \"),(_vm.validationErrors.length !== 0)?_c('div',{staticClass:\"validation-summary-errors\"},[_c('ul',_vm._l((_vm.validationErrors),function(validationError,index){return _c('li',{key:index},[_vm._v(_vm._s(validationError.message))])}),0)]):_vm._e()])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Importa inventario\")]),_vm._v(\" \"),_c('div',{staticClass:\"mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"In questa sezione puoi importare l'inventario in formato Excel\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"layer\",attrs:{\"data-layer\":\"01\",\"data-show\":_vm.isDetailShow}},[_c('div',{staticClass:\"wrap-tap\",on:{\"click\":function($event){return _vm.orderList()}}}),_vm._v(\" \"),_c('div',{staticClass:\"container\"},[(_vm.order)?[(!_vm.isUpdating || !_vm.isRowUpdating)?_c('div',{staticClass:\"close\"},[_c('span',{staticClass:\"icon fastic-close\",on:{\"click\":function($event){return _vm.orderList()}}})]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"top\"},[(_vm.order.idMaster === '-1')?[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Nuovo inventario\")])]:[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Dettaglio inventario\")])],_vm._v(\" \"),_c('div',{staticClass:\"info-order\"},[(_vm.isDisabled)?[_vm._m(0)]:_vm._e(),_vm._v(\" \"),(_vm.order.idMaster !== _vm.voidIdMaster)?[_c('div',[_c('span',{staticClass:\"item\"},[_c('span',{staticClass:\"tool\"},[_c('span',{staticClass:\"icon fastic-pdf\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_c('a',{attrs:{\"href\":_vm.setReportPdfStockRowsUrl()}},[_vm._v(\"Stampa inventario in PDF\")])])])])])]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"tools mrg\",attrs:{\"data-mrgb\":\"30\"}},[_c('div',{staticClass:\"list-item form\"},[_c('div',{staticClass:\"item row\",attrs:{\"data-size\":\"big\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Note inventario\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.order.notes),expression:\"order.notes\",modifiers:{\"lazy\":true}}],staticClass:\"textbox\",attrs:{\"name\":\"Notes\",\"disabled\":_vm.isDisabled},domProps:{\"value\":(_vm.order.notes)},on:{\"change\":function($event){return _vm.$set(_vm.order, \"notes\", $event.target.value)}}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"list-item form\"},[_c('div',{staticClass:\"item row\",attrs:{\"data-size\":\"small\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Data conferma\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"textbox\",attrs:{\"name\":\"DateConfirmOrder\",\"disabled\":\"\"},domProps:{\"value\":_vm.setDate(_vm.order.dateConfirmOrder)}})])]),_vm._v(\" \"),_c('div',{staticClass:\"item row\",attrs:{\"data-size\":\"xsmall\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Numero\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"textbox\",attrs:{\"name\":\"Code\",\"disabled\":\"\"},domProps:{\"value\":_vm.order.code}})])]),_vm._v(\" \"),_c('div',{staticClass:\"item\",attrs:{\"data-type\":\"sep\"}},[_vm._v(\"\\n /\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"item row\",attrs:{\"data-size\":\"xsmall\",\"data-mrg\":\"0\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Anno\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{staticClass:\"textbox\",attrs:{\"disabled\":\"\"},domProps:{\"value\":_vm.setYear(_vm.order.dateConfirmOrder)}})])]),_vm._v(\" \"),_c('div',{staticClass:\"note\"},[_vm._v(\"Questi campi sono autocompilati alla conferma dell'inventario\")])])])],2),_vm._v(\" \"),(!_vm.isDisabled)?[_c('div',{staticClass:\"product-search\"},[_c('div',{staticClass:\"form\"},[_c('div',{staticClass:\"item\",attrs:{\"id\":\"ProductSearchBox\",\"data-type\":\"keyword\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Cerca gli articoli e aggiungili all'inventario\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\",attrs:{\"data-type\":\"search\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.productSearchText),expression:\"productSearchText\"}],staticClass:\"textbox\",attrs:{\"disabled\":_vm.isDisabled || _vm.isUpdating || _vm.isRowUpdating,\"placeholder\":\"Inserisci codice, ISBN, titolo, autori, materia ESAIE\"},domProps:{\"value\":(_vm.productSearchText)},on:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.productSelect(_vm.productListIndex)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"]))return null;$event.preventDefault();return _vm.productMoveDown()},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"]))return null;$event.preventDefault();return _vm.productMoveUp()}],\"input\":function($event){if($event.target.composing)return;_vm.productSearchText=$event.target.value}}}),_vm._v(\" \"),(_vm.isProductListLoading)?[_c('div',{staticClass:\"loader\",attrs:{\"data-small\":\"\"}})]:[_c('div',{staticClass:\"search-button fastic-lens\",attrs:{\"data-hover\":\"false\"}})]],2),_vm._v(\" \"),(!_vm.isProductListLoading)?[(_vm.productList && _vm.productList.length !== 0 && !_vm.productListNotFound)?_c('div',{staticClass:\"suggestion\"},[_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-store\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.productList),function(product,index){return _c('div',{key:index,class:[{ select: index === _vm.productListIndex }, 'item' ],attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(product.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":product.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":product.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc full\"},[_c('div',{staticClass:\"mrg\",attrs:{\"data-mrgb\":\"10\"}},[_vm._v(_vm._s(product.categoryTitle)+\" - \"+_vm._s(product.subCategoryTitle))]),_vm._v(\" \"),_c('div',{staticClass:\"sb\"},[_vm._v(_vm._s(product.isbn))]),_vm._v(\" \"),_c('div',{staticClass:\"dft15\"},[_vm._v(_vm._s(product.title)+\" - \"+_vm._s(product.subTitle)+\" \"),_c('span',{staticClass:\"link fastic-link\",on:{\"click\":function($event){return _vm.orderProductDetail(product.isMaster ? product.productCode : product.masterCode)}}})]),_vm._v(\" \"),_c('div',[_vm._v(\"Edizione \"+_vm._s(product.editionYear))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_c('span',{staticClass:\"dida hden\"},[_vm._v(\"Prezzo totale\")]),_vm._v(_vm._s(_vm.formatPrice(product.price))+\" €\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"quantity\"}},[_c('div',{staticClass:\"item quantity\"},[_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(product.quantity),expression:\"product.quantity\",modifiers:{\"lazy\":true}}],staticClass:\"textbox\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"Quantity\",\"type\":\"number\"},domProps:{\"value\":(product.quantity)},on:{\"change\":[function($event){return _vm.$set(product, \"quantity\", $event.target.value)},function($event){return _vm.updateProductQuantity(index, product.quantity)}]}}),_vm._v(\" \"),_c('div',{staticClass:\"nav\"},[_c('div',{staticClass:\"button fastic-up\",attrs:{\"data-type\":\"add\"},on:{\"click\":function($event){return _vm.addProductQuantity(index, product.quantity)}}}),_vm._v(\" \"),_c('div',{staticClass:\"button fastic-down\",attrs:{\"data-type\":\"remove\"},on:{\"click\":function($event){return _vm.removeProductQuantity(index, product.quantity)}}})])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"cta\"},[(!_vm.isRowUpdating)?_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\"},on:{\"click\":function($event){return _vm.addProduct(product)}}},[_vm._v(\"Aggiungi\")]):_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\",\"data-loader\":\"\",\"data-small\":\"\"}},[_c('div',{staticClass:\"loader\",attrs:{\"data-small\":\"\"}})])])])])}),0)])])]):(_vm.productListNotFound)?_c('div',{staticClass:\"suggestion not-found\"},[_vm._v(\"Non ci sono risultati\")]):_vm._e()]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"item option\"},[_c('span',{staticClass:\"sep\"},[_vm._v(\"Oppure\")]),_vm._v(\" \"),_c('span',{staticClass:\"catalogues\",on:{\"click\":function($event){return _vm.catalogueSearch()}}},[_c('span',{staticClass:\"icon fastic-catalogues\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Sfoglia il catalogo\")])])])])])]:_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"box\"},[(_vm.order.orderRows && _vm.order.orderRows.length !== 0)?[_c('div',{staticClass:\"elements-list mrg\",attrs:{\"data-mrgt\":\"20\",\"data-type\":\"product\",\"data-store\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},[_vm._m(1),_vm._v(\" \"),(_vm.isUpdating || _vm.isRowUpdating)?_c('div',{staticClass:\"overlay-loading\"}):_vm._e(),_vm._v(\" \"),_vm._l((_vm.order.orderRows),function(orderRow,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(orderRow.productImageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":orderRow.productImageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":orderRow.productTitle}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc full\"},[_c('div',{staticClass:\"mrg\",attrs:{\"data-mrgb\":\"10\"}},[_vm._v(_vm._s(orderRow.productCategoryTitle)+\" - \"+_vm._s(orderRow.productSubCategoryTitle))]),_vm._v(\" \"),_c('div',{staticClass:\"sb\"},[_vm._v(_vm._s(orderRow.isbn))]),_vm._v(\" \"),_c('div',{staticClass:\"dft15\"},[_vm._v(_vm._s(orderRow.productTitle)+\" - \"+_vm._s(orderRow.productSubTitle)+\" \"),_c('span',{staticClass:\"link fastic-link\",on:{\"click\":function($event){return _vm.orderProductDetail(orderRow.productIsMaster ? orderRow.productCode : orderRow.productMasterCode)}}})]),_vm._v(\" \"),_c('div',[_vm._v(\"Edizione \"+_vm._s(orderRow.editionYear))])])]),_vm._v(\" \"),(!_vm.isDisabled)?[_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"quantity\"}},[_c('div',{staticClass:\"item quantity\"},[_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(orderRow.quantity),expression:\"orderRow.quantity\",modifiers:{\"lazy\":true}}],staticClass:\"textbox\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"Quantity\",\"type\":\"number\"},domProps:{\"value\":(orderRow.quantity)},on:{\"change\":[function($event){return _vm.$set(orderRow, \"quantity\", $event.target.value)},function($event){return _vm.updateOrderRowQuantity(index, orderRow.quantity)}]}}),_vm._v(\" \"),_c('div',{staticClass:\"nav\"},[_c('div',{staticClass:\"button fastic-up\",attrs:{\"data-type\":\"add\"},on:{\"click\":function($event){return _vm.addOrderRowQuantity(index, orderRow.quantity)}}}),_vm._v(\" \"),_c('div',{staticClass:\"button fastic-down\",attrs:{\"data-type\":\"remove\"},on:{\"click\":function($event){return _vm.removeOrderRowQuantity(index, orderRow.quantity)}}})])])])])]:[_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"quantity\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(orderRow.quantity))])])])],_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"remove\"}},[(!_vm.isDisabled)?[_c('div',{staticClass:\"item\",on:{\"click\":function($event){return _vm.removeOrderRow(orderRow.productCode)}}},[_c('span',{staticClass:\"remove fastic-trash\"})])]:[_c('div',{staticClass:\"item\"})]],2),_vm._v(\" \"),_vm._m(2,true)],2)})],2)])])]:_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"action\",attrs:{\"data-buttons\":\"\"}},[_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"summary\"},[_c('div',{staticClass:\"item\",attrs:{\"data-type\":\"label\"}},[_vm._v(\"\\n Totale copie\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"price\"},[_vm._v(_vm._s(_vm.order.productCount))])]),_vm._v(\" \"),(!_vm.isDisabled)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"cta\"},[(!_vm.isUpdating || !_vm.isRowUpdating)?_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\",\"data-size\":\"big\"},on:{\"click\":function($event){return _vm.setOrder()}}},[_vm._v(\"Salva inventario\")]):_c('div',{staticClass:\"button\",attrs:{\"data-loader\":\"\",\"data-color\":\"blue\",\"data-size\":\"big\"}},[_c('div',{staticClass:\"loader\",attrs:{\"data-small\":\"\"}})])])])]:_vm._e()],2)]),_vm._v(\" \"),(_vm.validationErrors.length !== 0)?_c('div',{staticClass:\"validation-summary-errors\"},[_c('ul',_vm._l((_vm.validationErrors),function(validationError,index){return _c('li',{key:index},[_vm._v(_vm._s(validationError.message))])}),0)]):_vm._e()])],2)]:_vm._e()],2),_vm._v(\" \"),_c('app-order-cataloguesearch',{attrs:{\"isVisible\":_vm.isCatalogueSearchShow,\"isDisabled\":_vm.isDisabled || _vm.isUpdating || _vm.isRowUpdating},on:{\"hideCatalogueSearch\":_vm.hideCatalogueSearch,\"addProduct\":_vm.addProduct}}),_vm._v(\" \"),_c('app-order-productdetail',{attrs:{\"isVisible\":_vm.isProductDetailShow,\"productDetailCode\":_vm.productDetailCode},on:{\"hideProductDetail\":_vm.hideProductDetail}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"message-order\"},[_c('span',{staticClass:\"icon fastic-double-check\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"L'inventario è stato confermato e non è modificabile\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Articolo\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"quantity\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Quantità\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-type\":\"remove\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"label\"})])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"})])\n}]\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop, Watch } from \"vue-property-decorator\";\r\nimport { Order } from \"@AgentArea/Scripts/Interfaces/Order\";\r\nimport { OrderRow } from \"@AgentArea/Scripts/Interfaces/OrderRow\";\r\nimport { Product } from \"@AgentArea/Scripts/Interfaces/Product\";\r\nimport FormLegacyHelper from \"@Scripts/Infrastructure/FormLegacyHelper\";\r\nimport DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport GTagHelper from \"@Scripts/Infrastructure/GTagHelper\";\r\n\r\n@Component({ name: \"StockDetail\" })\r\nexport default class StockDetail extends Vue {\r\n public validationErrors: any[] = [];\r\n public isDetailShow: boolean = false;\r\n public isCatalogueSearchShow: boolean = false;\r\n public isProductDetailShow: boolean = false;\r\n public productDetailCode: string = null;\r\n public isDisabled: boolean = false;\r\n public isModified: boolean = false;\r\n public isRowUpdating: boolean = false;\r\n public isUpdating: boolean = false;\r\n public voidIdMaster: string = null;\r\n\r\n public order: Order = null;\r\n public orderSubTypes: any[] = [];\r\n\r\n public productSearchText: string = null;\r\n public isProductListLoading: boolean = false;\r\n public debounceTimeOut: any = null;\r\n public productList: Product[] = [];\r\n public productListIndex: number = -1;\r\n public productListNotFound: boolean = false;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n @Prop() readonly orderIdMaster: string;\r\n\r\n @Watch(\"productSearchText\") public async onProductSearchTextChange(searchtext) {\r\n this.debounceProductSearch(searchtext, 500);\r\n }\r\n\r\n public async created() {\r\n this.setDataOverflow();\r\n\r\n if (this.orderIdMaster && this.orderIdMaster !== \"\" && this.orderIdMaster !== \"-1\") {\r\n await this.getOrder();\r\n this.getVoidIdMaster();\r\n } else {\r\n await this.getVoidIdMaster();\r\n this.initOrder();\r\n }\r\n\r\n this.getOrderSubTypes();\r\n this.setDisabled();\r\n\r\n const outsideClickListener = event => {\r\n let searchBox = document.getElementById(\"ProductSearchBox\");\r\n if (searchBox) {\r\n if (!searchBox.contains(event.target)) {\r\n this.clearProductList();\r\n }\r\n }\r\n }\r\n\r\n document.addEventListener(\"click\", outsideClickListener);\r\n }\r\n\r\n public mounted() {\r\n this.isDetailShow = true;\r\n }\r\n\r\n public setDisabled() {\r\n this.isDisabled = this.order.orderStatus !== \"Working\";\r\n }\r\n\r\n public async getVoidIdMaster() {\r\n let response = await this.$store.dispatch(\"orderStore/getVoidIdMaster\");\r\n if (response && response.status === 200) {\r\n this.voidIdMaster = response.data.toString();\r\n }\r\n }\r\n\r\n public async getOrder() {\r\n this.isUpdating = true;\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrder\", {\r\n idMaster: this.orderIdMaster\r\n });\r\n if (response && response.status === 200) {\r\n this.order = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 404) {\r\n let redirectUrl = \"/agenti/error/not-found\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status === 400) {\r\n this.order = null;\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n this.isUpdating = false;\r\n }\r\n\r\n public initOrder() {\r\n this.order = {\r\n idMaster: this.voidIdMaster,\r\n dateConfirmOrder: null,\r\n code: \"\",\r\n type: \"Stocks\",\r\n subType: \"\",\r\n orderStatus: \"Working\",\r\n totalPrice: 0.0,\r\n totalWeight: 0,\r\n productCount: 0,\r\n notes: \"\",\r\n orderRows: []\r\n };\r\n }\r\n\r\n public async getOrderSubTypes() {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrderSubTypes\", {\r\n });\r\n if (response && response.status === 200) {\r\n this.orderSubTypes = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async setOrder() {\r\n this.validationErrors = [];\r\n this.isUpdating = true;\r\n FormLegacyHelper.resetValidation();\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/setOrder\", {\r\n idMaster: this.order.idMaster,\r\n dateConfirmOrder: this.order.dateConfirmOrder,\r\n code: this.order.code,\r\n type: this.order.type,\r\n subType: this.order.subType,\r\n orderStatus: this.order.orderStatus,\r\n totalPrice: this.order.totalPrice,\r\n totalWeight: this.order.totalWeight,\r\n productCount: this.order.productCount,\r\n notes: this.order.notes,\r\n orderRows: this.order.orderRows\r\n });\r\n if (response && response.status === 200) {\r\n if (this.order.idMaster == \"-1\") {\r\n GTagHelper.sendEvent(\"click\", \"stock\", \"set\");\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Ordine creato con successo\", type: \"Success\" });\r\n } else {\r\n GTagHelper.sendEvent(\"click\", \"stock\", \"update\");\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Ordine modificato con successo\", type: \"Success\" });\r\n }\r\n\r\n this.isModified = false;\r\n this.orderList();\r\n }\r\n } catch (error) {\r\n FormLegacyHelper.resetValidation();\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n let validationState = error.response.data;\r\n FormLegacyHelper.setValidation(validationState);\r\n\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.validationErrors.push({ message: message });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status == 500) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Il salvataggio dell'ordine ha generato un errore contatatta Atlas per maggiori informazioni\", type: \"Error\" });\r\n }\r\n }\r\n }\r\n this.isUpdating = false;\r\n }\r\n\r\n public async debounceProductSearch(searchtext: any, delay: number) {\r\n let self = this;\r\n\r\n clearTimeout(this.debounceTimeOut);\r\n this.debounceTimeOut = setTimeout(async function (context) {\r\n if (searchtext && searchtext.length >= 3) {\r\n await self.getProductList();\r\n } else {\r\n self.productList = [];\r\n self.productListNotFound = false;\r\n }\r\n }, delay, this);\r\n }\r\n\r\n public async getProductList() {\r\n this.productList = [];\r\n this.productListIndex = -1;\r\n this.isProductListLoading = true;\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getProductList\", {\r\n searchtext: this.productSearchText\r\n });\r\n if (response && response.status === 200) {\r\n if (response.data) {\r\n if (response.data.length !== 0) {\r\n this.productList = response.data;\r\n this.productListNotFound = false;\r\n } else {\r\n this.productListNotFound = true;\r\n }\r\n }\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.productList = [];\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n\r\n this.isProductListLoading = false;\r\n }\r\n\r\n public productMoveUp() {\r\n if (this.productList.length !== 0 && this.productListIndex > 0) {\r\n this.productListIndex--;\r\n }\r\n }\r\n\r\n public productMoveDown() {\r\n if (this.productList.length !== 0 && this.productListIndex < this.productList.length - 1) {\r\n this.productListIndex++;\r\n }\r\n }\r\n\r\n public productSelect(index: number) {\r\n if (index !== -1) {\r\n this.productListIndex = index;\r\n }\r\n\r\n if (this.productList.length !== 0 && this.productListIndex !== -1) {\r\n let selectedProduct = this.productList[this.productListIndex];\r\n\r\n this.addProduct(selectedProduct);\r\n\r\n this.clearProductList();\r\n }\r\n }\r\n\r\n public clearProductList() {\r\n this.productListIndex = -1;\r\n this.productList = [];\r\n this.productSearchText = null;\r\n }\r\n\r\n public addProductQuantity(index: string, quantity: number) {\r\n let productQuantity = quantity + 1;\r\n this.updateProductQuantity(index, productQuantity);\r\n }\r\n\r\n public removeProductQuantity(index: string, quantity: number) {\r\n let productQuantity = 1;\r\n if (quantity > 1) {\r\n productQuantity = quantity - 1;\r\n }\r\n\r\n this.updateProductQuantity(index, productQuantity);\r\n }\r\n\r\n public updateProductQuantity(index, quantity) {\r\n let productQuantity: number = parseInt(quantity);\r\n if (isNaN(quantity)) {\r\n productQuantity = 1;\r\n }\r\n this.productList[index].quantity = productQuantity;\r\n }\r\n\r\n public addProduct(product: Product) {\r\n this.isRowUpdating = true;\r\n\r\n if (!this.isDisabled) {\r\n let existingOrderRow = this.order.orderRows.find(x => x.productCode === product.productCode);\r\n if (existingOrderRow) {\r\n existingOrderRow.quantity += product.quantity;\r\n existingOrderRow.rowPrice = existingOrderRow.quantity * product.price;\r\n existingOrderRow.rowWeight = existingOrderRow.quantity * product.weight;\r\n } else {\r\n let orderRow: OrderRow = {\r\n idMaster: this.voidIdMaster.toString(),\r\n orderIdMaster: this.order.idMaster,\r\n productCode: product.productCode,\r\n productMasterCode: product.masterCode,\r\n productIsMaster: product.isMaster,\r\n productTitle: product.title,\r\n productSubTitle: product.subTitle,\r\n isbn: product.isbn,\r\n editionYear: product.editionYear,\r\n isRecallYear1: product.isRecallYear1,\r\n isRecallYear2: product.isRecallYear2,\r\n unitWeight: product.weight,\r\n unitPrice: product.price,\r\n quantity: product.quantity,\r\n rowPrice: product.quantity * product.price,\r\n rowWeight: product.quantity * product.weight,\r\n productCategoryTitle: product.categoryTitle,\r\n productSubCategoryTitle: product.subCategoryTitle,\r\n productImageUrl: product.imageUrl,\r\n productCategorySlug: product.productCategorySlug,\r\n productSubCategorySlug: product.productSubCategorySlug,\r\n productSlug: product.productSlug\r\n };\r\n\r\n this.order.orderRows.push(orderRow);\r\n }\r\n\r\n this.setOrderTotal();\r\n\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Prodotto aggiunto con successo\", type: \"Success\" });\r\n this.isModified = true;\r\n }\r\n\r\n this.isRowUpdating = false;\r\n }\r\n\r\n public removeOrderRow(orderRowProductCode: string) {\r\n this.isRowUpdating = true;\r\n\r\n if (!this.isDisabled) {\r\n var result = confirm(\"Vuoi rimuovere questo prodotto?\");\r\n if (result) {\r\n this.order.orderRows = this.order.orderRows.filter(x => x.productCode !== orderRowProductCode);\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Riga rimossa con successo\", type: \"Success\" });\r\n this.setOrderTotal();\r\n }\r\n }\r\n\r\n this.isRowUpdating = false;\r\n }\r\n\r\n public addOrderRowQuantity(index: string, quantity: number) {\r\n if (!this.isDisabled) {\r\n let orderRowQuantity = quantity + 1;\r\n this.updateOrderRowQuantity(index, orderRowQuantity);\r\n }\r\n }\r\n\r\n public removeOrderRowQuantity(index: string, quantity: number) {\r\n let orderRowQuantity = 1;\r\n if (quantity > 1) {\r\n orderRowQuantity = quantity - 1;\r\n }\r\n\r\n this.updateOrderRowQuantity(index, orderRowQuantity);\r\n }\r\n\r\n public updateOrderRowQuantity(orderRowIndex, quantity) {\r\n this.isRowUpdating = true;\r\n\r\n if (!this.isDisabled) {\r\n let orderRowQuantity: number = parseInt(quantity);\r\n if (isNaN(orderRowQuantity)) {\r\n orderRowQuantity = 1;\r\n }\r\n\r\n this.order.orderRows[orderRowIndex].quantity = orderRowQuantity;\r\n this.order.orderRows[orderRowIndex].rowPrice = parseFloat((this.order.orderRows[orderRowIndex].unitPrice * orderRowQuantity).toFixed(2));\r\n this.order.orderRows[orderRowIndex].rowWeight = this.order.orderRows[orderRowIndex].unitWeight * orderRowQuantity;\r\n\r\n this.setOrderTotal();\r\n this.isModified = true;\r\n }\r\n\r\n this.isRowUpdating = false;\r\n }\r\n\r\n public setOrderTotal() {\r\n let productCount = 0,\r\n totalPrice = 0.00,\r\n totalWeight = 0;\r\n\r\n for (let orderRow of this.order.orderRows) {\r\n productCount += orderRow.quantity;\r\n totalPrice += orderRow.rowPrice;\r\n totalWeight += orderRow.rowWeight;\r\n }\r\n\r\n this.order.productCount = productCount;\r\n this.order.totalPrice = DataLegacyHelper.roundNumber(totalPrice, 2);\r\n this.order.totalWeight = totalWeight;\r\n }\r\n\r\n public formatPrice(data) {\r\n return DataLegacyHelper.convertDecimalToString(DataLegacyHelper.roundNumber(data, 2));\r\n }\r\n\r\n public formatWeight(data) {\r\n return DataLegacyHelper.convertIntegerToString(data);\r\n }\r\n\r\n public setDate(value: any) {\r\n let stringValue = null;\r\n\r\n let dateTimeParts = DataLegacyHelper.getDateTimeParts(value);\r\n if (dateTimeParts) {\r\n stringValue = dateTimeParts.year + \"-\" + dateTimeParts.month + \"-\" + dateTimeParts.day;\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n public setYear(value: any) {\r\n let stringValue = null;\r\n\r\n let dateTimeParts = DataLegacyHelper.getDateTimeParts(value);\r\n if (dateTimeParts) {\r\n stringValue = dateTimeParts.year;\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n public catalogueSearch() {\r\n this.isCatalogueSearchShow = true;\r\n }\r\n\r\n public hideCatalogueSearch() {\r\n this.isCatalogueSearchShow = false;\r\n }\r\n\r\n public orderProductDetail(productDetailCode: string) {\r\n this.productDetailCode = productDetailCode;\r\n this.isProductDetailShow = true;\r\n }\r\n\r\n public hideProductDetail() {\r\n this.isProductDetailShow = false;\r\n }\r\n\r\n public setDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (!body.hasAttribute(\"data-overflow\")) {\r\n body.setAttribute(\"data-overflow\", \"\");\r\n }\r\n }\r\n\r\n public removeDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (body.hasAttribute(\"data-overflow\")) {\r\n body.removeAttribute(\"data-overflow\");\r\n }\r\n }\r\n\r\n public orderList() {\r\n let result: boolean = true;\r\n if (this.isModified) {\r\n result = confirm(\"Vuoi uscire da questo inventario?\");\r\n }\r\n\r\n if (result) {\r\n this.isDetailShow = false;\r\n this.removeDataOverflow();\r\n this.$router.push({ name: \"StockList\", params: { orderIdMaster: \"\" } });\r\n }\r\n }\r\n\r\n public setReportPdfStockRowsUrl() {\r\n let url = this.routes.AgentArea_Api_Order_ReportPdfStockRows + \"?orderIdMaster=\" + this.order.idMaster;\r\n\r\n return url;\r\n }\r\n\r\n public productDetail(categorySlug: string, subCategorySlug: string, productSlug: string) {\r\n let routeData = this.$router.resolve({ name: \"ProductDetail\", params: { categorySlug: categorySlug, subCategorySlug: subCategorySlug, productSlug: productSlug } });\r\n\r\n if (!productSlug || productSlug == \"\") {\r\n routeData = this.$router.resolve({ name: \"ProductList\", params: { categorySlug: categorySlug, subCategorySlug: subCategorySlug } });\r\n }\r\n\r\n window.open(routeData.href, \"_blank\");\r\n }\r\n};","import { render, staticRenderFns } from \"./StockDetail.vue?vue&type=template&id=493b6670\"\nimport script from \"./StockDetail?vue&type=script&lang=ts&external\"\nexport * from \"./StockDetail?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.isVisible)?[_c('div',{staticClass:\"layer\",attrs:{\"data-layer\":\"02\",\"data-show\":_vm.isVisible}},[_c('div',{staticClass:\"wrap-tap\",on:{\"click\":function($event){return _vm.orderDetail()}}}),_vm._v(\" \"),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"close\",on:{\"click\":function($event){return _vm.orderDetail()}}},[_c('span',{staticClass:\"icon fastic-close\"})]),_vm._v(\" \"),_c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Sfoglia il catalogo\")]),_vm._v(\" \"),_c('div',{staticClass:\"tools mrg\",attrs:{\"data-mrgb\":\"30\"}},[_c('div',{staticClass:\"list-item form\"},[(_vm.productCategories)?_c('div',{staticClass:\"item row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Grado\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.productCategory),expression:\"productCategory\"}],class:[{ active: _vm.productCategory }, 'dropdown'],attrs:{\"disabled\":_vm.isDisabled,\"name\":\"ProductCategory\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.productCategory=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.getProductSubCategories()}]}},[_c('option',{domProps:{\"value\":null}},[_vm._v(\"Seleziona grado\")]),_vm._v(\" \"),_vm._l((_vm.productCategories),function(productCategory,index){return _c('option',{key:index,domProps:{\"value\":productCategory.value}},[_vm._v(\"\\n \"+_vm._s(productCategory.title)+\"\\n \")])})],2)])]):_vm._e(),_vm._v(\" \"),(_vm.productSubCategories)?_c('div',{staticClass:\"item row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Materia\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.productSubCategory),expression:\"productSubCategory\"}],class:[{ active: _vm.productSubCategory }, 'dropdown'],attrs:{\"disabled\":_vm.isDisabled,\"name\":\"ProductSubCategory\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.productSubCategory=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.getProductList()}]}},[_c('option',{domProps:{\"value\":null}},[_vm._v(\"Seleziona materia\")]),_vm._v(\" \"),_vm._l((_vm.productSubCategories),function(productSubCategory,index){return _c('option',{key:index,domProps:{\"value\":productSubCategory.value}},[_vm._v(\"\\n \"+_vm._s(productSubCategory.title)+\"\\n \")])})],2)])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{staticClass:\"elements-list mrg\",attrs:{\"data-mrgt\":\"30\",\"data-type\":\"product\",\"data-add\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},[(_vm.productList && _vm.productList.length !== 0)?_vm._l((_vm.productList),function(product,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"item box-image\",attrs:{\"data-size\":\"120\"}},[_c('div',{staticClass:\"content\"},[(product.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":product.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":product.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc full detail\"},[_c('div',{staticClass:\"mrg\",attrs:{\"data-mrgb\":\"10\"}},[_vm._v(_vm._s(product.categoryTitle)+\" - \"+_vm._s(product.subCategoryTitle))]),_vm._v(\" \"),_c('div',{staticClass:\"sb\"},[_vm._v(_vm._s(product.isbn))]),_vm._v(\" \"),_c('div',{staticClass:\"dft15\"},[_vm._v(_vm._s(product.title)+\" - \"+_vm._s(product.subTitle)+\" \"),_c('span',{staticClass:\"link fastic-link\",on:{\"click\":function($event){return _vm.productDetail(product.productSlug, product.productSubCategorySlug, product.productCategorySlug)}}})]),_vm._v(\" \"),_c('div',[_vm._v(\"Edizione \"+_vm._s(product.editionYear))]),_vm._v(\" \"),_c('div',{staticClass:\"cart\"},[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"quantity\"},[_c('div',{staticClass:\"input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(product.quantity),expression:\"product.quantity\",modifiers:{\"lazy\":true}}],staticClass:\"textbox\",attrs:{\"name\":\"Quantity\",\"type\":\"number\"},domProps:{\"value\":(product.quantity)},on:{\"change\":[function($event){return _vm.$set(product, \"quantity\", $event.target.value)},function($event){return _vm.updateProductQuantity(index, product.quantity)}]}}),_vm._v(\" \"),_c('div',{staticClass:\"nav\"},[_c('div',{staticClass:\"button fastic-up\",attrs:{\"data-type\":\"add\"},on:{\"click\":function($event){return _vm.addProductQuantity(product, index)}}}),_vm._v(\" \"),_c('div',{staticClass:\"button fastic-down\",attrs:{\"data-type\":\"remove\"},on:{\"click\":function($event){return _vm.removeProductQuantity(product, index)}}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"price\"},[_vm._v(_vm._s(_vm.formatPrice(product.price))+\" € \"),_c('span',{staticClass:\"label\"}),_vm._v(\"cad.\")])]),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[(!product.isAdded)?[_c('div',{staticClass:\"cta\"},[_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"blue\"},on:{\"click\":function($event){return _vm.addProduct(product, index)}}},[_vm._v(\"Aggiungi\")])])]:[_vm._m(0,true)]],2)])])])])}):_vm._e()],2)])])])])]:_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"added\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Aggiunto\")]),_vm._v(\" \"),_c('div',{staticClass:\"circle\"},[_c('span',{staticClass:\"icon fastic-check\"})])])\n}]\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop } from \"vue-property-decorator\";\r\nimport { Product } from \"@AgentArea/Scripts/Interfaces/Product\";\r\nimport FormLegacyHelper from \"@Scripts/Infrastructure/FormLegacyHelper\";\r\nimport DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\n\r\n@Component({ name: \"OrderCatalogueSearch\" })\r\nexport default class OrderCatalogueSearch extends Vue {\r\n public validationErrors: any[] = [];\r\n public productCategories: any[] = [];\r\n public productSubCategories: any[] = [];\r\n public productCategory: string = null;\r\n public productSubCategory: string = null;\r\n\r\n public productList: Product[] = []\r\n\r\n @Prop() readonly isVisible: boolean;\r\n @Prop() readonly isDisabled: boolean;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n public created() {\r\n this.getProductCategories();\r\n }\r\n\r\n public async getProductCategories() {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getProductCategories\");\r\n\r\n if (response && response.status === 200) {\r\n this.productCategories = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.productCategories = [];\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n\r\n public async getProductSubCategories() {\r\n if (this.productCategory && this.productCategory !== \"\") {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getProductSubCategories\", {\r\n categoryName: this.productCategory\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.productSubCategories = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.productSubCategories = [];\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async getProductList() {\r\n this.validationErrors = [];\r\n FormLegacyHelper.resetValidation();\r\n this.productList = [];\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getProductList\", {\r\n productCategory: this.productCategory,\r\n productSubCategory: this.productSubCategory\r\n });\r\n if (response && response.status === 200) {\r\n if (response.data) {\r\n this.productList = response.data;\r\n }\r\n }\r\n } catch (error) {\r\n FormLegacyHelper.resetValidation();\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.productList = [];\r\n let validationState = error.response.data;\r\n FormLegacyHelper.setValidation(validationState);\r\n\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.validationErrors.push({ message: message });\r\n }\r\n }\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n }\r\n\r\n public addProductQuantity(product: Product, index: number) {\r\n let quantity = product.quantity += 1;\r\n this.updateProductQuantity(index, quantity);\r\n }\r\n\r\n public removeProductQuantity(product: Product, index: number) {\r\n let quantity = 1;\r\n if (product.quantity > 1) {\r\n quantity = product.quantity - 1;\r\n }\r\n\r\n this.updateProductQuantity(index, quantity);\r\n }\r\n\r\n public updateProductQuantity(index: number, quantity: number) {\r\n if (!this.isDisabled) {\r\n this.productList[index].quantity = quantity;\r\n }\r\n }\r\n\r\n public addProduct(product: Product, index: number) {\r\n if (!this.isDisabled) {\r\n this.$emit(\"addProduct\", product);\r\n this.productList[index].isAdded = true;\r\n }\r\n }\r\n\r\n public productDetail(productSlug: string, subCategorySlug: string, categorySlug: string) {\r\n let routeData = this.$router.resolve({ name: \"ProductDetail\", params: { categorySlug: categorySlug, subCategorySlug: subCategorySlug, productSlug: productSlug } });\r\n\r\n if (!productSlug || productSlug == \"\") {\r\n routeData = this.$router.resolve({ name: \"ProductList\", params: { categorySlug: categorySlug, subCategorySlug: subCategorySlug } });\r\n }\r\n\r\n window.open(routeData.href, \"_blank\");\r\n }\r\n\r\n public orderDetail() {\r\n this.$emit(\"hideCatalogueSearch\");\r\n }\r\n\r\n public formatPrice(data) {\r\n return DataLegacyHelper.convertDecimalToString(data);\r\n }\r\n};","import { render, staticRenderFns } from \"./OrderCatalogueSearch.vue?vue&type=template&id=513dc25e\"\nimport script from \"./OrderCatalogueSearch?vue&type=script&lang=ts&external\"\nexport * from \"./OrderCatalogueSearch?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.isVisible)?[_c('div',{staticClass:\"layer\",attrs:{\"data-layer\":\"01small\",\"data-show\":_vm.isVisible}},[_c('div',{staticClass:\"wrap-tap\",on:{\"click\":function($event){return _vm.orderDetail()}}}),_vm._v(\" \"),(_vm.product)?_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"close\",on:{\"click\":function($event){return _vm.orderDetail()}}},[_c('span',{staticClass:\"icon fastic-close\"})]),_vm._v(\" \"),_c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"subject mrg\",attrs:{\"data-mrgb\":\"10\"}},[_vm._v(_vm._s(_vm.product.subCategory.title)+\" \"+_vm._s(_vm.product.category.title.toLowerCase()))]),_vm._v(\" \"),_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(_vm._s(_vm.product.title))]),_vm._v(\" \"),_c('div',{staticClass:\"abstract mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(_vm._s(_vm.product.subTitle))])]),_vm._v(\" \"),_c('div',{staticClass:\"product-detail\"},[_c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"auth\"},[_vm._v(\"di \"+_vm._s(_vm.product.authors))])]),_vm._v(\" \"),_c('div',{staticClass:\"content\"},[_c('div',{class:[{ show: _vm.isDescriptionShow }, 'detail', 'editor', 'cf']},[_c('div',{staticClass:\"box-image\"},[_c('div',{staticClass:\"content\"},[(_vm.product.imageUrl)?[_c('picture',[_c('source',{attrs:{\"media\":\"(max-width:749px)\",\"srcset\":_vm.product.bigImageUrl}}),_vm._v(\" \"),_c('img',{staticClass:\"image\",attrs:{\"src\":_vm.product.imageUrl,\"width\":\"537\",\"height\":\"688\",\"alt\":_vm.product.title}})])]:_vm._e()],2),_vm._v(\" \"),(_vm.product.masterPreviewUrl)?[_c('div',{staticClass:\"action\"},[_c('div',{staticClass:\"cta\"},[_c('a',{staticClass:\"button\",attrs:{\"href\":_vm.product.masterPreviewUrl,\"data-size\":\"small\",\"target\":\"_blank\"}},[_vm._v(\"Sfoglia l'anteprima del libro\")])])])]:_vm._e()],2),_vm._v(\" \"),(_vm.productPlusList && _vm.productPlusList.length !== 0)?_c('div',{staticClass:\"features mrg\",attrs:{\"data-mrgb\":\"30\"}},[_vm._l((_vm.productPlusList),function(productPlusItem,index){return [(_vm.setProductPlusVisible(_vm.product, productPlusItem))?[(productPlusItem.value !== 'WithoutBook')?[_c('div',{key:index,staticClass:\"item\",attrs:{\"data-type\":_vm.getProductPlusValue(_vm.product, productPlusItem)}},[_c('span',{class:['icon', _vm.getProductPlusClassName(_vm.product, productPlusItem) ]}),_vm._v(\" \"),_c('span',{staticClass:\"label\",domProps:{\"innerHTML\":_vm._s(_vm.setProductPlusText(_vm.product, productPlusItem))}})])]:[_c('div',{key:index,staticClass:\"item\",attrs:{\"data-type\":\"senzalibro\"}},[_vm._m(0,true),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"senzaLIBRO\")])])]]:_vm._e()]})],2):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"description\",domProps:{\"innerHTML\":_vm._s(_vm.product.description)}}),_vm._v(\" \"),(_vm.isDescriptionButtonShow)?[_c('div',{staticClass:\"overlay\"},[_c('div',{staticClass:\"button-show\",on:{\"click\":function($event){return _vm.setIsDescriptionShow()}}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Continua a leggere\")]),_vm._v(\" \"),_c('span',{staticClass:\"icon fastic-curved-arrow-up\"})])])]:_vm._e(),_vm._v(\" \"),(_vm.relatedNews && _vm.relatedNews.length !== 0)?_c('div',{staticClass:\"related-news\"},[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"30\"}},[_vm._v(\"Notizie correlate\")]),_vm._v(\" \"),_c('div',{staticClass:\"list-item\"},_vm._l((_vm.relatedNews),function(newsItem,index){return _c('a',{key:index,staticClass:\"item\",attrs:{\"href\":newsItem.detailUrl,\"data-type\":\"first\"}},[_c('span',{staticClass:\"image\"},[_c('span',{staticClass:\"content\"},[(newsItem.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":newsItem.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":newsItem.title}})]],2)]),_vm._v(\" \"),_c('span',{staticClass:\"text\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(newsItem.title))]),_vm._v(\" \"),_c('span',{staticClass:\"desc\"},[_vm._v(_vm._s(newsItem.abstract.substring(0, 80)))])])])}),0)]):_vm._e()],2)])]),_vm._v(\" \"),(_vm.relatedProducts && _vm.relatedProducts.length !== 0)?[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"related\"},[(_vm.paperRelatedProducts && _vm.paperRelatedProducts.length !== 0)?[_c('div',{staticClass:\"list\",attrs:{\"data-type\":\"book\"}},[_vm._m(2),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-related\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.paperRelatedProducts),function(paperRelatedProduct,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(paperRelatedProduct.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":paperRelatedProduct.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":paperRelatedProduct.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"ISBN \"+_vm._s(paperRelatedProduct.isbn))]),_vm._v(\" \"),_c('div',{staticClass:\"cm14 mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(_vm._s(paperRelatedProduct.title))]),_vm._v(\" \"),_c('div',[_vm._v(_vm._s(paperRelatedProduct.subTitle))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Edizione\")]),_vm._v(\" \"+_vm._s(paperRelatedProduct.editionYear)+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[(paperRelatedProduct.isRecallYear1)?[_vm._m(3,true)]:(paperRelatedProduct.isRecallYear2)?[_vm._m(4,true)]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\",\"data-align\":\"center\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_vm._v(_vm._s(_vm.formatPrice(paperRelatedProduct.price))+\" €\")])])])}),0)])])])]:_vm._e(),_vm._v(\" \"),(_vm.teacherResourcesRelatedProducts && _vm.teacherResourcesRelatedProducts.length !== 0)?[_c('div',{staticClass:\"list\",attrs:{\"data-type\":\"teacher\"}},[_vm._m(5),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-related\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.teacherResourcesRelatedProducts),function(teacherResourcesRelatedProduct,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(teacherResourcesRelatedProduct.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":teacherResourcesRelatedProduct.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":teacherResourcesRelatedProduct.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n ISBN \"+_vm._s(teacherResourcesRelatedProduct.isbn)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"cm14 mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n \"+_vm._s(teacherResourcesRelatedProduct.title)+\"\\n \")]),_vm._v(\" \"),_c('div',[_vm._v(\"\\n \"+_vm._s(teacherResourcesRelatedProduct.subTitle)+\"\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Edizione\")]),_vm._v(\"\\n \"+_vm._s(teacherResourcesRelatedProduct.editionYear)+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[(teacherResourcesRelatedProduct.isRecallYear1)?[_vm._m(6,true)]:(teacherResourcesRelatedProduct.isRecallYear2)?[_vm._m(7,true)]:_vm._e()],2),_vm._v(\" \"),_vm._m(8,true),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_vm._v(\" \"+_vm._s(_vm.formatPrice(teacherResourcesRelatedProduct.price))+\" € \")])])])}),0)])])])]:_vm._e(),_vm._v(\" \"),(_vm.ebookRelatedProducts && _vm.ebookRelatedProducts.length !== 0)?[_c('div',{staticClass:\"list\",attrs:{\"data-type\":\"ebook\"}},[_vm._m(9),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-related\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.ebookRelatedProducts),function(ebookRelatedProduct,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(ebookRelatedProduct.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":ebookRelatedProduct.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":ebookRelatedProduct.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"ISBN \"+_vm._s(ebookRelatedProduct.isbn))]),_vm._v(\" \"),_c('div',{staticClass:\"cm14 mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(_vm._s(ebookRelatedProduct.title))]),_vm._v(\" \"),_c('div',[_vm._v(_vm._s(ebookRelatedProduct.subTitle))])])]),_vm._v(\" \"),_vm._m(10,true),_vm._v(\" \"),_vm._m(11,true),_vm._v(\" \"),_vm._m(12,true),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_vm._v(_vm._s(_vm.formatPrice(ebookRelatedProduct.price))+\" €\")])])])}),0)])])])]:_vm._e(),_vm._v(\" \"),(_vm.multimediaRelatedProducts && _vm.multimediaRelatedProducts.length !== 0)?[_c('div',{staticClass:\"list\",attrs:{\"data-type\":\"multimedia\"}},[_vm._m(13),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-related\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.multimediaRelatedProducts),function(multimediaRelatedProduct,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(multimediaRelatedProduct.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":multimediaRelatedProduct.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":multimediaRelatedProduct.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"ISBN \"+_vm._s(multimediaRelatedProduct.isbn))]),_vm._v(\" \"),_c('div',{staticClass:\"cm14 mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(_vm._s(multimediaRelatedProduct.title))]),_vm._v(\" \"),_c('div',[_vm._v(_vm._s(multimediaRelatedProduct.subTitle))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Edizione\")]),_vm._v(\" \"+_vm._s(multimediaRelatedProduct.editionYear)+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[(multimediaRelatedProduct.isRecallYear1)?[_vm._m(14,true)]:(multimediaRelatedProduct.isRecallYear2)?[_vm._m(15,true)]:_vm._e()],2),_vm._v(\" \"),_vm._m(16,true),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_vm._v(_vm._s(_vm.formatPrice(multimediaRelatedProduct.price))+\" €\")])])])}),0)])])])]:_vm._e(),_vm._v(\" \"),(_vm.teacherResourcesRelatedProducts && _vm.teacherResourcesRelatedProducts.length !== 0)?[_c('div',{staticClass:\"list\",attrs:{\"data-type\":\"multimedia\"}},[_vm._m(17),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-related\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.teacherResourcesRelatedProducts),function(teacherResourcesRelatedProduct,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(teacherResourcesRelatedProduct.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":teacherResourcesRelatedProduct.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":teacherResourcesRelatedProduct.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"ISBN \"+_vm._s(teacherResourcesRelatedProduct.isbn))]),_vm._v(\" \"),_c('div',{staticClass:\"cm14 mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(_vm._s(teacherResourcesRelatedProduct.title))]),_vm._v(\" \"),_c('div',[_vm._v(_vm._s(teacherResourcesRelatedProduct.subTitle))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Edizione\")]),_vm._v(\" \"+_vm._s(teacherResourcesRelatedProduct.editionYear)+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[(teacherResourcesRelatedProduct.isRecallYear1)?[_vm._m(18,true)]:(teacherResourcesRelatedProduct.isRecallYear2)?[_vm._m(19,true)]:_vm._e()],2),_vm._v(\" \"),_vm._m(20,true),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_vm._v(_vm._s(_vm.formatPrice(teacherResourcesRelatedProduct.price))+\" €\")])])])}),0)])])])]:_vm._e()],2)]:_vm._e()],2):_vm._e()])]:_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',{staticClass:\"icon\"},[_c('img',{attrs:{\"src\":\"/images/icon-senzalibro.svg\",\"width\":\"24\",\"height\":\"24\",\"alt\":\"senzaLIBRO\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"page-header mrg\",attrs:{\"data-mrgt\":\"40\",\"data-mrgb\":\"20\",\"data-type\":\"page\"}},[_c('div',{staticClass:\"title txt-align-c\"},[_vm._v(\"Configurazioni di vendita\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"title\"},[_c('span',{staticClass:\"icon fastic-book\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Stampa\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 1\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 2\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"title\"},[_c('span',{staticClass:\"icon fastic-hat\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Risorse per l'insegnante\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 1\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 2\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"title\"},[_c('span',{staticClass:\"icon fastic-ebook\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"eBook\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"title\"},[_c('span',{staticClass:\"icon fastic-multimedia\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Multimediale\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 1\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 2\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"title\"},[_c('span',{staticClass:\"icon fastic-multimedia\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Risorse per l'insegnante\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 1\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 2\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"})])\n}]\n\nexport { render, staticRenderFns }","import DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop, Watch } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"OrderProductDetail\" })\r\nexport default class OrderProductDetail extends Vue {\r\n public product: any = null;\r\n public descriptionLengthLimit: number = 3000;\r\n public isDescriptionShow: boolean = false;\r\n public isDescriptionButtonShow: boolean = false;\r\n public relatedProducts: [] = [];\r\n public relatedNews: [] = [];\r\n public paperRelatedProducts: [] = [];\r\n public ebookRelatedProducts: [] = [];\r\n public multimediaRelatedProducts: [] = [];\r\n public teacherResourcesRelatedProducts: [] = [];\r\n public isDetailShow: boolean = false;\r\n\r\n @Prop() readonly isVisible: boolean;\r\n\r\n @Prop() readonly productDetailCode: string;\r\n\r\n @Watch(\"productDetailCode\") async onPropertyChanged(value: any, oldValue: any) {\r\n this.product = null;\r\n this.relatedProducts = [];\r\n this.relatedNews = [];\r\n this.paperRelatedProducts = [];\r\n this.ebookRelatedProducts = [];\r\n this.multimediaRelatedProducts = [];\r\n this.teacherResourcesRelatedProducts = [];\r\n await this.getProduct();\r\n this.getProductRelatedNews();\r\n this.getRelatedProducts();\r\n this.setIsDescriptionButtonShow();\r\n }\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n get productPlusList() {\r\n return this.$store.getters[\"catalogueStore/productPlusList\"];\r\n }\r\n\r\n public async created() {\r\n this.setDataOverflow();\r\n\r\n }\r\n\r\n public async getProduct() {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrderProductDetail\", {\r\n code: this.productDetailCode\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.product = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response.status === 404) {\r\n let redirectUrl = \"/agenti/error/not-found\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status === 400) {\r\n this.product = null;\r\n }\r\n }\r\n }\r\n\r\n public async getProductRelatedNews() {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrderProductRelatedNews\", {\r\n productCode: this.productDetailCode\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.relatedNews = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.relatedNews = [];\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async getRelatedProducts() {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrderRelatedProducts\", {\r\n code: this.productDetailCode\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.relatedProducts = response.data;\r\n let self = this;\r\n\r\n for (let item of this.relatedProducts) {\r\n let relatedProduct: any = item;\r\n if (relatedProduct.media.includes(\"Paper\")) {\r\n self.paperRelatedProducts.push(item);\r\n }\r\n\r\n if (relatedProduct.media.includes(\"Ebook\")) {\r\n self.ebookRelatedProducts.push(item);\r\n }\r\n\r\n if (relatedProduct.media.includes(\"Multimedia\")) {\r\n self.multimediaRelatedProducts.push(item);\r\n }\r\n\r\n if (relatedProduct.media.includes(\"TeacherResources\")) {\r\n self.teacherResourcesRelatedProducts.push(item);\r\n }\r\n }\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.relatedProducts = [];\r\n this.paperRelatedProducts = [];\r\n this.ebookRelatedProducts = [];\r\n this.multimediaRelatedProducts = [];\r\n this.teacherResourcesRelatedProducts = [];\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n }\r\n\r\n public setIsDescriptionButtonShow() {\r\n if (this.product && this.product.descriptionLength) {\r\n let descriptionLength: number = this.product.descriptionLength;\r\n\r\n this.isDescriptionButtonShow = descriptionLength > this.descriptionLengthLimit;\r\n }\r\n }\r\n\r\n public setIsDescriptionShow() {\r\n this.isDescriptionShow = !this.isDescriptionShow;\r\n }\r\n\r\n public setProductPlusVisible(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value);\r\n\r\n return isIncludes;\r\n }\r\n\r\n public getProductPlusValue(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value),\r\n dataTypeValue: string = \"\";\r\n\r\n if (isIncludes) {\r\n switch (productPlusItem.value) {\r\n case \"Print\":\r\n dataTypeValue = \"book\";\r\n break;\r\n case \"eBook\":\r\n dataTypeValue = \"ebook\";\r\n break;\r\n case \"Multimedia\":\r\n dataTypeValue = \"multimedia\";\r\n break;\r\n case \"AA\":\r\n dataTypeValue = \"accessibility\";\r\n break;\r\n case \"QrCode\":\r\n dataTypeValue = \"qrcode\";\r\n break;\r\n }\r\n }\r\n\r\n return isIncludes === true ? dataTypeValue : \"\";\r\n }\r\n\r\n public getProductPlusClassName(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value),\r\n className: string = \"\";\r\n\r\n if (isIncludes) {\r\n switch (productPlusItem.value) {\r\n case \"Print\":\r\n className = \"fastic-book\";\r\n break;\r\n case \"eBook\":\r\n className = \"fastic-ebook\";\r\n break;\r\n case \"Multimedia\":\r\n className = \"fastic-multimedia\";\r\n break;\r\n case \"AA\":\r\n className = \"fastic-accessibility\";\r\n break;\r\n case \"QrCode\":\r\n className = \"fastic-qrcode\";\r\n break;\r\n }\r\n }\r\n\r\n return className;\r\n }\r\n\r\n public setProductPlusText(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value),\r\n text: string = \"\";\r\n\r\n if (isIncludes) {\r\n switch (productPlusItem.value) {\r\n case \"Print\":\r\n text = \"Stampa\";\r\n break;\r\n case \"eBook\":\r\n text = \"eBook\";\r\n break;\r\n case \"Multimedia\":\r\n text = \"Multimediale\";\r\n break;\r\n case \"AA\":\r\n text = \"Alta accessibilità\";\r\n break;\r\n case \"QrCode\":\r\n text = \"QR Code\";\r\n break;\r\n }\r\n }\r\n\r\n return text;\r\n }\r\n\r\n public setDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (!body.hasAttribute(\"data-overflow\")) {\r\n body.setAttribute(\"data-overflow\", \"\");\r\n }\r\n }\r\n\r\n public removeDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (body.hasAttribute(\"data-overflow\")) {\r\n body.removeAttribute(\"data-overflow\");\r\n }\r\n }\r\n\r\n public formatPrice(data) {\r\n return DataLegacyHelper.convertDecimalToString(data);\r\n }\r\n\r\n public orderDetail() {\r\n this.$emit(\"hideProductDetail\");\r\n }\r\n};","import { render, staticRenderFns } from \"./OrderProductDetail.vue?vue&type=template&id=54c5a116\"\nimport script from \"./OrderProductDetail?vue&type=script&lang=ts&external\"\nexport * from \"./OrderProductDetail?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.isSearchVisible)?_c('div',{staticClass:\"filters\",on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.searchSubmit()}}},[_c('div',{staticClass:\"list-item form\"},[(_vm.orderYears && _vm.orderYears.length !== 0)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Anno\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.orderYear),expression:\"orderYear\"}],class:[{ selected: _vm.isOrderYearSelected }, 'dropdown'],attrs:{\"name\":\"OrderYear\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.orderYear=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{domProps:{\"value\":null}},[_vm._v(\"...\")]),_vm._v(\" \"),_vm._l((_vm.orderYears),function(orderYear,index){return _c('option',{key:index,domProps:{\"value\":orderYear}},[_vm._v(\"\\n \"+_vm._s(orderYear)+\"\\n \")])})],2)])])]:_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Codice o parola chiave\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchtext),expression:\"searchtext\"}],class:[{ selected: _vm.isSearchTextSelected }, 'textbox'],attrs:{\"type\":\"text\",\"name\":\"Searchtext\"},domProps:{\"value\":(_vm.searchtext)},on:{\"input\":function($event){if($event.target.composing)return;_vm.searchtext=$event.target.value}}})])]),_vm._v(\" \"),(_vm.orderStatuses && _vm.orderStatuses.length !== 0)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Stato\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.orderStatus),expression:\"orderStatus\"}],class:[{ selected: _vm.isOrderStatusSelected }, 'dropdown'],attrs:{\"name\":\"OrderStatus\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.orderStatus=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.orderStatuses),function(orderStatus,index){return _c('option',{key:index,domProps:{\"value\":orderStatus.value}},[_vm._v(\"\\n \"+_vm._s(orderStatus.title)+\"\\n \")])}),0)])])]:_vm._e(),_vm._v(\" \"),(_vm.orderSubTypes && _vm.orderSubTypes.length !== 0)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Tipologia\")]),_vm._v(\" \"),_c('div',{staticClass:\"dwcontrol\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.orderSubType),expression:\"orderSubType\"}],class:[{ selected: _vm.isOrderSubTypeSelected }, 'dropdown'],attrs:{\"name\":\"OrderSubType\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.orderSubType=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.orderSubTypes),function(orderSubType,index){return _c('option',{key:index,domProps:{\"value\":orderSubType.value}},[_vm._v(\"\\n \"+_vm._s(orderSubType.title)+\"\\n \")])}),0)])])]:_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"item cta\"},[_c('div',{staticClass:\"button\",on:{\"click\":function($event){return _vm.searchSubmit()}}},[_vm._v(\"Cerca\")])]),_vm._v(\" \"),_c('div',{staticClass:\"item reset\"},[_c('div',{staticClass:\"link\",attrs:{\"data-color\":\"gray\"},on:{\"click\":function($event){return _vm.resetSearch()}}},[_c('span',{staticClass:\"icon dw-icon-reset\",attrs:{\"data-color\":\"gray\",\"data-size\":\"16\"}}),_c('span',{staticClass:\"label\"},[_vm._v(\"Annulla filtri\")])])])],2)]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"OrderFilterBox\" })\r\nexport default class OrderFilterBox extends Vue {\r\n public orderStatuses: any[] = [];\r\n public orderSubTypes: any[] = [];\r\n public orderYears: any[] = [];\r\n\r\n public orderYear: string = null;\r\n public searchtext: string = null;\r\n public orderSubType: string = null;\r\n public orderStatus: string = null;\r\n\r\n @Prop() readonly isSearchVisible: boolean;\r\n\r\n get isOrderYearSelected(): boolean {\r\n return this.orderYear !== null;\r\n }\r\n\r\n get isSearchTextSelected(): boolean {\r\n return this.searchtext !== null;\r\n }\r\n\r\n get isOrderStatusSelected(): boolean {\r\n return this.orderStatus !== null;\r\n }\r\n\r\n get isOrderSubTypeSelected(): boolean {\r\n return this.orderSubType !== null;\r\n }\r\n\r\n public created() {\r\n this.getOrderYears();\r\n this.getOrderStatuses();\r\n this.getOrderSubTypes();\r\n }\r\n\r\n public async getOrderYears() {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrderYears\");\r\n\r\n if (response && response.status === 200) {\r\n this.orderYears = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.orderYears = [];\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n\r\n public async getOrderStatuses() {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrderStatuses\");\r\n\r\n if (response && response.status === 200) {\r\n this.orderStatuses = response.data;\r\n this.orderStatuses.unshift({ title: \"...\", value: null });\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.orderStatuses = [];\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n\r\n public async getOrderSubTypes() {\r\n try {\r\n let response = await this.$store.dispatch(\"orderStore/getOrderSubTypes\");\r\n\r\n if (response && response.status === 200) {\r\n this.orderSubTypes = response.data;\r\n this.orderSubTypes.unshift({ title: \"...\", value: null });\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.orderSubTypes = [];\r\n }\r\n } else if (error.response.status == 403) {\r\n let redirectUrl = \"/agenti/error/forbidden\";\r\n window.location.href = redirectUrl;\r\n }\r\n }\r\n }\r\n\r\n\r\n public searchSubmit() {\r\n let searchValues: any[] = [];\r\n\r\n searchValues.push({ name: \"OrderYear\", value: this.orderYear });\r\n searchValues.push({ name: \"Searchtext\", value: this.searchtext });\r\n searchValues.push({ name: \"OrderStatus\", value: this.orderStatus });\r\n searchValues.push({ name: \"OrderType\", value: \"Order\" });\r\n searchValues.push({ name: \"OrderSubType\", value: this.orderSubType });\r\n\r\n this.$emit(\"updateSearch\", searchValues);\r\n }\r\n\r\n public resetSearch() {\r\n this.orderYear = null;\r\n this.searchtext = null;\r\n this.orderStatus = null;\r\n this.orderSubType = null;\r\n\r\n this.$emit(\"resetSearch\");\r\n }\r\n};","import { render, staticRenderFns } from \"./OrderFilterBox.vue?vue&type=template&id=a352c432\"\nimport script from \"./OrderFilterBox?vue&type=script&lang=ts&external\"\nexport * from \"./OrderFilterBox?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"app-page\"},[(_vm.category && _vm.subCategory)?_c('div',{staticClass:\"page-header mrg\",attrs:{\"data-mrgb\":\"20\"}},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.subCategory.title)+\" \"+_vm._s(_vm.category.title.toLowerCase()))])]):_vm._e(),_vm._v(\" \"),(_vm.isLoading)?[_vm._m(0)]:[(_vm.productList && _vm.productList.length !== 0)?[_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},[_vm._m(1),_vm._v(\" \"),_vm._l((_vm.productList),function(product,index){return _c('div',{key:index,staticClass:\"item\"},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"},on:{\"click\":function($event){return _vm.productDetail(product.slug)}}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(product.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":product.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":product.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb15 main-info mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(_vm._s(product.title))]),_vm._v(\" \"),_c('div',[_vm._v(_vm._s(product.subTitle))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"60px\"},on:{\"click\":function($event){return _vm.productDetail(product.slug)}}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",on:{\"click\":function($event){return _vm.productDetail(product.slug)}}},[(_vm.productPlusList && _vm.productPlusList.length !== 0)?_c('div',{staticClass:\"item features\"},[_vm._l((_vm.productPlusList),function(productPlusItem,index){return [(_vm.setProductPlusVisible(product, productPlusItem))?[(productPlusItem.value !== 'WithoutBook')?[_c('span',{key:index,class:['icon', _vm.getProductPlusClassName(product, productPlusItem) ],attrs:{\"data-type\":_vm.getProductPlusValue(product, productPlusItem)}})]:[_c('span',{key:index,staticClass:\"icon\",attrs:{\"data-type\":\"senzalibro\"}},[_c('img',{attrs:{\"src\":\"/areas/agentarea/images/icon-senzalibro.svg\",\"width\":\"24\",\"height\":\"24\",\"alt\":\"senzaLIBRO\"}})])]]:_vm._e()]})],2):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"},on:{\"click\":function($event){return _vm.productDetail(product.slug)}}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"dida hden\"},[_vm._v(\"Autori\")]),_vm._v(\"\\n \"+_vm._s(product.authors)+\"\\n \")])])])})],2)])])]:[_c('div',{staticClass:\"no-item\"},[_vm._v(\"Non ci sono articoli disponibili\")])],_vm._v(\" \"),_c('router-view')]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"loader-box\",attrs:{\"data-relative\":\"\"}},[_c('div',{staticClass:\"loader\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Articolo\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"60px\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\"}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Autori\")])])])\n}]\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop, Watch } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"ProductList\" })\r\nexport default class ProductList extends Vue {\r\n public productList: [] = [];\r\n public isLoading: boolean = false;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n get category() {\r\n return this.$store.getters[\"catalogueStore/productCategory\"];\r\n }\r\n\r\n get subCategory() {\r\n return this.$store.getters[\"catalogueStore/productSubCategory\"];\r\n }\r\n\r\n get productPlusList() {\r\n return this.$store.getters[\"catalogueStore/productPlusList\"];\r\n }\r\n\r\n @Prop() readonly categorySlug: string;\r\n @Prop() readonly subCategorySlug: string;\r\n\r\n @Watch(\"$route\") public onUrlChange() {\r\n this.getProductList();\r\n }\r\n\r\n public created() {\r\n this.setUserContext();\r\n this.setCategory();\r\n this.setSubCategory();\r\n this.setProductPlusList();\r\n\r\n this.getProductList();\r\n\r\n this.removeDataOverflow();\r\n }\r\n\r\n public async setUserContext() {\r\n let response = await this.$store.dispatch(\"profileStore/getUserContext\");\r\n this.$store.commit(\"profileStore/setUserContext\", Object.freeze(response.data));\r\n }\r\n\r\n public async setCategory() {\r\n let response = await this.$store.dispatch(\"catalogueStore/getProductCategory\", {\r\n categorySlug: this.categorySlug\r\n });\r\n\r\n this.$store.commit(\"catalogueStore/setProductCategory\", Object.freeze(response.data));\r\n }\r\n\r\n public async setSubCategory() {\r\n let response = await this.$store.dispatch(\"catalogueStore/getProductSubCategory\", {\r\n categorySlug: this.categorySlug,\r\n subCategorySlug: this.subCategorySlug\r\n });\r\n\r\n this.$store.commit(\"catalogueStore/setProductSubCategory\", Object.freeze(response.data));\r\n }\r\n\r\n public async setProductPlusList() {\r\n let response = await this.$store.dispatch(\"catalogueStore/getProductPlusList\");\r\n this.$store.commit(\"catalogueStore/setProductPlusList\", Object.freeze(response.data));\r\n }\r\n\r\n public async getProductList() {\r\n this.isLoading = true;\r\n try {\r\n let response = await this.$store.dispatch(\"catalogueStore/getProductList\", {\r\n categorySlug: this.categorySlug,\r\n subCategorySlug: this.subCategorySlug\r\n });\r\n if (response && response.status === 200) {\r\n this.productList = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.productList = [];\r\n }\r\n }\r\n }\r\n\r\n this.isLoading = false;\r\n }\r\n\r\n public setProductPlusVisible(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value);\r\n\r\n return isIncludes;\r\n }\r\n\r\n public getProductPlusValue(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value),\r\n dataTypeValue: string = \"\";\r\n\r\n if (isIncludes) {\r\n switch (productPlusItem.value) {\r\n case \"Print\":\r\n dataTypeValue = \"book\";\r\n break;\r\n case \"eBook\":\r\n dataTypeValue = \"ebook\";\r\n break;\r\n case \"Multimedia\":\r\n dataTypeValue = \"multimedia\";\r\n break;\r\n case \"AA\":\r\n dataTypeValue = \"accessibility\";\r\n break;\r\n case \"QrCode\":\r\n dataTypeValue = \"qrcode\";\r\n break;\r\n }\r\n }\r\n\r\n return isIncludes === true ? dataTypeValue : \"\";\r\n }\r\n\r\n public getProductPlusClassName(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value),\r\n className: string = \"\";\r\n\r\n if (isIncludes) {\r\n switch (productPlusItem.value) {\r\n case \"Print\":\r\n className = \"fastic-book\";\r\n break;\r\n case \"eBook\":\r\n className = \"fastic-ebook\";\r\n break;\r\n case \"Multimedia\":\r\n className = \"fastic-multimedia\";\r\n break;\r\n case \"AA\":\r\n className = \"fastic-accessibility\";\r\n break;\r\n case \"QrCode\":\r\n className = \"fastic-qrcode\";\r\n break;\r\n }\r\n }\r\n\r\n return className;\r\n }\r\n\r\n public removeDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (body.hasAttribute(\"data-overflow\")) {\r\n body.removeAttribute(\"data-overflow\");\r\n }\r\n }\r\n\r\n public productDetail(productSlug: string) {\r\n this.$router.push({ name: \"ProductDetail\", params: { categorySlug: this.categorySlug, subCategorySlug: this.subCategorySlug, productSlug: productSlug } });\r\n }\r\n};","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=3f2fce64\"\nimport script from \"./ProductList?vue&type=script&lang=ts&external\"\nexport * from \"./ProductList?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"layer\",attrs:{\"data-layer\":\"01\",\"data-show\":_vm.isDetailShow}},[_c('div',{staticClass:\"wrap-tap\",on:{\"click\":function($event){return _vm.productList()}}}),_vm._v(\" \"),(_vm.product)?_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"close\",on:{\"click\":function($event){return _vm.productList()}}},[_c('span',{staticClass:\"icon fastic-close\"})]),_vm._v(\" \"),_c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"subject mrg\",attrs:{\"data-mrgb\":\"10\"}},[_vm._v(\"\\n \"+_vm._s(_vm.subCategory.title)+\" \"+_vm._s(_vm.category.title.toLowerCase())+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(_vm._s(_vm.product.title))]),_vm._v(\" \"),_c('div',{staticClass:\"abstract mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(_vm._s(_vm.product.subTitle))])]),_vm._v(\" \"),_c('div',{staticClass:\"product-detail\"},[_c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"auth\"},[_vm._v(\"di \"+_vm._s(_vm.product.authors))]),_vm._v(\" \"),_c('div',{staticClass:\"feedback\",on:{\"click\":function($event){return _vm.productFeedback()}}},[_c('span',{staticClass:\"icon fastic-send\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Invia feedback\")])])]),_vm._v(\" \"),_c('div',{staticClass:\"content\"},[_c('div',{class:[{ show: _vm.isDescriptionShow }, 'detail', 'editor', 'cf']},[_c('div',{staticClass:\"box-image\"},[_c('div',{staticClass:\"content\"},[(_vm.product.imageUrl)?[_c('picture',[_c('source',{attrs:{\"media\":\"(max-width:749px)\",\"srcset\":_vm.product.bigImageUrl}}),_vm._v(\" \"),_c('img',{staticClass:\"image\",attrs:{\"src\":_vm.product.imageUrl,\"width\":\"537\",\"height\":\"688\",\"alt\":_vm.product.title}})])]:_vm._e()],2),_vm._v(\" \"),(_vm.product.masterPreviewUrl)?[_c('div',{staticClass:\"action\"},[_c('div',{staticClass:\"cta\"},[_c('a',{staticClass:\"button\",attrs:{\"href\":_vm.product.masterPreviewUrl,\"data-size\":\"small\",\"target\":\"_blank\"}},[_vm._v(\"Sfoglia l'anteprima del libro\")])])])]:_vm._e()],2),_vm._v(\" \"),(_vm.productPlusList && _vm.productPlusList.length !== 0)?_c('div',{staticClass:\"features mrg\",attrs:{\"data-mrgb\":\"30\"}},[_vm._l((_vm.productPlusList),function(productPlusItem,index){return [(_vm.setProductPlusVisible(_vm.product, productPlusItem))?[(productPlusItem.value !== 'WithoutBook')?[_c('div',{key:index,staticClass:\"item\",attrs:{\"data-type\":_vm.getProductPlusValue(_vm.product, productPlusItem)}},[_c('span',{class:['icon',_vm.getProductPlusClassName(_vm.product, productPlusItem),]}),_vm._v(\" \"),_c('span',{staticClass:\"label\",domProps:{\"innerHTML\":_vm._s(_vm.setProductPlusText(_vm.product, productPlusItem))}})])]:[_c('div',{key:index,staticClass:\"item\",attrs:{\"data-type\":\"senzalibro\"}},[_vm._m(0,true),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"senzaLIBRO\")])])]]:_vm._e()]})],2):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"description\",domProps:{\"innerHTML\":_vm._s(_vm.product.description)}}),_vm._v(\" \"),(_vm.isDescriptionButtonShow)?[_c('div',{staticClass:\"overlay\"},[_c('div',{staticClass:\"button-show\",on:{\"click\":function($event){return _vm.setIsDescriptionShow()}}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Continua a leggere\")]),_vm._v(\" \"),_c('span',{staticClass:\"icon fastic-curved-arrow-up\"})])])]:_vm._e(),_vm._v(\" \"),(_vm.agentDocuments && _vm.agentDocuments.length !== 0)?_c('div',{staticClass:\"product-document\"},[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"10\"}},[_vm._v(\"Documenti\")]),_vm._v(\" \"),_c('div',{staticClass:\"list-item\"},_vm._l((_vm.agentDocuments),function(agentDocument,index){return _c('a',{key:index,staticClass:\"item\",attrs:{\"href\":agentDocument.documentUrl}},[_c('span',{staticClass:\"icon fastic-next\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(agentDocument.title))])])}),0)]):_vm._e(),_vm._v(\" \"),(_vm.relatedNews && _vm.relatedNews.length !== 0)?_c('div',{staticClass:\"related-news\"},[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"30\"}},[_vm._v(\"Notizie correlate\")]),_vm._v(\" \"),_c('div',{staticClass:\"list-item\"},_vm._l((_vm.relatedNews),function(newsItem,index){return _c('a',{key:index,staticClass:\"item\",attrs:{\"href\":newsItem.detailUrl,\"data-type\":\"first\"}},[_c('span',{staticClass:\"image\"},[_c('span',{staticClass:\"content\"},[(newsItem.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":newsItem.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":newsItem.title}})]],2)]),_vm._v(\" \"),_c('span',{staticClass:\"text\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(newsItem.title))]),_vm._v(\" \"),_c('span',{staticClass:\"desc\"},[_vm._v(_vm._s(newsItem.abstract.substring(0, 80)))])])])}),0)]):_vm._e()],2)]),_vm._v(\" \"),(_vm.relatedProducts && _vm.relatedProducts.length !== 0)?[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"related\"},[(_vm.paperRelatedProducts && _vm.paperRelatedProducts.length !== 0)?[_c('div',{staticClass:\"list\",attrs:{\"data-type\":\"book\"}},[_vm._m(2),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-related\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.paperRelatedProducts),function(paperRelatedProduct,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(paperRelatedProduct.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":paperRelatedProduct.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":paperRelatedProduct.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n ISBN \"+_vm._s(paperRelatedProduct.isbn)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"cm14 mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n \"+_vm._s(paperRelatedProduct.title)+\"\\n \")]),_vm._v(\" \"),_c('div',[_vm._v(_vm._s(paperRelatedProduct.subTitle))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Edizione\")]),_vm._v(\"\\n \"+_vm._s(paperRelatedProduct.editionYear)+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[(paperRelatedProduct.isRecallYear1)?[_vm._m(3,true)]:(paperRelatedProduct.isRecallYear2)?[_vm._m(4,true)]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\",\"data-align\":\"center\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_vm._v(\"\\n \"+_vm._s(_vm.formatPrice(paperRelatedProduct.price))+\" €\\n \")])])])}),0)])])])]:_vm._e(),_vm._v(\" \"),(_vm.teacherResourcesRelatedProducts && _vm.teacherResourcesRelatedProducts.length !== 0)?[_c('div',{staticClass:\"list\",attrs:{\"data-type\":\"teacher\"}},[_vm._m(5),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-related\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.teacherResourcesRelatedProducts),function(teacherResourcesRelatedProduct,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(teacherResourcesRelatedProduct.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":teacherResourcesRelatedProduct.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":teacherResourcesRelatedProduct.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n ISBN \"+_vm._s(teacherResourcesRelatedProduct.isbn)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"cm14 mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n \"+_vm._s(teacherResourcesRelatedProduct.title)+\"\\n \")]),_vm._v(\" \"),_c('div',[_vm._v(\"\\n \"+_vm._s(teacherResourcesRelatedProduct.subTitle)+\"\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Edizione\")]),_vm._v(\"\\n \"+_vm._s(teacherResourcesRelatedProduct.editionYear)+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[(teacherResourcesRelatedProduct.isRecallYear1)?[_vm._m(6,true)]:(teacherResourcesRelatedProduct.isRecallYear2)?[_vm._m(7,true)]:_vm._e()],2),_vm._v(\" \"),_vm._m(8,true),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_vm._v(\" \"+_vm._s(_vm.formatPrice(teacherResourcesRelatedProduct.price))+\" € \")])])])}),0)])])])]:_vm._e(),_vm._v(\" \"),(_vm.ebookRelatedProducts && _vm.ebookRelatedProducts.length !== 0)?[_c('div',{staticClass:\"list\",attrs:{\"data-type\":\"ebook\"}},[_vm._m(9),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-related\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.ebookRelatedProducts),function(ebookRelatedProduct,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(ebookRelatedProduct.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":ebookRelatedProduct.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":ebookRelatedProduct.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n ISBN \"+_vm._s(ebookRelatedProduct.isbn)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"cm14 mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n \"+_vm._s(ebookRelatedProduct.title)+\"\\n \")]),_vm._v(\" \"),_c('div',[_vm._v(_vm._s(ebookRelatedProduct.subTitle))])])]),_vm._v(\" \"),_vm._m(10,true),_vm._v(\" \"),_vm._m(11,true),_vm._v(\" \"),_vm._m(12,true),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_vm._v(\"\\n \"+_vm._s(_vm.formatPrice(ebookRelatedProduct.price))+\" €\\n \")])])])}),0)])])])]:_vm._e(),_vm._v(\" \"),(_vm.multimediaRelatedProducts && _vm.multimediaRelatedProducts.length !== 0)?[_c('div',{staticClass:\"list\",attrs:{\"data-type\":\"multimedia\"}},[_vm._m(13),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"product\",\"data-related\":\"\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},_vm._l((_vm.multimediaRelatedProducts),function(multimediaRelatedProduct,index){return _c('div',{key:index,staticClass:\"item\",attrs:{\"data-hover\":\"false\"}},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"40%\"}},[_c('div',{staticClass:\"item box-image\"},[_c('div',{staticClass:\"content\"},[(multimediaRelatedProduct.imageUrl)?[_c('img',{staticClass:\"img\",attrs:{\"src\":multimediaRelatedProduct.imageUrl}})]:[_c('img',{staticClass:\"empty\",attrs:{\"src\":\"/areas/agentarea/images/camera.svg\",\"width\":\"95\",\"height\":\"75\",\"alt\":multimediaRelatedProduct.title}})]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"item desc\"},[_c('div',{staticClass:\"sb mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n ISBN \"+_vm._s(multimediaRelatedProduct.isbn)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"cm14 mrg\",attrs:{\"data-mrgb\":\"5\"}},[_vm._v(\"\\n \"+_vm._s(multimediaRelatedProduct.title)+\"\\n \")]),_vm._v(\" \"),_c('div',[_vm._v(_vm._s(multimediaRelatedProduct.subTitle))])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Edizione\")]),_vm._v(\"\\n \"+_vm._s(multimediaRelatedProduct.editionYear)+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[(multimediaRelatedProduct.isRecallYear1)?[_vm._m(14,true)]:(multimediaRelatedProduct.isRecallYear2)?[_vm._m(15,true)]:_vm._e()],2),_vm._v(\" \"),_vm._m(16,true),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\",\"data-align\":\"right\"}},[_c('div',{staticClass:\"item price\"},[_vm._v(\" \"+_vm._s(_vm.formatPrice(multimediaRelatedProduct.price))+\" € \")])])])}),0)])])])]:_vm._e()],2)]:_vm._e()],2),_vm._v(\" \"),_c('router-view')],1):_vm._e()])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',{staticClass:\"icon\"},[_c('img',{attrs:{\"src\":\"/images/icon-senzalibro.svg\",\"width\":\"24\",\"height\":\"24\",\"alt\":\"senzaLIBRO\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"page-header mrg\",attrs:{\"data-mrgt\":\"40\",\"data-mrgb\":\"20\",\"data-type\":\"page\"}},[_c('div',{staticClass:\"title txt-align-c\"},[_vm._v(\"Configurazioni di vendita\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"title\"},[_c('span',{staticClass:\"icon fastic-book\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Stampa\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 1\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 2\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"title\"},[_c('span',{staticClass:\"icon fastic-hat\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Risorse per l'insegnante\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 1\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 2\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"title\"},[_c('span',{staticClass:\"icon fastic-ebook\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"eBook\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"8%\"}},[_c('div',{staticClass:\"item\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"title\"},[_c('span',{staticClass:\"icon fastic-multimedia\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Multimediale\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 1\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"item\"},[_c('span',{staticClass:\"label\"},[_vm._v(\"Anno di richiamo\")]),_vm._v(\" 2\\n \")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"row\",attrs:{\"data-size\":\"5%\",\"data-align\":\"center\"}},[_c('div',{staticClass:\"item\"})])\n}]\n\nexport { render, staticRenderFns }","import DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Watch, Prop } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"ProductDetail\" })\r\nexport default class ProductDetail extends Vue {\r\n public product: any = null;\r\n public descriptionLengthLimit: number = 3000;\r\n public isDescriptionShow: boolean = false;\r\n public isDescriptionButtonShow: boolean = false;\r\n public relatedProducts: [] = [];\r\n public agentDocuments: [] = [];\r\n public relatedNews: [] = [];\r\n public paperRelatedProducts: [] = [];\r\n public ebookRelatedProducts: [] = [];\r\n public multimediaRelatedProducts: [] = [];\r\n public teacherResourcesRelatedProducts: [] = [];\r\n public isDetailShow: boolean = false;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n get category() {\r\n return this.$store.getters[\"catalogueStore/productCategory\"];\r\n }\r\n\r\n get subCategory() {\r\n return this.$store.getters[\"catalogueStore/productSubCategory\"];\r\n }\r\n\r\n get productPlusList() {\r\n return this.$store.getters[\"catalogueStore/productPlusList\"];\r\n }\r\n\r\n @Watch(\"$route\") public async onUrlChange() {\r\n await this.getProduct();\r\n this.getProductRelatedNews();\r\n this.getRelatedProducts();\r\n this.setIsDescriptionButtonShow();\r\n }\r\n\r\n @Prop() categorySlug: string;\r\n\r\n @Prop() subCategorySlug: string;\r\n\r\n @Prop() productSlug: string;\r\n\r\n public async created() {\r\n this.setDataOverflow();\r\n await this.getProduct();\r\n this.getProductRelatedNews();\r\n this.getAgentDocuments();\r\n this.getRelatedProducts();\r\n this.setIsDescriptionButtonShow();\r\n }\r\n\r\n public mounted() {\r\n this.isDetailShow = true;\r\n }\r\n\r\n public async getProduct() {\r\n try {\r\n let response = await this.$store.dispatch(\"catalogueStore/getProduct\", {\r\n categorySlug: this.categorySlug,\r\n subCategorySlug: this.subCategorySlug,\r\n productSlug: this.productSlug\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.product = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response.status === 404) {\r\n let redirectUrl = \"/agenti/error/not-found\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status === 400) {\r\n this.product = null;\r\n }\r\n }\r\n }\r\n\r\n public async getProductRelatedNews() {\r\n try {\r\n let response = await this.$store.dispatch(\"catalogueStore/getProductRelatedNews\", {\r\n productSlug: this.productSlug\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.relatedNews = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.relatedNews = [];\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async getAgentDocuments() {\r\n try {\r\n let response = await this.$store.dispatch(\"catalogueStore/getAgentDocuments\", {\r\n productSlug: this.productSlug\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.agentDocuments = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.agentDocuments = [];\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async getRelatedProducts() {\r\n try {\r\n let response = await this.$store.dispatch(\"catalogueStore/getRelatedProducts\", {\r\n productSlug: this.productSlug\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.relatedProducts = response.data;\r\n let self = this;\r\n\r\n for (let item of this.relatedProducts) {\r\n let relatedProduct: any = item;\r\n if (relatedProduct.media.includes(\"Paper\")) {\r\n self.paperRelatedProducts.push(item);\r\n }\r\n\r\n if (relatedProduct.media.includes(\"Ebook\")) {\r\n self.ebookRelatedProducts.push(item);\r\n }\r\n\r\n if (relatedProduct.media.includes(\"Multimedia\")) {\r\n self.multimediaRelatedProducts.push(item);\r\n }\r\n\r\n if (relatedProduct.media.includes(\"TeacherResources\")) {\r\n self.teacherResourcesRelatedProducts.push(item);\r\n }\r\n }\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.relatedProducts = [];\r\n this.paperRelatedProducts = [];\r\n this.ebookRelatedProducts = [];\r\n this.multimediaRelatedProducts = [];\r\n this.teacherResourcesRelatedProducts = [];\r\n }\r\n }\r\n }\r\n }\r\n\r\n public setIsDescriptionButtonShow() {\r\n if (this.product && this.product.descriptionLength) {\r\n let descriptionLength: number = this.product.descriptionLength;\r\n\r\n this.isDescriptionButtonShow = descriptionLength > this.descriptionLengthLimit;\r\n }\r\n }\r\n\r\n public setIsDescriptionShow() {\r\n this.isDescriptionShow = !this.isDescriptionShow;\r\n }\r\n\r\n public setProductPlusVisible(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value);\r\n\r\n return isIncludes;\r\n }\r\n\r\n public getProductPlusValue(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value),\r\n dataTypeValue: string = \"\";\r\n\r\n if (isIncludes) {\r\n switch (productPlusItem.value) {\r\n case \"Print\":\r\n dataTypeValue = \"book\";\r\n break;\r\n case \"eBook\":\r\n dataTypeValue = \"ebook\";\r\n break;\r\n case \"Multimedia\":\r\n dataTypeValue = \"multimedia\";\r\n break;\r\n case \"AA\":\r\n dataTypeValue = \"accessibility\";\r\n break;\r\n case \"QrCode\":\r\n dataTypeValue = \"qrcode\";\r\n break;\r\n }\r\n }\r\n\r\n return isIncludes === true ? dataTypeValue : \"\";\r\n }\r\n\r\n public getProductPlusClassName(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value),\r\n className: string = \"\";\r\n\r\n if (isIncludes) {\r\n switch (productPlusItem.value) {\r\n case \"Print\":\r\n className = \"fastic-book\";\r\n break;\r\n case \"eBook\":\r\n className = \"fastic-ebook\";\r\n break;\r\n case \"Multimedia\":\r\n className = \"fastic-multimedia\";\r\n break;\r\n case \"AA\":\r\n className = \"fastic-accessibility\";\r\n break;\r\n case \"QrCode\":\r\n className = \"fastic-qrcode\";\r\n break;\r\n }\r\n }\r\n\r\n return className;\r\n }\r\n\r\n public setProductPlusText(productItem, productPlusItem) {\r\n let isIncludes: boolean = productItem.plus.includes(productPlusItem.value),\r\n text: string = \"\";\r\n\r\n if (isIncludes) {\r\n switch (productPlusItem.value) {\r\n case \"Print\":\r\n text = \"Stampa\";\r\n break\r\n case \"eBook\":\r\n text = \"eBook\";\r\n break\r\n case \"Multimedia\":\r\n text = \"Multimediale\";\r\n break\r\n case \"AA\":\r\n text = \"Alta accessibilità\";\r\n break\r\n case \"QrCode\":\r\n text = \"QR code\";\r\n break\r\n }\r\n }\r\n\r\n return text;\r\n }\r\n\r\n public productList() {\r\n this.isDetailShow = false;\r\n this.removeDataOverflow();\r\n this.$router.push({ name: \"ProductList\", params: { categorySlug: this.categorySlug, subCategorySlug: this.subCategorySlug } });\r\n }\r\n\r\n public async productFeedback() {\r\n this.$router.push({ name: \"ProductFeedback\", params: { categorySlug: this.categorySlug, subCategorySlug: this.subCategorySlug, productSlug: this.productSlug } });\r\n }\r\n\r\n public setDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (!body.hasAttribute(\"data-overflow\")) {\r\n body.setAttribute(\"data-overflow\", \"\");\r\n }\r\n }\r\n\r\n public removeDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (body.hasAttribute(\"data-overflow\")) {\r\n body.removeAttribute(\"data-overflow\");\r\n }\r\n }\r\n\r\n public formatPrice(data) {\r\n return DataLegacyHelper.convertDecimalToString(data);\r\n }\r\n};","import { render, staticRenderFns } from \"./ProductDetail.vue?vue&type=template&id=16564af2\"\nimport script from \"./ProductDetail?vue&type=script&lang=ts&external\"\nexport * from \"./ProductDetail?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"layer\",attrs:{\"data-layer\":\"02\",\"data-show\":_vm.isFeedbackShow}},[_c('div',{staticClass:\"wrap-tap\",on:{\"click\":function($event){return _vm.productDetail()}}}),_vm._v(\" \"),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"close\",on:{\"click\":function($event){return _vm.productDetail()}}},[_c('span',{staticClass:\"icon fastic-close\"})]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"box mrg\",attrs:{\"data-mrgt\":\"20\"}},[(!_vm.isSuccess)?[_c('div',{staticClass:\"form\"},[(_vm.product)?_c('div',{staticClass:\"item row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Invia il tuo feedback sull'articolo \"+_vm._s(_vm.product.Title)+\" descrivendo il problema riscontrato\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.message),expression:\"message\",modifiers:{\"lazy\":true}}],staticClass:\"textarea\",attrs:{\"name\":\"Message\"},domProps:{\"value\":(_vm.message)},on:{\"change\":function($event){_vm.message=$event.target.value}}})])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"cta mrg\",attrs:{\"data-mrgt\":\"30\"}},[_c('button',{staticClass:\"button\",attrs:{\"data-size\":\"big\",\"data-width\":\"auto\"},on:{\"click\":function($event){return _vm.setProductFeedbackSubmit()}}},[_vm._v(\"Invia feedback\")])]),_vm._v(\" \"),(_vm.validationErrors.length !== 0)?_c('div',{staticClass:\"validation-summary-errors\"},[_c('ul',_vm._l((_vm.validationErrors),function(validationError,index){return _c('li',{key:index},[_vm._v(_vm._s(validationError.message))])}),0)]):_vm._e()])]:[_c('div',{staticClass:\"success-message\"},[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"10\"}},[_vm._v(\"Grazie del tuo feedback\")]),_vm._v(\" \"),_c('div',{staticClass:\"abstract mrg\",attrs:{\"data-mrgb\":\"30\"}},[_vm._v(\"La tua segnalazione ci aiuta a creare libri di testo di alta qualità\")]),_vm._v(\" \"),_c('div',{staticClass:\"cta\"},[_c('div',{staticClass:\"button\",on:{\"click\":function($event){return _vm.productDetail()}}},[_vm._v(\"\\n Torna al prodotto\\n \")])])])]],2)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Feedback\")])])\n}]\n\nexport { render, staticRenderFns }","import FormLegacyHelper from \"@Scripts/Infrastructure/FormLegacyHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\n\r\nimport { Prop } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"ProductFeedback\" })\r\nexport default class ProductFeedback extends Vue {\r\n public product: {} = null;\r\n public isSuccess: boolean = false;\r\n public isFeedbackShow: boolean = false;\r\n public message: string = null;\r\n public validationErrors: any[] = [];\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n @Prop() categorySlug: string;\r\n\r\n @Prop() subCategorySlug: string;\r\n\r\n @Prop() productSlug: string;\r\n\r\n public created() {\r\n this.setDataOverflow();\r\n this.getProduct();\r\n }\r\n\r\n public mounted() {\r\n this.isFeedbackShow = true;\r\n }\r\n\r\n public async getProduct() {\r\n let response = await this.$store.dispatch(\"catalogueStore/getProduct\", {\r\n categorySlug: this.categorySlug,\r\n subCategorySlug: this.subCategorySlug,\r\n productSlug: this.productSlug\r\n });\r\n\r\n if (response.data) {\r\n this.product = response.data;\r\n } else {\r\n this.product = null;\r\n }\r\n }\r\n\r\n public async setProductFeedbackSubmit() {\r\n this.validationErrors = [];\r\n FormLegacyHelper.resetValidation();\r\n\r\n try {\r\n let response = await this.$store.dispatch(\"catalogueStore/productFeedbackSubmit\", {\r\n productSlug: this.productSlug,\r\n message: this.message\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.isSuccess = true;\r\n }\r\n } catch (error) {\r\n FormLegacyHelper.resetValidation();\r\n\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n let validationState = error.response.data;\r\n FormLegacyHelper.setValidation(validationState);\r\n\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.validationErrors.push({ message: message });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public productDetail() {\r\n this.isFeedbackShow = false;\r\n this.$router.push({ name: \"ProductDetail\", params: { categorySlug: this.categorySlug, subCategorySlug: this.subCategorySlug } });\r\n }\r\n\r\n public setDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (!body.hasAttribute(\"data-overflow\")) {\r\n body.setAttribute(\"data-overflow\", \"\");\r\n }\r\n }\r\n};","import { render, staticRenderFns } from \"./ProductFeedback.vue?vue&type=template&id=e1a52182\"\nimport script from \"./ProductFeedback?vue&type=script&lang=ts&external\"\nexport * from \"./ProductFeedback?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"app-page\"},[_c('div',{staticClass:\"page-header mrg\",attrs:{\"data-mrgb\":\"20\"}},[_c('div',{staticClass:\"title\"},[_vm._v(\"Insegnanti\")]),_vm._v(\" \"),_c('div',{staticClass:\"tools\"},[_c('span',{staticClass:\"item\",on:{\"click\":function($event){return _vm.setSearchVisible()}}},[_vm._m(0)])])]),_vm._v(\" \"),(_vm.isLoading)?[_vm._m(1)]:[(_vm.teacherList && _vm.teacherList.length !== 0)?[(_vm.isSearchVisible)?_c('div',{staticClass:\"filters\",on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.setSearch(1)}}},[_c('div',{staticClass:\"list-item form\"},[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Ambito\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.subjectScope),expression:\"subjectScope\"}],class:[{ selected: _vm.subjectScope!==null }, 'dropdown'],attrs:{\"name\":\"SubjectScope\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.subjectScope=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{domProps:{\"value\":null}},[_vm._v(\"...\")]),_vm._v(\" \"),_vm._l((_vm.subjectScopes),function(item,index){return _c('option',{key:index,domProps:{\"value\":item.value}},[_vm._v(\"\\n \"+_vm._s(item.title)+\"\\n \")])})],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Nome istituto\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchtext),expression:\"searchtext\"}],class:[{ selected: _vm.searchtext!==null }, 'textbox'],attrs:{\"type\":\"text\",\"name\":\"Searchtext\"},domProps:{\"value\":(_vm.searchtext)},on:{\"input\":function($event){if($event.target.composing)return;_vm.searchtext=$event.target.value}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Stato\")]),_vm._v(\" \"),_c('div',{staticClass:\"control\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.approvalStatus),expression:\"approvalStatus\"}],class:[{ selected: _vm.approvalStatus!==null }, 'dropdown'],attrs:{\"name\":\"ApprovalStatus\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.approvalStatus=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{domProps:{\"value\":null}},[_vm._v(\"...\")]),_vm._v(\" \"),_vm._l((_vm.approvalStatues),function(item,index){return _c('option',{key:index,domProps:{\"value\":item.value}},[_vm._v(\"\\n \"+_vm._s(item.title)+\"\\n \")])})],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"item cta\"},[_c('div',{staticClass:\"button\",on:{\"click\":function($event){return _vm.setSearch(1)}}},[_vm._v(\"Cerca\")])]),_vm._v(\" \"),_c('div',{staticClass:\"item reset\"},[_c('div',{staticClass:\"link\",attrs:{\"data-color\":\"gray\"},on:{\"click\":function($event){return _vm.resetSearch()}}},[_c('span',{staticClass:\"icon dw-icon-reset\",attrs:{\"data-color\":\"gray\",\"data-size\":\"16\"}}),_c('span',{staticClass:\"label\"},[_vm._v(\"Annulla filtri\")])])])])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"elements-list\",attrs:{\"data-type\":\"data\"}},[_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"structure\"},[_vm._m(2),_vm._v(\" \"),_vm._l((_vm.teacherList),function(teacher,index){return _c('div',{key:index,staticClass:\"item\"},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"15%\"},on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(teacher.name)+\" \"+_vm._s(teacher.surname))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"15%\"},on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(teacher.subjectScopeTitle))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\"},on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(teacher.productCategoryTitle))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"60px\"}},[_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu\",rawName:\"v-expanding-menu\"}],staticClass:\"ac-menu\"},[_vm._m(3,true),_vm._v(\" \"),_c('div',{staticClass:\"list ac-list\"},[_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu-link\",rawName:\"v-expanding-menu-link\"}],staticClass:\"button\",on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_vm._v(\"Visualizza\")])]),_vm._v(\" \"),(teacher.approvalStatus && teacher.approvalStatus == 'Pending')?[_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu-link\",rawName:\"v-expanding-menu-link\"}],staticClass:\"button\",on:{\"click\":function($event){return _vm.setTeacherConfirmed(teacher.idMaster)}}},[_vm._v(\"Conferma\")])]),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{directives:[{name:\"expanding-menu-link\",rawName:\"v-expanding-menu-link\"}],staticClass:\"button\",on:{\"click\":function($event){return _vm.setTeacherRejected(teacher.idMaster)}}},[_vm._v(\"Rifiuta\")])])]:_vm._e()],2)])])]),_vm._v(\" \"),(teacher.approvalStatus)?[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\"},on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_c('div',{staticClass:\"item status\"},[(teacher.approvalStatus == 'Pending')?[_c('span',{staticClass:\"icon fastic-clock\",attrs:{\"data-color\":\"yellow\"}}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"In sospeso\")])]:(teacher.approvalStatus == 'Confirmed')?[_c('span',{staticClass:\"icon fastic-double-check\",attrs:{\"data-color\":\"blueest\"}}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Confermato\")])]:(teacher.approvalStatus == 'Rejected')?[_c('span',{staticClass:\"icon fastic-close\",attrs:{\"data-color\":\"red\"}}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Rifiutato\")])]:_vm._e()],2)])]:_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"200px\"}},[(teacher.approvalStatus && teacher.approvalStatus == 'Pending')?[_c('div',{staticClass:\"item buttons\"},[_c('div',{staticClass:\"button\",on:{\"click\":function($event){return _vm.setTeacherConfirmed(teacher.idMaster)}}},[_vm._v(\"Conferma richiesta\")])])]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"row\",on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(teacher.instituteProvince))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(teacher.instituteLocation))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(teacher.instituteName))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",on:{\"click\":function($event){return _vm.teacherDetail(teacher.idMaster)}}},[_c('div',{staticClass:\"item\"},[_vm._v(_vm._s(teacher.activationRequestDate))])])],2)})],2)])]),_vm._v(\" \"),(_vm.pageCount > 1)?_c('div',{staticClass:\"pagination-news\"},[(_vm.pageIndex > 1)?_c('a',{staticClass:\"button\",on:{\"click\":function($event){return _vm.goToPrevPage()}}},[_vm._v(_vm._s(_vm.localizer.get(\"App.Pagination.Prev\")))]):_vm._e(),_vm._v(\" \"),(_vm.paginatorIndex >= 1)?_c('a',{staticClass:\"button dots\",on:{\"click\":function($event){return _vm.goToPageSelector('less')}}},[_vm._v(\"...\")]):_vm._e(),_vm._v(\" \"),(_vm.footerPages.length !== 0)?_c('div',{staticClass:\"pages\"},_vm._l((_vm.footerPages),function(page,index){return _c('a',{key:'page_'+index,class:[{ 'selected': _vm.pageIndex-1===page }, 'button'],on:{\"click\":function($event){return _vm.goToPage(page+1)}}},[_vm._v(_vm._s(page + 1))])}),0):_vm._e(),_vm._v(\" \"),(_vm.paginatorCount>=1 && (_vm.paginatorIndex+1)!==_vm.paginatorCount)?_c('a',{staticClass:\"button dots\",on:{\"click\":function($event){return _vm.goToPageSelector('plus')}}},[_vm._v(\"...\")]):_vm._e(),_vm._v(\" \"),(_vm.pageIndex!==_vm.pageCount)?_c('a',{staticClass:\"button\",on:{\"click\":function($event){return _vm.goToNextPage()}}},[_vm._v(_vm._s(_vm.localizer.get(\"App.Pagination.Next\")))]):_vm._e()]):_vm._e(),_vm._v(\" \"),_c('router-view')]:[_c('div',{staticClass:\"no-item\"},[_vm._v(\"Non ci sono richieste in sospeso\")])]]],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',{staticClass:\"tool\"},[_c('span',{staticClass:\"icon fastic-filter\"}),_vm._v(\" \"),_c('span',{staticClass:\"label\"},[_vm._v(\"Filtri\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"loader-box\",attrs:{\"data-relative\":\"\"}},[_c('div',{staticClass:\"loader\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"15%\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Nome e Cognome\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"15%\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Ambito\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\"}},[_c('div',{staticClass:\"label\"},[_vm._v(\"Categoria\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"60px\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"10%\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\",attrs:{\"data-size\":\"180px\"}}),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Provincia istituto\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Località istituto\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Nome istituto\")])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Data invio richiesta attivazione\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"button ac-button\"},[_c('span',{staticClass:\"icon fastic-ac\"})])\n}]\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Watch } from \"vue-property-decorator\";\r\nimport Axios from \"axios\";\r\nimport DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport FormHelper from \"@Scripts/Common/FormHelper\";\r\nimport Localizer from \"@Scripts/Common/Localizer\";\r\n\r\n@Component({ name: \"TeacherList\" })\r\nexport default class TeacherList extends Vue {\r\n public localizer: any = Localizer;\r\n public teacherList: any[] = [];\r\n public isLoading: boolean = true;\r\n public pageIndex: number = 1;\r\n public pageCount: number = 0;\r\n public footerPages: any[] = [];\r\n public paginatorCount: number = 0;\r\n public paginatorIndex: number = 0;\r\n public subjectScopes: any[] = [];\r\n public approvalStatues: any[] = [];\r\n public subjectScope: string = null;\r\n public approvalStatus: string = null;\r\n public searchtext: string = null;\r\n public isSearchVisible: boolean = false;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n @Watch(\"$route\") public async onUrlChange() {\r\n await this.getTeacherList();\r\n this.setPagination();\r\n }\r\n\r\n public async created() {\r\n await Promise.all([this.setUserContext(), this.getTeacherFilterData(), this.getTeacherList()]);\r\n\r\n this.setPagination();\r\n }\r\n\r\n private setPagination() {\r\n this.paginatorCount = Math.ceil(this.pageCount / 4);\r\n this.paginatorIndex = Math.trunc((this.pageIndex - 1) / 4);\r\n\r\n this.footerPages = [...Array(this.pageCount).keys()].slice(this.paginatorIndex * 4, (this.paginatorIndex + 1) * 4);\r\n }\r\n\r\n public async setUserContext() {\r\n let response = await this.$store.dispatch(\"profileStore/getUserContext\");\r\n this.$store.commit(\"profileStore/setUserContext\", Object.freeze(response.data));\r\n }\r\n\r\n public async getTeacherFilterData() {\r\n const response = (await Axios.post(this.routes.AgentArea_Api_Teacher_GetTeacherFilterData, null, { headers: { \"RequestVerificationToken\": FormHelper.getRequestVerificationToken() } })).data;\r\n this.subjectScopes = response.subjectScopes;\r\n this.approvalStatues = response.approvalStatues;\r\n }\r\n\r\n public async getTeacherList() {\r\n FormHelper.removeFocus();\r\n this.isLoading = true;\r\n\r\n try {\r\n const response = (await Axios.post(this.routes.AgentArea_Api_Teacher_GetTeachers, { page: this.pageIndex, subjectScope: this.subjectScope, searchtext: this.searchtext, approvalStatus: this.approvalStatus }, { headers: { \"RequestVerificationToken\": FormHelper.getRequestVerificationToken() } })).data;\r\n this.teacherList = response.teacherInfos;\r\n this.pageCount = response.pageCount;\r\n this.pageIndex = response.pageIndex;\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n this.teacherList = [];\r\n }\r\n }\r\n }\r\n\r\n this.isLoading = false;\r\n }\r\n\r\n public setSearchVisible() {\r\n this.isSearchVisible = !this.isSearchVisible;\r\n if (!this.isSearchVisible) {\r\n this.resetSearch();\r\n }\r\n }\r\n\r\n public async resetSearch() {\r\n this.pageIndex = 1;\r\n this.subjectScope = null;\r\n this.searchtext = null;\r\n this.approvalStatus = null;\r\n\r\n await this.getTeacherList();\r\n }\r\n\r\n public async setTeacherConfirmed(teacherIdMaster: string) {\r\n var result = confirm(\"Vuoi confermare l'attivazione di questo profilo?\");\r\n if (result) {\r\n try {\r\n let response = await this.$store.dispatch(\"teacherStore/setTeacherConfirmed\", { IdMaster: teacherIdMaster });\r\n if (response && response.status === 200) {\r\n await this.getTeacherList();\r\n this.setPagination();\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Insegnante confermato con successo\", type: \"Success\" });\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async setTeacherRejected(teacherIdMaster: string) {\r\n var result = confirm(\"Vuoi rifiutare l'attivazione di questo profilo?\");\r\n if (result) {\r\n try {\r\n let response = await this.$store.dispatch(\"teacherStore/setTeacherRejected\", { IdMaster: teacherIdMaster });\r\n if (response && response.status === 200) {\r\n await this.getTeacherList();\r\n this.setPagination();\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Insegnante rifiutato con successo\", type: \"Success\" });\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public teacherDetail(teacherIdMaster: string) {\r\n this.$router.push({ name: \"TeacherDetail\", params: { teacherIdMaster: teacherIdMaster } });\r\n }\r\n\r\n public convertDateToString(value) {\r\n let stringValue = null;\r\n\r\n let dateTimeParts = DataLegacyHelper.getDateTimeParts(value);\r\n if (dateTimeParts) {\r\n stringValue = dateTimeParts.year + \"-\" + dateTimeParts.month + \"-\" + dateTimeParts.day;\r\n }\r\n\r\n return stringValue;\r\n }\r\n\r\n public async setSearch(index: number) {\r\n this.pageIndex = index;\r\n await this.getTeacherList();\r\n this.setPagination();\r\n }\r\n\r\n public async goToPage(index: number) {\r\n this.setSearch(index);\r\n }\r\n\r\n public async goToPrevPage() {\r\n if (this.pageIndex < 2) {\r\n return;\r\n }\r\n this.setSearch((this.pageIndex - 1));\r\n }\r\n\r\n public async goToNextPage() {\r\n if (this.pageIndex >= this.pageCount) {\r\n return;\r\n }\r\n\r\n this.setSearch((this.pageIndex + 1));\r\n }\r\n\r\n public goToPageSelector(type: string) {\r\n if (type === \"plus\") {\r\n this.goToPage(this.footerPages.slice(-1)[0] + 2);\r\n }\r\n\r\n if (type === \"less\") {\r\n this.goToPage(this.footerPages.slice(0)[0]);\r\n }\r\n }\r\n};","import { render, staticRenderFns } from \"./TeacherList.vue?vue&type=template&id=2857d3ce\"\nimport script from \"./TeacherList?vue&type=script&lang=ts&external\"\nexport * from \"./TeacherList?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"layer\",attrs:{\"data-layer\":\"02\",\"data-show\":_vm.isDetailShow}},[_c('div',{staticClass:\"wrap-tap\",on:{\"click\":function($event){return _vm.teacherList()}}}),_vm._v(\" \"),_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"close\",on:{\"click\":function($event){return _vm.teacherList()}}},[_c('span',{staticClass:\"icon fastic-close\"})]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),(_vm.teacher)?[_c('div',{staticClass:\"box mrg\",attrs:{\"data-mrgt\":\"20\"}},[_c('div',{staticClass:\"data-info\"},[_c('div',{staticClass:\"fieldset\"},[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Nome e cognome\")]),_vm._v(\" \"),(_vm.teacher.name && _vm.teacher.surname)?[_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.name)+\" \"+_vm._s(_vm.teacher.surname))])]:[_c('div',{staticClass:\"detail\"},[_vm._v(\"Non disponibile\")])]],2),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Email\")]),_vm._v(\" \"),(_vm.teacher.email)?[_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.email))])]:[_c('div',{staticClass:\"detail\"},[_vm._v(\"Non disponibile\")])]],2),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Telefono\")]),_vm._v(\" \"),(_vm.teacher.phone)?[_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.phone))])]:[_c('div',{staticClass:\"detail\"},[_vm._v(\"Non disponibile\")])]],2),_vm._v(\" \"),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Data invio richiesta attivazione\")]),_vm._v(\" \"),(_vm.teacher.activationRequestDate)?[_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.activationRequestDate))])]:[_c('div',{staticClass:\"detail\"},[_vm._v(\"Non disponibile\")])]],2)]),_vm._v(\" \"),_c('div',{staticClass:\"fieldset\"},[(_vm.teacher.instituteProvince)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Provincia istituto\")]),_vm._v(\" \"),_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.instituteProvince))])])]:_vm._e(),_vm._v(\" \"),(_vm.teacher.instituteCity)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Località istituto\")]),_vm._v(\" \"),_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.instituteCity))])])]:_vm._e(),_vm._v(\" \"),(_vm.teacher.instituteLocation)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Località istituto\")]),_vm._v(\" \"),_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.instituteLocation))])])]:_vm._e(),_vm._v(\" \"),(_vm.teacher.instituteName)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Istituto\")]),_vm._v(\" \"),_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.instituteName))])])]:_vm._e(),_vm._v(\" \"),(_vm.teacher.subjectScopeTitle)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Ambito\")]),_vm._v(\" \"),_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.subjectScopeTitle))])])]:_vm._e(),_vm._v(\" \"),(_vm.teacher.productCategoryTitle)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Categoria prodotto\")]),_vm._v(\" \"),_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.productCategoryTitle))])])]:_vm._e(),_vm._v(\" \"),(_vm.teacher.productTitle)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Titolo articolo in adozione\")]),_vm._v(\" \"),_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.productTitle))])])]:_vm._e(),_vm._v(\" \"),(_vm.teacher.productCode)?[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"label\"},[_vm._v(\"Codice articolo in adozione\")]),_vm._v(\" \"),_c('div',{staticClass:\"detail\"},[_vm._v(_vm._s(_vm.teacher.productCode))])])]:_vm._e()],2)]),_vm._v(\" \"),(_vm.teacher.approvalStatus && _vm.teacher.approvalStatus == 'Pending')?[_c('div',{staticClass:\"action\",attrs:{\"data-buttons\":\"\"}},[_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"item\",attrs:{\"data-buttons\":\"\"}},[_c('div',{staticClass:\"cta\"},[_c('div',{staticClass:\"button\",on:{\"click\":function($event){return _vm.setTeacherRequestConfirmed(_vm.teacher.idMaster)}}},[_vm._v(\"Conferma\")])]),_vm._v(\" \"),_c('div',{staticClass:\"cta\"},[_c('div',{staticClass:\"button\",attrs:{\"data-color\":\"white\"},on:{\"click\":function($event){return _vm.setTeacherRequestRejected(_vm.teacher.idMaster)}}},[_vm._v(\"Rifiuta\")])])])])])]:_vm._e()],2)]:_vm._e()],2)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"top\"},[_c('div',{staticClass:\"title mrg\",attrs:{\"data-mrgb\":\"20\"}},[_vm._v(\"Insegnante\")])])\n}]\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"TeacherDetail\" })\r\nexport default class TeacherDetail extends Vue {\r\n public teacher: any = null;\r\n public isDetailShow: boolean = false;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n get userContext() {\r\n return this.$store.getters[\"profileStore/userContext\"];\r\n }\r\n\r\n @Prop() readonly teacherIdMaster: string;\r\n\r\n public created() {\r\n this.setDataOverflow();\r\n this.getTeacher();\r\n }\r\n\r\n public mounted() {\r\n this.isDetailShow = true;\r\n }\r\n\r\n public setDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (!body.hasAttribute(\"data-overflow\")) {\r\n body.setAttribute(\"data-overflow\", \"\");\r\n }\r\n }\r\n\r\n public removeDataOverflow() {\r\n var body = document.getElementsByTagName(\"body\")[0];\r\n\r\n if (body.hasAttribute(\"data-overflow\")) {\r\n body.removeAttribute(\"data-overflow\");\r\n }\r\n }\r\n\r\n public async getTeacher() {\r\n try {\r\n let response = await this.$store.dispatch(\"teacherStore/getTeacher\", {\r\n idMaster: this.teacherIdMaster\r\n });\r\n\r\n if (response && response.status === 200) {\r\n this.teacher = response.data;\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 404) {\r\n let redirectUrl = \"/agenti/error/not-found\";\r\n window.location.href = redirectUrl;\r\n } else if (error.response.status === 400) {\r\n this.teacher = null;\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async setTeacherRequestConfirmed(teacherIdMaster: string) {\r\n try {\r\n let response = await this.$store.dispatch(\"teacherStore/setTeacherConfirmed\", {\r\n IdMaster: teacherIdMaster\r\n });\r\n if (response && response.status === 200) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Insegnante confermato con successo\", type: \"Success\" });\r\n this.teacherList();\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public async setTeacherRequestRejected(teacherIdMaster: string) {\r\n try {\r\n let response = await this.$store.dispatch(\"teacherStore/setTeacherRejected\", {\r\n IdMaster: teacherIdMaster\r\n });\r\n if (response && response.status === 200) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: \"Insegnante rifiutato con successo\", type: \"Success\" });\r\n this.teacherList();\r\n }\r\n } catch (error) {\r\n if (error.response) {\r\n if (error.response.status === 400) {\r\n for (var propertyName in error.response.data) {\r\n if (error.response.data.hasOwnProperty(propertyName)) {\r\n for (let message of error.response.data[propertyName]) {\r\n this.$store.dispatch(\"apptoastStore/onAddToast\", { message: message, type: \"Error\" });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public teacherList() {\r\n this.isDetailShow = false;\r\n this.removeDataOverflow();\r\n this.$router.push({ name: \"TeacherList\", params: { teacherIdMaster: \"\" } });\r\n }\r\n};","import { render, staticRenderFns } from \"./TeacherDetail.vue?vue&type=template&id=854937f2\"\nimport script from \"./TeacherDetail?vue&type=script&lang=ts&external\"\nexport * from \"./TeacherDetail?vue&type=script&lang=ts&external\"\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","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\n\r\n@Component({ name: \"ToastHub\" })\r\nexport default class ToastHub extends Vue {\r\n get toasts(): any {\r\n return this.$store.getters[\"apptoastStore/toasts\"]\r\n }\r\n\r\n public created() {\r\n (this.$store).subscribeAction((action, state) => {\r\n // Add toast \r\n if (action.type === \"apptoastStore/onAddToast\") {\r\n this.addToast(action.payload);\r\n }\r\n });\r\n }\r\n\r\n public addToast(toast: any) {\r\n\r\n if (this.toasts.length <= 1) {\r\n toast.id = new Date().valueOf();\r\n\r\n this.toasts.push(toast)\r\n this.$store.commit(\"apptoastStore/setToasts\", this.toasts);\r\n\r\n setTimeout(() => {\r\n this.dismissToast(toast);\r\n }, 3 * 1000, toast)\r\n }\r\n }\r\n\r\n public dismissToast(toast: any) {\r\n for (var i = 0; i < this.toasts.length; i++) {\r\n if (this.toasts[i].id === toast.id) {\r\n this.toasts.splice(i, 1);\r\n this.$store.commit(\"apptoastStore/setToasts\", this.toasts);\r\n break;\r\n }\r\n }\r\n }\r\n};","import { render, staticRenderFns } from \"./ToastHub.vue?vue&type=template&id=4013f9d3\"\nimport script from \"./ToastHub?vue&type=script&lang=ts&external\"\nexport * from \"./ToastHub?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"message-toasts\"},_vm._l((_vm.toasts),function(toast,index){return _c('div',{key:index,staticClass:\"toast\",attrs:{\"data-type\":toast.type.toLowerCase()}},[_c('div',{staticClass:\"icon-wrap\"},[(toast.type === 'Success')?_c('span',{staticClass:\"icon fastic-check\",attrs:{\"data-color\":\"white\"}}):_vm._e(),_vm._v(\" \"),(toast.type === 'Warning' || toast.type === 'Error')?_c('span',{staticClass:\"icon fastic-alert\",attrs:{\"data-color\":\"white\"}}):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"message\"},[_vm._v(_vm._s(toast.message)+\" \"),_c('span',{staticClass:\"icon fastic-close\",on:{\"click\":function($event){return _vm.dismissToast(toast)}}})])])}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.pagination)?_c('div',[(_vm.pagination.pageCount > 1)?_c('div',{staticClass:\"pagination\"},[(_vm.pagination.pageCount <= 5)?[_vm._l((_vm.pagination.pageCount),function(page,index){return [(page === _vm.pagination.pageIndex + 1)?_c('div',{key:index,staticClass:\"item button active\"},[_vm._v(_vm._s(page))]):_c('div',{key:index,staticClass:\"item button\",on:{\"click\":function($event){return _vm.setPageIndex(page-1)}}},[_vm._v(_vm._s(page))])]})]:[_c('div',{staticClass:\"item button\",on:{\"click\":function($event){return _vm.setPageIndex(0)}}},[_vm._m(0)]),_vm._v(\" \"),_c('div',{staticClass:\"item button\",on:{\"click\":function($event){return _vm.setPageIndex(_vm.pagination.pageIndex > 0 ? _vm.pagination.pageIndex-1 : 0)}}},[_c('span',{staticClass:\"icon fastic-prev\"})]),_vm._v(\" \"),_c('div',{staticClass:\"item page-index form\"},[_c('div',{staticClass:\"form\"},[_vm._v(\"Pagina\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.lazy\",value:(_vm.inputPageIndex),expression:\"inputPageIndex\",modifiers:{\"lazy\":true}}],staticClass:\"textbox\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.inputPageIndex)},on:{\"change\":[function($event){_vm.inputPageIndex=$event.target.value},function($event){return _vm.setPageIndex(_vm.pagination.pageIndex)}]}}),_vm._v(\" \"),_c('div',{staticClass:\"to\"},[_vm._v(\"di \"+_vm._s(_vm.pagination.pageCount))])]),_vm._v(\" \"),_c('div',{staticClass:\"item button\",on:{\"click\":function($event){return _vm.setPageIndex(_vm.pagination.pageIndex < _vm.pagination.pageCount-1 ? _vm.pagination.pageIndex+1 : _vm.pagination.pageCount-1)}}},[_c('span',{staticClass:\"icon fastic-next\"})]),_vm._v(\" \"),_c('div',{staticClass:\"item button\",on:{\"click\":function($event){return _vm.setPageIndex(_vm.pagination.pageCount-1)}}},[_vm._m(1)])]],2):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',{staticClass:\"icons\"},[_c('span',{staticClass:\"icon fastic-prev\"}),_c('span',{staticClass:\"icon fastic-prev\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('span',{staticClass:\"icons\"},[_c('span',{staticClass:\"icon fastic-next\"}),_c('span',{staticClass:\"icon fastic-next\"})])\n}]\n\nexport { render, staticRenderFns }","import DataLegacyHelper from \"@AgentArea/Scripts/Infrastructure/DataLegacyHelper\";\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop } from \"vue-property-decorator\";\r\n\r\n@Component({ name: \"Pagination\" })\r\nexport default class Pagination extends Vue {\r\n @Prop() readonly pagination: any;\r\n\r\n get inputPageIndex(): number {\r\n return this.pagination.pageIndex + 1;\r\n }\r\n\r\n set inputPageIndex(newValue: number) {\r\n if (DataLegacyHelper.isNumeric(newValue)) {\r\n this.pagination.pageIndex = newValue - 1;\r\n } else {\r\n this.pagination.pageIndex = 0;\r\n }\r\n }\r\n\r\n public setPageIndex(pageIndex: number) {\r\n this.$emit(\"setPageIndex\", pageIndex);\r\n }\r\n};","import { render, staticRenderFns } from \"./Pagination.vue?vue&type=template&id=60fdfffc\"\nimport script from \"./Pagination?vue&type=script&lang=ts&external\"\nexport * from \"./Pagination?vue&type=script&lang=ts&external\"\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.pageCount > 1)?_c('div',{staticClass:\"pagination-news\"},[(_vm.pageIndex > 1)?_c('a',{staticClass:\"button\",on:{\"click\":function($event){return _vm.goToPrevPage()}}},[_vm._v(_vm._s(_vm.localizer.get(\"App.Pagination.Prev\")))]):_vm._e(),_vm._v(\" \"),(_vm.paginatorIndex >= 1)?_c('a',{staticClass:\"button dots\",on:{\"click\":function($event){return _vm.goToPageSelector('less')}}},[_vm._v(\"...\")]):_vm._e(),_vm._v(\" \"),(_vm.footerPages.length !== 0)?_c('div',{staticClass:\"pages\"},_vm._l((_vm.footerPages),function(page,index){return _c('a',{key:'page_'+index,class:[{ 'selected': _vm.pageIndex-1===page }, 'button'],on:{\"click\":function($event){return _vm.goToPage(page+1)}}},[_vm._v(_vm._s(page + 1))])}),0):_vm._e(),_vm._v(\" \"),(_vm.paginatorCount>=1 && (_vm.paginatorIndex+1)!==_vm.paginatorCount)?_c('a',{staticClass:\"button dots\",on:{\"click\":function($event){return _vm.goToPageSelector('plus')}}},[_vm._v(\"...\")]):_vm._e(),_vm._v(\" \"),(_vm.pageIndex!==_vm.pageCount)?_c('a',{staticClass:\"button\",on:{\"click\":function($event){return _vm.goToNextPage()}}},[_vm._v(_vm._s(_vm.localizer.get(\"App.Pagination.Next\")))]):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop } from \"vue-property-decorator\";\r\nimport Localizer from \"@Scripts/Common/Localizer\";\r\n\r\n@Component({ name: \"Pagination\" })\r\nexport default class Pagination extends Vue {\r\n public localizer: any = Localizer;\r\n public footerPages: any[] = [];\r\n public paginatorCount: number = 0;\r\n public paginatorIndex: number = 0;\r\n\r\n get routes() {\r\n return (window).App.routes;\r\n }\r\n\r\n @Prop() readonly pageIndex: number;\r\n @Prop() readonly pageCount: number;\r\n\r\n public created() {\r\n this.paginatorCount = Math.ceil(this.pageCount / 4);\r\n this.paginatorIndex = Math.trunc((this.pageIndex - 1) / 4);\r\n\r\n this.footerPages = [...Array(this.pageCount).keys()].slice(this.paginatorIndex * 4, (this.paginatorIndex + 1) * 4);\r\n }\r\n\r\n public async setSearch(index: number) {\r\n const url = new URL(window.location.href);\r\n url.searchParams.set(\"page\", (index).toString());\r\n window.location.href = url.toString();\r\n }\r\n\r\n public async goToPage(index: number) {\r\n this.setSearch(index);\r\n }\r\n\r\n public async goToPrevPage() {\r\n if (this.pageIndex < 2) {\r\n return;\r\n }\r\n this.setSearch((this.pageIndex - 1));\r\n }\r\n\r\n public async goToNextPage() {\r\n if (this.pageIndex >= this.pageCount) {\r\n return;\r\n }\r\n\r\n this.setSearch((this.pageIndex + 1));\r\n }\r\n\r\n public goToPageSelector(type: string) {\r\n if (type === \"plus\") {\r\n this.goToPage(this.footerPages.slice(-1)[0] + 2);\r\n }\r\n\r\n if (type === \"less\") {\r\n this.goToPage(this.footerPages.slice(0)[0]);\r\n }\r\n }\r\n}","import { render, staticRenderFns } from \"./Pagination.vue?vue&type=template&id=9b9684b2\"\nimport script from \"./Pagination?vue&type=script&lang=ts&external\"\nexport * from \"./Pagination?vue&type=script&lang=ts&external\"\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","import { DirectiveOptions } from \"vue\"\r\n\r\nconst directive: DirectiveOptions = {\r\n inserted(el, node) {\r\n let acButton = el.getElementsByClassName(\"ac-button\")[0];\r\n if (acButton) {\r\n acButton.addEventListener(\"click\", () => {\r\n let menu = el.getElementsByClassName(\"ac-list\")[0];\r\n if (menu) {\r\n if (menu.classList.contains(\"show\")) {\r\n menu.classList.remove(\"show\");\r\n } else {\r\n menu.classList.add(\"show\");\r\n }\r\n }\r\n });\r\n }\r\n\r\n hideOnClickOutside(el);\r\n\r\n function hideOnClickOutside(element) {\r\n const outsideClickListener = event => {\r\n if (!element.contains(event.target)) {\r\n if (isVisible(element)) {\r\n let menu = element.getElementsByClassName(\"ac-list\")[0];\r\n if (menu) {\r\n menu.classList.remove(\"show\");\r\n }\r\n }\r\n }\r\n }\r\n\r\n document.addEventListener(\"click\", outsideClickListener)\r\n }\r\n\r\n const isVisible = elem => !!elem && !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length)\r\n }\r\n};\r\n\r\nexport default directive;","import { DirectiveOptions } from \"vue\"\r\n\r\nconst directive: DirectiveOptions = {\r\n inserted(el, node) {\r\n el.addEventListener(\"click\", () => {\r\n let menu = el.closest(\".ac-list\");\r\n if (menu) {\r\n menu.classList.remove(\"show\");\r\n }\r\n });\r\n }\r\n};\r\n\r\nexport default directive;","import Vue from \"vue\";\r\n\r\n// Components\r\nimport AccountLogin from \"@AgentArea/Scripts/Components/Account/AccountLogin.vue\";\r\n\r\nimport HeaderSearchBox from \"@AgentArea/Scripts/Components/HeaderSearchBox/HeaderSearchBox.vue\";\r\nimport Dashboard from \"@AgentArea/Scripts/Components/Dashboard/Dashboard.vue\";\r\nimport WidgetNews from \"@AgentArea/Scripts/Components/Dashboard/Widgets/WidgetNews.vue\";\r\nimport WidgetCommunication from \"@AgentArea/Scripts/Components/Dashboard/Widgets/WidgetCommunication.vue\";\r\nimport WidgetTeachers from \"@AgentArea/Scripts/Components/Dashboard/Widgets/WidgetTeachers.vue\";\r\nimport WidgetOrders from \"@AgentArea/Scripts/Components/Dashboard/Widgets/WidgetOrders.vue\";\r\nimport MagazineFilterBox from \"@AgentArea/Scripts/Components/MagazineFilterBox/MagazineFilterBox.vue\";\r\nimport OrderList from \"@AgentArea/Scripts/Components/Order/OrderList.vue\";\r\nimport OrderImport from \"@AgentArea/Scripts/Components/Order/OrderImport.vue\";\r\nimport OrderDetail from \"@AgentArea/Scripts/Components/Order/OrderDetail.vue\";\r\nimport StockList from \"@AgentArea/Scripts/Components/Order/StockList.vue\";\r\nimport StockImport from \"@AgentArea/Scripts/Components/Order/StockImport.vue\";\r\nimport StockDetail from \"@AgentArea/Scripts/Components/Order/StockDetail.vue\";\r\nimport OrderCatalogueSearch from \"@AgentArea/Scripts/Components/Order/OrderCatalogueSearch.vue\";\r\nimport OrderProductDetail from \"@AgentArea/Scripts/Components/Order/OrderProductDetail.vue\";\r\nimport OrderFilterBox from \"@AgentArea/Scripts/Components/Order/OrderFilterBox.vue\";\r\nimport ProductList from \"@AgentArea/Scripts/Components/Catalogue/ProductList.vue\";\r\nimport ProductDetail from \"@AgentArea/Scripts/Components/Catalogue/ProductDetail.vue\";\r\nimport ProductFeedback from \"@AgentArea/Scripts/Components/Catalogue/ProductFeedback.vue\";\r\nimport TeacherList from \"@AgentArea/Scripts/Components/Teacher/TeacherList.vue\";\r\nimport TeacherDetail from \"@AgentArea/Scripts/Components/Teacher/TeacherDetail.vue\";\r\nimport ToastHub from \"@AgentArea/Scripts/Components/Toast/ToastHub.vue\";\r\nimport Pagination from \"@AgentArea/Scripts/Components/Pagination/Pagination.vue\";\r\n\r\nimport PaginationNews from \"@Scripts/Components/Pagination/Pagination.vue\";\r\n\r\n// Directives\r\n\r\nimport ExpandingMenu from \"@AgentArea/Scripts/Directives/ExpandingMenu/ExpandingMenu\";\r\nimport ExpandingMenuLink from \"@AgentArea/Scripts/Directives/ExpandingMenu/ExpandingMenuLink\";\r\n\r\nexport default class AppConfig {\r\n public static AddComponents() {\r\n Vue.component(\"app-accountlogin\", AccountLogin);\r\n\r\n Vue.component(\"app-header-searchbox\", HeaderSearchBox);\r\n Vue.component(\"app-dashboard\", Dashboard);\r\n Vue.component(\"app-widget-news\", WidgetNews);\r\n Vue.component(\"app-widget-communication\", WidgetCommunication);\r\n Vue.component(\"app-widget-teachers\", WidgetTeachers);\r\n Vue.component(\"app-widget-orders\", WidgetOrders);\r\n Vue.component(\"app-magazine-filterbox\", MagazineFilterBox);\r\n Vue.component(\"app-catalogue-productlist\", ProductList);\r\n Vue.component(\"app-catalogue-productdetail\", ProductDetail);\r\n Vue.component(\"app-catalogue-productfeedback\", ProductFeedback);\r\n Vue.component(\"app-teacher-teacherlist\", TeacherList);\r\n Vue.component(\"app-teacher-teacherdetail\", TeacherDetail);\r\n Vue.component(\"app-order-orderlist\", OrderList);\r\n Vue.component(\"app-order-orderimport\", OrderImport);\r\n Vue.component(\"app-order-orderdetail\", OrderDetail);\r\n Vue.component(\"app-stock-stocklist\", StockList);\r\n Vue.component(\"app-stock-stockimport\", StockImport);\r\n Vue.component(\"app-stock-stockdetail\", StockDetail);\r\n Vue.component(\"app-order-cataloguesearch\", OrderCatalogueSearch);\r\n Vue.component(\"app-order-productdetail\", OrderProductDetail);\r\n Vue.component(\"app-order-filterbox\", OrderFilterBox);\r\n Vue.component(\"app-pagination\", Pagination);\r\n Vue.component(\"app-toasthub\", ToastHub);\r\n\r\n Vue.component(\"app-paginationnews\", PaginationNews);\r\n }\r\n\r\n public static AddDirectives() {\r\n Vue.directive(\"expanding-menu\", ExpandingMenu);\r\n Vue.directive(\"expanding-menu-link\", ExpandingMenuLink);\r\n }\r\n}","const __WEBPACK_NAMESPACE_OBJECT__ = VueRouter;","import Vue from \"vue\";\r\nimport VueRouter from \"vue-router\";\r\n\r\nimport ProductList from \"@AgentArea/Scripts/Components/Catalogue/ProductList.vue\";\r\nimport ProductDetail from \"@AgentArea/Scripts/Components/Catalogue/ProductDetail.vue\";\r\nimport ProductFeedback from \"@AgentArea/Scripts/Components/Catalogue/ProductFeedback.vue\";\r\nimport TeacherList from \"@AgentArea/Scripts/Components/Teacher/TeacherList.vue\";\r\nimport TeacherDetail from \"@AgentArea/Scripts/Components/Teacher/TeacherDetail.vue\";\r\nimport OrderList from \"@AgentArea/Scripts/Components/Order/OrderList.vue\";\r\nimport OrderDetail from \"@AgentArea/Scripts/Components/Order/OrderDetail.vue\";\r\nimport OrderImport from \"@AgentArea/Scripts/Components/Order/OrderImport.vue\";\r\nimport StockList from \"@AgentArea/Scripts/Components/Order/StockList.vue\";\r\nimport StockDetail from \"@AgentArea/Scripts/Components/Order/StockDetail.vue\";\r\nimport StockImport from \"@AgentArea/Scripts/Components/Order/StockImport.vue\";\r\n\r\nVue.use(VueRouter);\r\n\r\nexport const router = new VueRouter({\r\n mode: \"history\",\r\n routes: [\r\n {\r\n name: \"ProductList\", path: \"/agenti/catalogo/:categorySlug/:subCategorySlug\", component: ProductList, props: true,\r\n children: [\r\n {\r\n name: \"ProductDetail\", path: \"/agenti/catalogo/:categorySlug/:subCategorySlug/:productSlug\", component: ProductDetail, props: true,\r\n children: [\r\n {\r\n name: \"ProductFeedback\", path: \"/agenti/catalogo/:categorySlug/:subCategorySlug/:productSlug/feedback\", component: ProductFeedback, props: true,\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n name: \"TeacherList\", path: \"/agenti/insegnanti\", component: TeacherList, props: false,\r\n children: [\r\n {\r\n name: \"TeacherDetail\", path: \"/agenti/insegnanti/:teacherIdMaster\", component: TeacherDetail, props: true\r\n }\r\n ]\r\n },\r\n {\r\n name: \"OrderList\", path: \"/agenti/ordini\", component: OrderList, props: false,\r\n children: [\r\n {\r\n name: \"OrderDetail\", path: \"/agenti/ordini/dettaglio/:orderIdMaster?\", component: OrderDetail, props: true\r\n },\r\n {\r\n name: \"OrderImport\", path: \"/agenti/ordini/import\", component: OrderImport\r\n }\r\n ]\r\n },\r\n {\r\n name: \"StockList\", path: \"/agenti/inventario\", component: StockList, props: false,\r\n children: [\r\n {\r\n name: \"StockDetail\", path: \"/agenti/inventario/dettaglio/:orderIdMaster?\", component: StockDetail, props: true\r\n },\r\n {\r\n name: \"StockImport\", path: \"/agenti/inventario/import\", component: StockImport\r\n }\r\n ]\r\n }\r\n ]\r\n});","const __WEBPACK_NAMESPACE_OBJECT__ = Vuex;","import Axios from \"axios\";\r\n\r\nconst state = {\r\n suggestions: []\r\n};\r\n\r\nconst getters = {\r\n suggestions: state => state.suggestions\r\n};\r\n\r\nconst mutations = {\r\n setSuggestions: (state, data) => state.suggestions = data\r\n};\r\n\r\nconst actions = {\r\n getSuggestions: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Search_GetSuggestions, data);\r\n }\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions\r\n};","import Axios from \"axios\";\r\n\r\nconst state = {\r\n};\r\n\r\nconst getters = {\r\n};\r\n\r\nconst mutations = {\r\n};\r\n\r\nconst actions = {\r\n getNewsItemList: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Magazine_GetNewsItemList, data);\r\n },\r\n getCircularItemList: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Magazine_GetCircularItemList, data);\r\n }\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions\r\n};","import Axios from \"axios\";\r\n\r\nconst state = {\r\n productCategory: null,\r\n productSubCategory: null,\r\n productPlusList: null\r\n};\r\n\r\nconst getters = {\r\n productCategory: state => state.productCategory,\r\n productSubCategory: state => state.productSubCategory,\r\n productPlusList: state => state.productPlusList\r\n};\r\n\r\nconst mutations = {\r\n setProductCategory: (state, data) => state.productCategory = data,\r\n setProductSubCategory: (state, data) => state.productSubCategory = data,\r\n setProductPlusList: (state, data) => state.productPlusList = data\r\n};\r\n\r\nconst actions = {\r\n getProductCategory: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Catalogue_GetProductCategory, data);\r\n },\r\n getProductSubCategory: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Catalogue_GetProductSubCategory, data);\r\n },\r\n getProductPlusList: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Catalogue_GetProductPlusList, data);\r\n },\r\n getProductList: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Catalogue_GetProductList, data);\r\n },\r\n getProduct: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Catalogue_GetProduct, data);\r\n },\r\n getProductRelatedNews: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Catalogue_GetProductRelatedNewsList, data);\r\n },\r\n getRelatedProducts: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Catalogue_GetRelatedProducts, data);\r\n },\r\n productFeedbackSubmit: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Catalogue_ProductFeedbackSubmit, data);\r\n },\r\n getAgentDocuments: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Catalogue_GetAgentDocuments, data);\r\n }\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions\r\n};","import Axios from \"axios\";\r\n\r\nconst state = {\r\n};\r\n\r\nconst getters = {\r\n};\r\n\r\nconst mutations = {\r\n};\r\n\r\nconst actions = {\r\n getCircularItemList: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Communication_GetCircularItemList, data);\r\n },\r\n getCircularCategory: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Communication_GetCircularCategory, data);\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions\r\n};","import Axios from \"axios\";\r\n\r\nconst state = {\r\n userContext: null\r\n};\r\n\r\nconst getters = {\r\n userContext: state => state.userContext\r\n};\r\n\r\nconst mutations = {\r\n setUserContext: (state, data) => state.userContext = data,\r\n};\r\n\r\nconst actions = {\r\n getUserContext: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_GetUserContext, data);\r\n }\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions\r\n};","import Axios from \"axios\";\r\n\r\nconst state = {\r\n};\r\n\r\nconst getters = {\r\n};\r\n\r\nconst mutations = {\r\n};\r\n\r\nconst actions = {\r\n getWidgetTeachers: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Teacher_GetWidgetTeachers, data);\r\n },\r\n getWidgetTeachersCount: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Teacher_GetWidgetTeachersCount, data);\r\n },\r\n getTeachers: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Teacher_GetTeachers, data);\r\n },\r\n setTeacherConfirmed: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Teacher_SetTeacherConfirmed, data);\r\n },\r\n setTeacherRejected: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Teacher_SetTeacherRejected, data);\r\n },\r\n getTeacher: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Teacher_GetTeacher, data);\r\n }\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions\r\n};","import Axios from \"axios\";\r\n\r\nconst state = {\r\n pagination: null\r\n};\r\n\r\nconst getters = {\r\n pagination: state => state.pagination\r\n};\r\n\r\nconst mutations = {\r\n setPagination: (state, data) => state.pagination = data\r\n};\r\n\r\nconst actions = {\r\n getWidgetOrders: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetWidgetOrders, data);\r\n },\r\n getOrders: async (context, data) => {\r\n let response = await Axios.post((window).App.routes.AgentArea_Api_Order_GetOrders, data);\r\n\r\n context.commit(\"setPagination\", response.data.pagination);\r\n\r\n return response;\r\n },\r\n setOrderConfirmed: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_SetOrderConfirmed, data);\r\n },\r\n setOrderDeleted: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_SetOrderDeleted, data);\r\n },\r\n getOrder: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetOrder, data);\r\n },\r\n getOrderStatuses: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetOrderStatuses, data);\r\n },\r\n getOrderTypes: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetOrderTypes, data);\r\n },\r\n getOrderSubTypes: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetOrderSubTypes, data);\r\n },\r\n setOrder: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_SetOrder, data);\r\n },\r\n getProductList: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetProductList, data);\r\n },\r\n getProductCategories: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetProductCategories, data);\r\n },\r\n getProductSubCategories: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetProductSubCategories, data);\r\n },\r\n getOrderProductDetail: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetOrderProductDetail, data);\r\n },\r\n getOrderProductRelatedNews: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetOrderProductRelatedNewsList, data);\r\n },\r\n getOrderRelatedProducts: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetOrderRelatedProducts, data);\r\n }, \r\n getOrderYears: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetOrderYears, data);\r\n },\r\n getVoidIdMaster: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_GetVoidIdMaster, data);\r\n },\r\n importOrderFile: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_ImportOrderFile, data, { headers: { \"Content-Type\": \"multipart/form-data\" } });\r\n },\r\n importStockFile: async (context, data) => {\r\n return await Axios.post((window).App.routes.AgentArea_Api_Order_ImportStockFile, data, { headers: { \"Content-Type\": \"multipart/form-data\" } });\r\n }\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions\r\n};","import Vue from \"vue\";\r\nimport Vuex from \"vuex\";\r\nimport SearchStore from \"@AgentArea/Scripts/Stores/SearchStore\";\r\nimport MagazineStore from \"@AgentArea/Scripts/Stores/MagazineStore\";\r\nimport CatalogueStore from \"@AgentArea/Scripts/Stores/CatalogueStore\";\r\nimport CommunicationStore from \"@AgentArea/Scripts/Stores/CommunicationStore\";\r\nimport ProfileStore from \"@AgentArea/Scripts/Stores/ProfileStore\";\r\nimport TeacherStore from \"@AgentArea/Scripts/Stores/TeacherStore\";\r\nimport AppToastStore from \"@AgentArea/Scripts/Stores/AppToastStore\";\r\nimport OrderStore from \"@AgentArea/Scripts/Stores/OrderStore\";\r\n\r\nVue.use(Vuex);\r\n\r\nexport const store = new Vuex.Store({});\r\n\r\nstore.registerModule(\"searchStore\", SearchStore);\r\nstore.registerModule(\"magazineStore\", MagazineStore);\r\nstore.registerModule(\"catalogueStore\", CatalogueStore);\r\nstore.registerModule(\"communicationStore\", CommunicationStore);\r\nstore.registerModule(\"profileStore\", ProfileStore);\r\nstore.registerModule(\"teacherStore\", TeacherStore);\r\nstore.registerModule(\"apptoastStore\", AppToastStore);\r\nstore.registerModule(\"orderStore\", OrderStore);","import Axios from \"axios\";\r\n\r\nconst state = {\r\n toasts: []\r\n};\r\n\r\nconst getters = {\r\n toasts: state => state.toasts\r\n};\r\n\r\nconst mutations = {\r\n setToasts: (state, data) => state.toasts = data\r\n};\r\n\r\nconst actions = {\r\n onAddToast: (context, data) => {}\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions\r\n};","import \"@AgentArea/Styles/Main.less\";\r\n\r\nimport BasePage from \"@AgentArea/Scripts/Pages/BasePage\";\r\n\r\nlet App: any = {\r\n instances: {},\r\n pages: {},\r\n routes: {},\r\n viewModels: {},\r\n resources: {}\r\n};\r\n\r\nApp.pages.BasePage = BasePage;\r\n\r\n(window).App = App;","import Vue from \"vue\";\r\nimport Axios from \"axios\";\r\nimport DataWebConfig from \"@AgentArea/Scripts/Config/DataWebConfig\";\r\nimport AppConfig from \"@AgentArea/Scripts/Config/AppConfig\";\r\nimport { router } from \"@AgentArea/Scripts/Config/RouteConfig\";\r\nimport { store } from \"@AgentArea/Scripts/Config/StoreConfig\";\r\nimport Localizer from \"@Scripts/Common/Localizer\";\r\n\r\nexport default class BasePage {\r\n public static async init() {\r\n await Localizer.init({\r\n defaultCulture: (window).App.culture,\r\n resourceContexts: [\"App\", \"Account\"]\r\n });\r\n\r\n this.initRequestVerificationToken();\r\n\r\n let DataWeb = (window).DataWeb;\r\n if (DataWeb) {\r\n Vue.use(DataWeb.default);\r\n Vue.use(DataWebConfig);\r\n\r\n await DataWeb.Localizer.init({ defaultCulture: (window).App.userCulture, resourceContexts: [\"DataWeb\", \"Account\"] });\r\n }\r\n\r\n AppConfig.AddComponents();\r\n AppConfig.AddDirectives();\r\n\r\n let vm = new Vue({\r\n el: \"#app\",\r\n router,\r\n store,\r\n created() {\r\n if (DataWeb) {\r\n DataWeb.default.registerRoutes(router);\r\n DataWeb.default.registerStoreModules(store);\r\n }\r\n }\r\n });\r\n\r\n (window).App.instances.vm = vm;\r\n\r\n this.resetCssAnimations();\r\n this.setSearch();\r\n this.setResponsive();\r\n }\r\n\r\n private static initRequestVerificationToken() {\r\n var antiforgerytoken = (document.getElementsByName(\"__RequestVerificationToken\")[0]).value;\r\n if (antiforgerytoken) {\r\n Axios.defaults.headers.common[\"RequestVerificationToken\"] = antiforgerytoken;\r\n }\r\n }\r\n\r\n private static resetCssAnimations() {\r\n (window).addEventListener(\"load\", function () {\r\n let loaders = document.getElementsByClassName(\"loader\");\r\n for (let i = 0; i < loaders.length; i++) {\r\n loaders[i].classList.add(\"hide\");\r\n }\r\n\r\n let preLoaders = document.querySelectorAll(\"[data-preload]\");\r\n for (let i = 0; i < preLoaders.length; i++) {\r\n preLoaders[i].removeAttribute(\"data-preload\");\r\n }\r\n });\r\n }\r\n\r\n private static setSearch() {\r\n let openSearchButtons = document.getElementsByClassName(\"search-open\");\r\n if (openSearchButtons) {\r\n for (let i = 0; i < openSearchButtons.length; i++) {\r\n openSearchButtons[i].addEventListener(\"click\", function () {\r\n document.getElementsByTagName(\"body\")[0].classList.add(\"search\");\r\n });\r\n }\r\n }\r\n let closeSearchButtons = document.getElementsByClassName(\"search-close\");\r\n if (closeSearchButtons) {\r\n for (let i = 0; i < closeSearchButtons.length; i++) {\r\n closeSearchButtons[i].addEventListener(\"click\", function () {\r\n document.getElementsByTagName(\"body\")[0].classList.remove(\"search\");\r\n });\r\n }\r\n }\r\n }\r\n\r\n private static setResponsive() {\r\n let wrapTap = document.getElementById(\"WrapTap\"),\r\n openMenuButton = document.getElementById(\"OpenMenuButton\"),\r\n menuBox = document.getElementById(\"MenuBox\");\r\n\r\n if (openMenuButton) {\r\n openMenuButton.addEventListener(\"click\", function () {\r\n menuBox.classList.add(\"show\");\r\n wrapTap.classList.add(\"show\");\r\n });\r\n }\r\n\r\n if (wrapTap) {\r\n wrapTap.addEventListener(\"click\", function () {\r\n menuBox.classList.remove(\"show\");\r\n wrapTap.classList.remove(\"show\");\r\n });\r\n }\r\n\r\n let categories = document.querySelectorAll(\"[data-open]\"),\r\n subCategoriesList = document.querySelectorAll(\"[data-list]\"),\r\n subCategoriesBackButton = document.querySelectorAll(\"[data-back]\");\r\n\r\n if (categories) {\r\n for (let i = 0; i < categories.length; i++) {\r\n categories[i].addEventListener(\"click\", function () {\r\n subCategoriesList[i].classList.add(\"show\");\r\n });\r\n\r\n if (subCategoriesBackButton && subCategoriesBackButton[i]) {\r\n subCategoriesBackButton[i].addEventListener(\"click\", function () {\r\n subCategoriesList[i].classList.remove(\"show\");\r\n });\r\n }\r\n\r\n if (wrapTap) {\r\n wrapTap.addEventListener(\"click\", function () {\r\n subCategoriesList[i].classList.remove(\"show\");\r\n });\r\n }\r\n }\r\n }\r\n }\r\n}"],"names":["__webpack_require__","module","getter","__esModule","d","a","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Vue","Axios","install","options","_typeof","Symbol","iterator","constructor","forwardMetadata","to","from","propertyKey","Reflect","getOwnMetadataKeys","forEach","metaKey","metadata","getOwnMetadata","defineMetadata","hasProto","__proto__","Array","factory","target","index","Ctor","__decorators__","undefined","push","$internalHooks","componentFactory","Component","arguments","length","name","_componentTag","proto","getOwnPropertyNames","indexOf","descriptor","getOwnPropertyDescriptor","value","methods","mixins","data","configurable","writable","_defineProperty","set","computed","vm","originalInit","_init","_this","this","keys","$options","props","plainData","collectDataFromConstructor","decorators","fn","superProto","getPrototypeOf","Super","Extended","extend","Original","shouldIgnore","extendedDescriptor","type","superDescriptor","forwardStaticMembers","callee","caller","registerHooks","arr","apply","isArray","i","arr2","_arrayWithoutHoles","iter","toString","_iterableToArray","TypeError","_nonIterableSpread","reflectMetadataIsSupported","getMetadata","Prop","componentOptions","k","Watch","path","_a","deep","_b","immediate","handler","watch","create","FormHelper","initRuntimeProperties","controls","parentControl","control","fullName","getValidationErrors","validationState","validationErrors","propertyName","message","isControlValidationError","controlName","some","x","getRequestVerificationToken","document","getElementsByName","showPassword","inputId","input","querySelector","setAttribute","getAttribute","setFocus","contextElement","firstInput","focus","removeFocus","activeElement","HTMLElement","blur","Localizer","init","configuration","defaultCulture","resourceCultures","resourceCulture","cultureResources","params","culture","contexts","resourceContexts","join","values","getByCulture","placeHolder","split","pop","resources","resource","replace","RegExp","Map","AccountLogin","localizer","formHelper","isLoading","isSuccess","formData","routes","window","App","submitForm","AgentArea_Account_Login","location","href","returnUrl","AgentArea_Main","error","password","response","status","isEmailNotConfirmed","filter","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","_vm","_c","_self","_setupProxy","staticClass","attrs","_v","_s","directives","rawName","expression","modifiers","class","domProps","on","$event","$set","isPersistent","_i","$$a","$$el","$$c","checked","$$i","slice","_e","_l","validationError","Account_PasswordRemind","HeaderSearchBox","searchtext","suggestionListIndex","isSuggestionNotFound","searchSelector","debounceTimeOut","suggestions","$store","getters","onSearchTextChange","newText","debounceGetSuggestions","created","addEventListener","event","$el","contains","clear","delay","self","clearTimeout","setTimeout","async","getSuggestions","dispatch","commit","moveUp","moveDown","suggestionSelect","selectedSuggestion","linkUrl","showAll","AgentArea_Search_List","$$selectedVal","selected","map","_value","multiple","_k","keyCode","preventDefault","composing","_m","suggestion","title","Dashboard","isDataLoading","userContext","freeze","isAgentSales","WidgetNews","isDataAvailable","firstNews","newsList","getData","shift","detailUrl","bigImageUrl","abstract","newsItem","imageUrl","DataLegacyHelper","convertDecimalToString","stringValue","String","valueParts","integerPart","decimalPart","substring","isNumeric","isNaN","parseFloat","convertIntegerToString","roundNumber","number","decimals","Number","toFixed","getDateTimeParts","isValidDateTime","datePart","timePart","year","month","day","match","time","offset","hour","minutes","seconds","includes","isValidDate","Date","parse","WidgetCommunication","circularList","circularCategory","getCircularCategory","setNewsList","AgentArea_Magazine_NewsList","slug","convertDateToString","dateTimeParts","circularItem","dateItem","WidgetTeachers","teachers","teachersCount","getTeachersCount","teacherDetail","teacherIdMaster","$router","reload","AgentArea_Teacher_TeacherList","teacher","idMaster","surname","productCategoryTitle","subjectScopeTitle","WidgetOrders","orderList","redirectUrl","formatPrice","orderDetail","orderIdMaster","AgentArea_Order_OrderList","orderItem","dateConfirmOrder","code","productCount","totalPrice","MagazineFilterBox","newsCategories","bag","Categories","selectedNewsCategorySlug","SelectedNewsCategorySlug","setNewsCategory","newsCategorySlug","setNewsCategorySelected","setAllButtonSelected","newsCategory","GTagHelper","setConfig","targetId","configInfo","gtag","getValue","fieldName","field","setValue","valuePair","sendEvent","category","label","parameters","sendCustomEvent","OrderList","isOrderSaleActive","isOrderPropagandaActive","isSearchVisible","searchValues","orderSubTypes","pagination","onUrlChange","getOrderList","setUserContext","getOrderSubTypes","pageIndex","orderStatus","orderSubType","orderYear","Page","Searchtext","OrderStatus","OrderType","OrderSubType","OrderYear","orders","setOrderConfirmed","subType","confirm","IdMaster","toLowerCase","setOrderDeleted","getOrderStatusValue","orderStatusValue","getOrderStatusClassName","newOrder","isWorkingOrder","workingOrders","importOrder","setSubTypeTitle","subTypes","setPageIndex","setSearchVisible","resetSearch","updateSearch","setAnalytics","AgentArea_Api_Order_DownloadOrderProducts","order","orderStatusTitle","notes","FormLegacyHelper","setValidation","classList","resetValidation","inputs","getElementsByClassName","remove","OrderImport","isDetailShow","fileName","setDataOverflow","mounted","body","getElementsByTagName","hasAttribute","setOrderFileName","files","$refs","fileUpload","submitOrderFile","FormData","append","removeDataOverflow","removeAttribute","ref","OrderDetail","isCatalogueSearchShow","isProductDetailShow","productDetailCode","isDisabled","isModified","isRowUpdating","isUpdating","voidIdMaster","productSearchText","isProductListLoading","productList","productListIndex","productListNotFound","onProductSearchTextChange","debounceProductSearch","getOrder","getVoidIdMaster","initOrder","setDisabled","searchBox","getElementById","clearProductList","totalWeight","orderRows","setOrder","getProductList","productMoveUp","productMoveDown","productSelect","selectedProduct","addProduct","addProductQuantity","quantity","productQuantity","updateProductQuantity","removeProductQuantity","parseInt","product","existingOrderRow","find","productCode","rowPrice","price","rowWeight","weight","orderRow","productMasterCode","masterCode","productIsMaster","isMaster","productTitle","productSubTitle","subTitle","isbn","editionYear","isRecallYear1","isRecallYear2","unitWeight","unitPrice","categoryTitle","productSubCategoryTitle","subCategoryTitle","productImageUrl","productCategorySlug","productSubCategorySlug","productSlug","setOrderTotal","removeOrderRow","splice","addOrderRowQuantity","orderRowQuantity","updateOrderRowQuantity","removeOrderRowQuantity","orderRowIndex","formatWeight","setDate","setYear","catalogueSearch","hideCatalogueSearch","orderProductDetail","hideProductDetail","result","setReportOrderRowsUrl","AgentArea_Api_Order_ReportOrderRows","setReportPdfOrderRowsUrl","AgentArea_Api_Order_ReportPdfOrderRows","productDetail","categorySlug","subCategorySlug","routeData","resolve","open","select","StockList","isStockActive","AgentArea_Api_Order_DownloadStockProducts","StockImport","StockDetail","orderRowProductCode","setReportPdfStockRowsUrl","AgentArea_Api_Order_ReportPdfStockRows","OrderCatalogueSearch","productCategories","productSubCategories","productCategory","productSubCategory","getProductCategories","getProductSubCategories","categoryName","$emit","isAdded","isVisible","active","OrderProductDetail","descriptionLengthLimit","isDescriptionShow","isDescriptionButtonShow","relatedProducts","relatedNews","paperRelatedProducts","ebookRelatedProducts","multimediaRelatedProducts","teacherResourcesRelatedProducts","onPropertyChanged","oldValue","getProduct","getProductRelatedNews","getRelatedProducts","setIsDescriptionButtonShow","productPlusList","item","relatedProduct","media","descriptionLength","setIsDescriptionShow","setProductPlusVisible","productItem","productPlusItem","plus","getProductPlusValue","isIncludes","dataTypeValue","getProductPlusClassName","className","setProductPlusText","text","subCategory","authors","show","masterPreviewUrl","description","paperRelatedProduct","teacherResourcesRelatedProduct","ebookRelatedProduct","multimediaRelatedProduct","OrderFilterBox","orderStatuses","orderYears","isOrderYearSelected","isSearchTextSelected","isOrderStatusSelected","isOrderSubTypeSelected","getOrderYears","getOrderStatuses","unshift","searchSubmit","ProductList","setCategory","setSubCategory","setProductPlusList","ProductDetail","agentDocuments","getAgentDocuments","productFeedback","agentDocument","documentUrl","ProductFeedback","isFeedbackShow","setProductFeedbackSubmit","Title","TeacherList","teacherList","pageCount","footerPages","paginatorCount","paginatorIndex","subjectScopes","approvalStatues","subjectScope","approvalStatus","getTeacherList","setPagination","Promise","all","getTeacherFilterData","Math","ceil","trunc","AgentArea_Api_Teacher_GetTeacherFilterData","headers","AgentArea_Api_Teacher_GetTeachers","page","teacherInfos","setTeacherConfirmed","setTeacherRejected","setSearch","goToPage","goToPrevPage","goToNextPage","goToPageSelector","instituteProvince","instituteLocation","instituteName","activationRequestDate","TeacherDetail","getTeacher","setTeacherRequestConfirmed","setTeacherRequestRejected","email","phone","instituteCity","ToastHub","toasts","subscribeAction","action","state","addToast","payload","toast","id","valueOf","dismissToast","Pagination","inputPageIndex","newValue","url","URL","searchParams","inserted","el","node","acButton","element","menu","elem","offsetWidth","offsetHeight","getClientRects","closest","AppConfig","AddComponents","AddDirectives","ExpandingMenu","ExpandingMenuLink","VueRouter","router","mode","component","children","Vuex","namespaced","mutations","setSuggestions","actions","AgentArea_Search_GetSuggestions","getNewsItemList","AgentArea_Api_Magazine_GetNewsItemList","getCircularItemList","AgentArea_Api_Magazine_GetCircularItemList","setProductCategory","setProductSubCategory","getProductCategory","AgentArea_Api_Catalogue_GetProductCategory","getProductSubCategory","AgentArea_Api_Catalogue_GetProductSubCategory","getProductPlusList","AgentArea_Api_Catalogue_GetProductPlusList","AgentArea_Api_Catalogue_GetProductList","AgentArea_Api_Catalogue_GetProduct","AgentArea_Api_Catalogue_GetProductRelatedNewsList","AgentArea_Api_Catalogue_GetRelatedProducts","productFeedbackSubmit","AgentArea_Api_Catalogue_ProductFeedbackSubmit","AgentArea_Api_Catalogue_GetAgentDocuments","AgentArea_Api_Communication_GetCircularItemList","AgentArea_Api_Communication_GetCircularCategory","getUserContext","AgentArea_GetUserContext","getWidgetTeachers","AgentArea_Api_Teacher_GetWidgetTeachers","getWidgetTeachersCount","AgentArea_Api_Teacher_GetWidgetTeachersCount","getTeachers","AgentArea_Api_Teacher_SetTeacherConfirmed","AgentArea_Api_Teacher_SetTeacherRejected","AgentArea_Api_Teacher_GetTeacher","getWidgetOrders","AgentArea_Api_Order_GetWidgetOrders","getOrders","AgentArea_Api_Order_GetOrders","AgentArea_Api_Order_SetOrderConfirmed","AgentArea_Api_Order_SetOrderDeleted","AgentArea_Api_Order_GetOrder","AgentArea_Api_Order_GetOrderStatuses","getOrderTypes","AgentArea_Api_Order_GetOrderTypes","AgentArea_Api_Order_GetOrderSubTypes","AgentArea_Api_Order_SetOrder","AgentArea_Api_Order_GetProductList","AgentArea_Api_Order_GetProductCategories","AgentArea_Api_Order_GetProductSubCategories","getOrderProductDetail","AgentArea_Api_Order_GetOrderProductDetail","getOrderProductRelatedNews","AgentArea_Api_Order_GetOrderProductRelatedNewsList","getOrderRelatedProducts","AgentArea_Api_Order_GetOrderRelatedProducts","AgentArea_Api_Order_GetOrderYears","AgentArea_Api_Order_GetVoidIdMaster","importOrderFile","AgentArea_Api_Order_ImportOrderFile","importStockFile","AgentArea_Api_Order_ImportStockFile","store","registerModule","SearchStore","MagazineStore","CatalogueStore","CommunicationStore","ProfileStore","TeacherStore","setToasts","onAddToast","OrderStore","instances","pages","viewModels","BasePage","initRequestVerificationToken","DataWeb","default","DataWebConfig","userCulture","registerRoutes","registerStoreModules","resetCssAnimations","setResponsive","antiforgerytoken","common","loaders","preLoaders","querySelectorAll","openSearchButtons","closeSearchButtons","wrapTap","openMenuButton","menuBox","categories","subCategoriesList","subCategoriesBackButton"],"sourceRoot":""}