{"version":3,"sources":["webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/EntrancePlantStructureBuilding.scss?0d65","webpack:///./src/assets/images/icons/icon-ellipsis-v.svg","webpack:///./src/assets/images/icons/icon-less.svg","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.vue?b090","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.ts","webpack:///./src/views/components/DialogConfirmDelete/DialogConfirmDelete.vue","webpack:///./node_modules/core-js/modules/es.regexp.constructor.js","webpack:///./src/assets/images/icons/icon-add.svg","webpack:///./src/core/utils/EntrancePlant/denomination-helper.ts","webpack:///./src/assets/images/icons/icon-alert-medium-outline.svg","webpack:///./node_modules/core-js/modules/es.array.splice.js","webpack:///./src/assets/images/entrancePlants/icon-apartment.svg","webpack:///./src/views/components/NumberButtons/NumberButtons.vue?065c","webpack:///./src/views/components/NumberButtons/NumberButtons.ts","webpack:///./src/views/components/NumberButtons/NumberButtons.vue","webpack:///./src/core/utils/EntrancePlant/entrance-plant.utils.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/EntrancePlantStructureBuilding.vue?66a9","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/ApartmentItem/ApartmentItem.vue?070a","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/ApartmentItem/ApartmentItem.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/ApartmentItem/ApartmentItem.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/DialogAddEditApartment/DialogAddEditApartment.vue?ce0d","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/DialogAddEditApartment/DialogAddEditApartment.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/DialogAddEditApartment/DialogAddEditApartment.vue","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/EntrancePlantStructureBuilding.ts","webpack:///./src/views/pages/EntrancePlantDetail/EntrancePlantSettings/EntrancePlantStructure/EntrancePlantStructureBuilding/EntrancePlantStructureBuilding.vue","webpack:///./src/views/components/NumberButtons/NumberButtons.scss?580f","webpack:///./node_modules/lodash.debounce/index.js"],"names":["module","exports","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","render","_ctx","_cache","$props","$setup","$data","$options","_component_InlineSvgScoped","_component_Button","_component_Dialog","visible","isDialogVisible","$event","onHide","doHideDialog","modal","showHeader","closable","default","src","dialogTitle","dialogMessage","onClick","handleHideDialog","$t","_","doConfirm","this","title","message","isVisible","$emit","name","props","type","Boolean","required","String","watch","newValue","emits","__exports__","DESCRIPTORS","global","isForced","inheritIfRequired","defineProperty","f","getOwnPropertyNames","isRegExp","getFlags","stickyHelpers","redefine","fails","setInternalState","set","setSpecies","wellKnownSymbol","MATCH","NativeRegExp","RegExp","RegExpPrototype","prototype","re1","re2","CORRECT_NEW","UNSUPPORTED_Y","FORCED","RegExpWrapper","pattern","flags","sticky","thisIsRegExp","patternIsRegExp","flagsAreUndefined","undefined","constructor","source","call","indexOf","replace","result","proxy","key","configurable","get","it","keys","index","length","toLabel","denominationMode","maxCount","Letters","convertIndexToLetters","toString","padStart","div","Math","floor","mod","$","toAbsoluteIndex","toInteger","toLength","toObject","arraySpeciesCreate","createProperty","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","max","min","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","target","proto","forced","splice","start","deleteCount","insertCount","actualDeleteCount","A","k","from","to","O","len","actualStart","argumentsLength","arguments","TypeError","light","lightTheme","disabled","disableDecrease","setValue","modelValue","tabindex","minValue","maxValue","allowNegative","Number","CallMode","EPDeviceTypeEnum","addressBookSortingOptions","Object","reduce","t","isNaN","push","code","noAppartmentOptions","Array","label","value","distributeApartmentsToRaisersAndFloors","structure","risers","distribution","distributeElementsInGroups","numberOfApartments","riser","riserIndex","numberOfApartmentsInRiser","distributeApartmentsToFloors","floors","floorsWithoutRiser","floorIndex","numberOfElements","numberOfGroups","Error","numberOfElementsInGroup","groupsWithExtraElement","groupIndex","elementsInGroup","getDeviceIconFromType","isCodeCorrectValue","codeRequiredLength","regex","test","loadRisersFloorsApartments","building","filter","riserId","floorsApartments","apartments","apartment","floorId","_hoisted_6","_hoisted_7","_hoisted_8","_component_router_link","_component_Divider","_component_ElDropdownItem","_component_ElDropdownMenu","_component_ElDropdown","_component_InputText","_component_ApartmentItem","_component_ElScrollbar","_component_TabPanel","_component_TabView","_component_DialogAddEditBuilding","_component_DialogAddEditApartment","_component_DialogConfirmDelete","backLink","layout","trigger","placement","dropdown","style","toggleAddApartment","toggleAddEditBuilding","toggleDeleteBuildingConfirm","currentEntrancePlant","syncStatus","isPlantActive","addressingType","AddressingType","BuildingRiserFloorApartment","buildingStructure","riserTab","header","floorsection","verifyValidityOfName","apartmentIndex","onEditApartment","toggleEditApartment","isVisibleAddEditBuilding","buildingToEdit","onHideDialog","onUpdateList","handleUpdateList","isVisibleAddEditApartment","apartmentToEdit","hideAddEditApartment","isVisibleDeleteBuildingConfirm","onConfirm","handleDeleteBuilding","_hoisted_9","_component_Card","content","gates","gate","editApartment","apartmentGates","forEach","apartmentId","includes","computed","for","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_component_NumberButtons","_component_Dropdown","isEdit","isBrfa","inputLabel","id","isValidName","invalidNameReason","newApartments","onIncrement","onDecrement","options","optionLabel","selectedRiser","updateApartment","riserFloors","optionValue","buttonSubmitLabel","handleButtonSubmitAction","saveButtonDisabled","apartmentFloor","find","selectRiser","buildingId","defaultFloor","getNewApartmentName","trim","loadRisersFloorApartment","apart","findIndex","buildings","denominationBuildings","brfaBlockDigits","denominationRisers","brfaRiserDigits","denominationFloors","brfaFloorDigits","denominationApartments","brfaApartmentDigits","nameToCheck","listToCheck","exist","some","existing","toLowerCase","isBeenEdited","saveApartment","$toast","add","severity","summary","life","setTimeout","desktopId","$store","dispatch","apartmentPUT","newBuildingsApartments","apartmentsCount","apartmentbrfa","apartmentPOST","console","log","initApartment","components","NumberButtons","params","$route","plantBuilding","newName","validName","isValidEntityTypeName","updateFloorName","forcefullyRenameFirstEntityWithinCachedOnes","$emitter","emit","buildingsCreate","epBuilding","editingIndex","editing","$router","ApartmentItem","DialogAddEditBuilding","DialogAddEditApartment","DialogConfirmDelete","FUNC_ERROR_TEXT","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","freeSelf","self","root","Function","objectProto","objectToString","nativeMax","nativeMin","now","Date","debounce","func","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","apply","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","toNumber","isObject","isObjectLike","isSymbol","other","valueOf","isBinary","slice"],"mappings":"yIAAA,W,uBCAAA,EAAOC,QAAU,IAA0B,oC,gDCA3CD,EAAOC,QAAU,IAA0B,8B,oDCErCC,EAAa,CAAEC,MAAO,wBACtBC,EAAa,CAAED,MAAO,yBACtBE,EAAa,CAAEF,MAAO,2BACtBG,EAA0B,yBAAa,KAAM,KAAM,MAAO,GAC1DC,EAAa,CAAEJ,MAAO,0BAEtB,SAAUK,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAA6B,8BAAkB,mBAC/CC,EAAoB,8BAAkB,UACtCC,EAAoB,8BAAkB,UAE5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AS5H,KACXuG,IAAYvG,EAAQuG,QACpBC,EAAS,YAAaxG,EACtBmG,EAAUK,EAASd,EAAUiC,EAAS3H,EAAQmG,UAAY,EAAGH,GAAQG,EACrEM,EAAW,aAAczG,IAAYA,EAAQyG,SAAWA,GAiG1DgB,EAAUH,OAASA,EACnBG,EAAUD,MAAQA,EACXC,EA4BT,SAASG,EAAS3O,GAChB,IAAIzH,SAAcyH,EAClB,QAASA,IAAkB,UAARzH,GAA4B,YAARA,GA2BzC,SAASqW,EAAa5O,GACpB,QAASA,GAAyB,iBAATA,EAoB3B,SAAS6O,EAAS7O,GAChB,MAAuB,iBAATA,GACX4O,EAAa5O,IAAUwM,EAAerR,KAAK6E,IAAU2L,EA0B1D,SAAS+C,EAAS1O,GAChB,GAAoB,iBAATA,EACT,OAAOA,EAET,GAAI6O,EAAS7O,GACX,OAAO0L,EAET,GAAIiD,EAAS3O,GAAQ,CACnB,IAAI8O,EAAgC,mBAAjB9O,EAAM+O,QAAwB/O,EAAM+O,UAAY/O,EACnEA,EAAQ2O,EAASG,GAAUA,EAAQ,GAAMA,EAE3C,GAAoB,iBAAT9O,EACT,OAAiB,IAAVA,EAAcA,GAASA,EAEhCA,EAAQA,EAAM3E,QAAQuQ,EAAQ,IAC9B,IAAIoD,EAAWlD,EAAWrK,KAAKzB,GAC/B,OAAQgP,GAAYjD,EAAUtK,KAAKzB,GAC/BgM,EAAahM,EAAMiP,MAAM,GAAID,EAAW,EAAI,GAC3CnD,EAAWpK,KAAKzB,GAAS0L,GAAO1L,EAGvCnK,EAAOC,QAAU+W,I","file":"js/page-entranceplant-structure-building.6e86e314.js","sourcesContent":["export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./EntrancePlantStructureBuilding.scss?vue&type=style&index=0&lang=scss\"","module.exports = __webpack_public_path__ + \"img/icon-ellipsis-v.6e5f7bcb.svg\";","module.exports = __webpack_public_path__ + \"img/icon-less.55ded922.svg\";","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bt-icon text-primary\" }\nconst _hoisted_2 = { class: \"dialog-confirm__title\" }\nconst _hoisted_3 = { class: \"dialog-confirm__message\" }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"hr\", null, null, -1)\nconst _hoisted_5 = { class: \"dialog-confirm__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-confirm\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_1, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/icons/icon-alert-medium-outline.svg`)\n ,\n \"aria-label\": \"icon-alert-medium-outline\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"h5\", _hoisted_2, _toDisplayString(_ctx.dialogTitle), 1),\n _createVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.dialogMessage), 1),\n _hoisted_4,\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_Button, {\n class: \"p-button-text p-button-secondary text-uppercase mr-2\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_Button, {\n class: \"p-button-rounded p-button--m\",\n onClick: _ctx.doConfirm\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Ok\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'DialogConfirmDelete',\n props: {\n isVisible: {\n type: Boolean,\n required: true,\n },\n title: {\n type: String,\n required: true,\n },\n message: {\n type: String,\n required: true,\n },\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n },\n },\n emits: ['hide-dialog', 'confirm'],\n})\nexport default class DialogConfirmDelete extends Vue {\n isVisible!: boolean;\n title!: string;\n message!: string;\n isDialogVisible = false;\n\n get dialogTitle() {\n return this.title;\n }\n\n get dialogMessage() {\n return this.message;\n }\n\n mounted() {\n this.isDialogVisible = this.isVisible;\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n doConfirm() {\n this.$emit('confirm');\n this.handleHideDialog();\n }\n}\n","import { render } from \"./DialogConfirmDelete.vue?vue&type=template&id=009d4b24&ts=true\"\nimport script from \"./DialogConfirmDelete.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogConfirmDelete.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","var DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isRegExp = require('../internals/is-regexp');\nvar getFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar setInternalState = require('../internals/internal-state').set;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\n\nvar FORCED = DESCRIPTORS && isForced('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n})));\n\n// `RegExp` constructor\n// https://tc39.es/ecma262/#sec-regexp-constructor\nif (FORCED) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = this instanceof RegExpWrapper;\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var sticky;\n\n if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {\n return pattern;\n }\n\n if (CORRECT_NEW) {\n if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;\n } else if (pattern instanceof RegExpWrapper) {\n if (flagsAreUndefined) flags = getFlags.call(pattern);\n pattern = pattern.source;\n }\n\n if (UNSUPPORTED_Y) {\n sticky = !!flags && flags.indexOf('y') > -1;\n if (sticky) flags = flags.replace(/y/g, '');\n }\n\n var result = inheritIfRequired(\n CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),\n thisIsRegExp ? this : RegExpPrototype,\n RegExpWrapper\n );\n\n if (UNSUPPORTED_Y && sticky) setInternalState(result, { sticky: sticky });\n\n return result;\n };\n var proxy = function (key) {\n key in RegExpWrapper || defineProperty(RegExpWrapper, key, {\n configurable: true,\n get: function () { return NativeRegExp[key]; },\n set: function (it) { NativeRegExp[key] = it; }\n });\n };\n var keys = getOwnPropertyNames(NativeRegExp);\n var index = 0;\n while (keys.length > index) proxy(keys[index++]);\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n redefine(global, 'RegExp', RegExpWrapper);\n}\n\n// https://tc39.es/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');\n","module.exports = __webpack_public_path__ + \"img/icon-add.e7fd00be.svg\";","import { DenominationMode } from '@/../client-generator/generated-clients/plants';\n\nconst toLabel = (\n index: number,\n denominationMode: DenominationMode | undefined,\n maxCount: number = 0\n) => {\n return denominationMode == DenominationMode.Letters\n ? convertIndexToLetters(index)\n : index.toString().padStart(maxCount, '0');\n};\n\nfunction convertIndexToLetters(index: number): string {\n if (index == 0) return '';\n\n const div = Math.floor((index - 1) / 26);\n const mod = (index - 1) % 26;\n const Letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\n return convertIndexToLetters(div) + Letters[mod];\n}\n\nexport { toLabel };\n","module.exports = __webpack_public_path__ + \"img/icon-alert-medium-outline.b8add9d7.svg\";","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","module.exports = __webpack_public_path__ + \"img/icon-apartment.5ae334cb.svg\";","import { resolveComponent as _resolveComponent, createVNode as _createVNode, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n\n return (_openBlock(), _createBlock(\"div\", {\n class: [\"number-buttons\", {light: _ctx.lightTheme}]\n }, [\n _createVNode(\"button\", {\n class: \"number-buttons__button btn-stripped\",\n type: \"button\",\n disabled: _ctx.disableDecrease,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.setValue(_ctx.modelValue - 1)))\n }, [\n _createVNode(_component_InlineSvgScoped, {\n src: require('@/assets/images/icons/icon-less.svg'),\n \"aria-label\": \"icon-less\"\n }, null, 8, [\"src\"])\n ], 8, [\"disabled\"]),\n _withDirectives(_createVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.modelValue = $event)),\n class: \"number-buttons__input\",\n tabindex: \"-1\"\n }, null, 512), [\n [_vModelText, _ctx.modelValue]\n ]),\n _createVNode(\"button\", {\n class: \"number-buttons__button btn-stripped\",\n type: \"button\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.setValue(_ctx.modelValue + 1)))\n }, [\n _createVNode(_component_InlineSvgScoped, {\n src: require('@/assets/images/icons/icon-add.svg'),\n \"aria-label\": \"icon-add\"\n }, null, 8, [\"src\"])\n ])\n ], 2))\n}","import { Vue, Options } from 'vue-class-component';\n\n@Options({\n name: 'NumberButtons',\n props: {\n modelValue: {\n type: Number,\n default: 1,\n required: true,\n },\n allowNegative: {\n type: Boolean,\n default: false,\n },\n disableDecrease: {\n type: Boolean,\n default: false,\n },\n minValue: {\n required: false,\n type: Number,\n },\n maxValue: {\n required: false,\n type: Number,\n },\n lightTheme: {\n type: Boolean,\n default: false,\n },\n },\n emits: ['update:modelValue', 'input', 'increment', 'decrement'],\n})\nexport default class NumberButtons extends Vue {\n modelValue!: number;\n allowNegative!: boolean;\n disableDecrease!: boolean;\n minValue!: number;\n maxValue!: number;\n lightTheme!: boolean;\n\n setValue(newValue: number) {\n if (typeof this.minValue !== 'undefined' && newValue < this.minValue)\n return;\n if (typeof this.maxValue !== 'undefined' && newValue > this.maxValue)\n return;\n\n if (newValue < 0 && !this.allowNegative) return;\n\n this.$emit('update:modelValue', newValue);\n this.$emit('input', newValue);\n\n if (newValue > this.modelValue) this.$emit('increment');\n else this.$emit('decrement');\n }\n}\n","import { render } from \"./NumberButtons.vue?vue&type=template&id=74e2114f&ts=true\"\nimport script from \"./NumberButtons.ts?vue&type=script&lang=ts\"\nexport * from \"./NumberButtons.ts?vue&type=script&lang=ts\"\n\nimport \"./NumberButtons.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {\n RFAConfigDTO,\n FloorConfigDTO,\n RiserDTO,\n FloorDTO,\n ApartmentDTO,\n BuildingDTO,\n AddressBookSorting,\n} from '@/../client-generator/generated-clients/plants';\n\ninterface RiserFloorsApartments {\n riser: RiserDTO;\n floors: { floor: FloorDTO; apartments: ApartmentDTO[] }[];\n}\n\nenum CallMode {\n Address = 0,\n Brfa = 1,\n DirectCall = 2,\n}\n\nenum EPDeviceTypeEnum\n{\n linea5000 = 0,\n KeyPad = 1,\n SmartAccess = 2\n}\n\nconst addressBookSortingOptions = Object.keys(AddressBookSorting).reduce(\n (t: any, k: any) => {\n if (!isNaN(+k)) {\n t.push({\n name: AddressBookSorting[k],\n code: +k,\n });\n }\n return t;\n },\n []\n);\n\nconst noAppartmentOptions = Array.from({ length: 3999 }, (_, index) => ({\n label: (index + 1).toString(),\n value: index + 1,\n}));\n\nconst distributeApartmentsToRaisersAndFloors = (structure: RFAConfigDTO) => {\n if (!structure.risers) return;\n if (structure.risers.length > 0) {\n var distribution = distributeElementsInGroups(\n structure.numberOfApartments!,\n structure.risers.length\n );\n for (let riser of structure.risers) {\n const riserIndex = structure.risers.indexOf(riser);\n const numberOfApartmentsInRiser = distribution[riserIndex];\n distributeApartmentsToFloors(riser.floors!, numberOfApartmentsInRiser);\n }\n } else {\n distributeApartmentsToFloors(\n structure.floorsWithoutRiser!,\n structure.numberOfApartments!\n );\n }\n};\n\nfunction distributeApartmentsToFloors(\n floors: FloorConfigDTO[],\n numberOfApartments: number\n) {\n var distribution = distributeElementsInGroups(\n numberOfApartments,\n floors.length\n );\n for (let floor of floors) {\n var floorIndex = floors.indexOf(floor);\n floor.numberOfApartments = distribution[floorIndex];\n }\n}\n\nfunction distributeElementsInGroups(\n numberOfElements: number,\n numberOfGroups: number\n): number[] {\n if (numberOfGroups < 1) throw new Error('Out of range');\n\n if (numberOfElements < 1)\n return Array.from({ length: numberOfGroups }, () => 0);\n\n const numberOfElementsInGroup = (numberOfElements / numberOfGroups) >> 0;\n const groupsWithExtraElement = numberOfElements % numberOfGroups;\n\n const distribution: number[] = [];\n for (let groupIndex = 0; groupIndex < numberOfGroups; groupIndex++) {\n const elementsInGroup =\n groupIndex < groupsWithExtraElement\n ? numberOfElementsInGroup + 1\n : numberOfElementsInGroup;\n distribution.push(elementsInGroup);\n }\n return distribution;\n}\n\nfunction getDeviceIconFromType(t: number | undefined): string {\n switch (t) {\n case 0:\n return 'entrancePlants/icon-new-pe';\n case 1:\n return 'entrancePlants/icon-keypad';\n case 2:\n return 'entrancePlants/icon-smart-reader';\n default:\n return '';\n }\n}\n\nfunction isCodeCorrectValue(code: string, codeRequiredLength: number = 5) {\n const regex = new RegExp(`[0-9]{${codeRequiredLength}}`);\n if (!code) return false;\n return code.length === codeRequiredLength && regex.test(code);\n}\n\nfunction loadRisersFloorsApartments(building: BuildingDTO) {\n const risers: RiserFloorsApartments[] = [];\n if (building?.risers === undefined) return risers;\n\n for (const riser of building.risers) {\n const floors = building.floors!.filter(\n (floor) => floor.riserId === riser.riserId\n );\n const floorsApartments: {\n floor: FloorDTO;\n apartments: ApartmentDTO[];\n }[] = [];\n for (const floor of floors) {\n const apartments = building.apartments!.filter(\n (apartment) => apartment.floorId === floor.floorId\n );\n floorsApartments.push({ floor: floor, apartments: apartments });\n }\n\n risers.push({\n riser: riser,\n floors: floorsApartments,\n });\n }\n return risers;\n}\n\nexport {\n distributeApartmentsToRaisersAndFloors,\n loadRisersFloorsApartments,\n addressBookSortingOptions,\n getDeviceIconFromType,\n noAppartmentOptions,\n isCodeCorrectValue,\n EPDeviceTypeEnum,\n CallMode,\n};","import { createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex align-items-start\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-chevron-left mr-1\" }, null, -1)\nconst _hoisted_3 = {\n key: 0,\n class: \"mt-2\"\n}\nconst _hoisted_4 = { class: \"ml-auto d-flex align-items-center\" }\nconst _hoisted_5 = { class: \"text-danger\" }\nconst _hoisted_6 = { class: \"floor-title form-custom\" }\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr apartments-section\" }, null, -1)\nconst _hoisted_8 = { class: \"mt-3\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_Divider = _resolveComponent(\"Divider\")\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_ElDropdownItem = _resolveComponent(\"ElDropdownItem\")\n const _component_ElDropdownMenu = _resolveComponent(\"ElDropdownMenu\")\n const _component_ElDropdown = _resolveComponent(\"ElDropdown\")\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_ApartmentItem = _resolveComponent(\"ApartmentItem\")\n const _component_ElScrollbar = _resolveComponent(\"ElScrollbar\")\n const _component_TabPanel = _resolveComponent(\"TabPanel\")\n const _component_TabView = _resolveComponent(\"TabView\")\n const _component_DialogAddEditBuilding = _resolveComponent(\"DialogAddEditBuilding\")\n const _component_DialogAddEditApartment = _resolveComponent(\"DialogAddEditApartment\")\n const _component_DialogConfirmDelete = _resolveComponent(\"DialogConfirmDelete\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"header\", null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", null, [\n _createVNode(_component_router_link, {\n to: _ctx.backLink,\n class: \"fs-18 text-decoration-none text-gray\"\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(\"general.backTo\")) + \": \" + _toDisplayString(_ctx.$t(\"AppResourceEP.Structure\")), 1)\n ]),\n _: 1\n }, 8, [\"to\"]),\n (_ctx.building)\n ? (_openBlock(), _createBlock(\"h1\", _hoisted_3, _toDisplayString(_ctx.building.name), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_Divider, { layout: \"vertical\" }),\n _createVNode(_component_ElDropdown, {\n trigger: \"click\",\n placement: \"bottom-end\",\n \"popper-class\": \"el-dropdown__popper el-dropdown--context\"\n }, {\n dropdown: _withCtx(() => [\n _createVNode(_component_ElDropdownMenu, { style: {\"width\":\"300px\"} }, {\n default: _withCtx(() => [\n _createVNode(_component_ElDropdownItem, { onClick: _ctx.toggleAddApartment }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.AddApartments\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_ElDropdownItem, { onClick: _ctx.toggleAddEditBuilding }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResourceEP.Rename\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_ElDropdownItem, { onClick: _ctx.toggleDeleteBuildingConfirm }, {\n default: _withCtx(() => [\n _createVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.$t(\"AppResource.Delete\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Button, {\n disabled: _ctx.currentEntrancePlant.syncStatus?.isPlantActive,\n class: \"p-button-text p-button-secondary p-1\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require('@/assets/images/icons/icon-ellipsis-v.svg')\n ,\n \"aria-label\": \"icon-ellipsis-v\"\n }, null, 8, [\"src\"])\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n })\n ])\n ])\n ]),\n (\n _ctx.currentEntrancePlant.addressingType ==\n _ctx.AddressingType.BuildingRiserFloorApartment\n )\n ? (_openBlock(), _createBlock(_component_TabView, {\n key: 0,\n class: \"p-tabview--custom tab-riser-select mb-2\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.buildingStructure, (riserTab, riserIndex) => {\n return (_openBlock(), _createBlock(_component_TabPanel, {\n key: riserIndex,\n header: riserTab.riser.name\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ElScrollbar, { class: \"apartments-cards-list__brfa\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(riserTab.floors, (floorsection, floorIndex) => {\n return (_openBlock(), _createBlock(\"div\", {\n key: floorIndex,\n class: \"mb-5\"\n }, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(_component_InputText, {\n class: \"fs-18 text-gray text-uppercase ml-3\",\n modelValue: floorsection.floor.name,\n \"onUpdate:modelValue\": ($event: any) => (\n _ctx.verifyValidityOfName(\n $event,\n floorsection.floor\n )\n )\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _hoisted_7\n ]),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(floorsection.apartments, (apartment, apartmentIndex) => {\n return (_openBlock(), _createBlock(_component_ApartmentItem, {\n class: \"apartment-card\",\n key: apartmentIndex,\n apartment: apartment,\n onEditApartment: _ctx.toggleEditApartment\n }, null, 8, [\"apartment\", \"onEditApartment\"]))\n }), 128))\n ]))\n }), 128))\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"header\"]))\n }), 128))\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_ElScrollbar, {\n key: 1,\n class: \"apartments-cards-list\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"div\", _hoisted_8, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.apartments, (apartment, index) => {\n return (_openBlock(), _createBlock(_component_ApartmentItem, {\n class: \"apartment-card\",\n key: index,\n apartment: apartment,\n onEditApartment: _ctx.toggleEditApartment\n }, null, 8, [\"apartment\", \"onEditApartment\"]))\n }), 128))\n ])\n ]),\n _: 1\n })),\n _createVNode(_component_DialogAddEditBuilding, {\n isVisible: _ctx.isVisibleAddEditBuilding,\n buildingToEdit: _ctx.building,\n onHideDialog: _ctx.toggleAddEditBuilding,\n onUpdateList: _ctx.handleUpdateList\n }, null, 8, [\"isVisible\", \"buildingToEdit\", \"onHideDialog\", \"onUpdateList\"]),\n _createVNode(_component_DialogAddEditApartment, {\n building: _ctx.building,\n isVisible: _ctx.isVisibleAddEditApartment,\n apartmentToEdit: _ctx.apartmentToEdit,\n onHideDialog: _ctx.hideAddEditApartment,\n onUpdateList: _ctx.handleUpdateList\n }, null, 8, [\"building\", \"isVisible\", \"apartmentToEdit\", \"onHideDialog\", \"onUpdateList\"]),\n _createVNode(_component_DialogConfirmDelete, {\n \"is-visible\": _ctx.isVisibleDeleteBuildingConfirm,\n title: _ctx.$t('AppResourceEP.BuildingDeletionPopupTitle'),\n message: _ctx.$t('AppResourceEP.BuildingDeletionPopupMessage'),\n onHideDialog: _ctx.toggleDeleteBuildingConfirm,\n onConfirm: _ctx.handleDeleteBuilding\n }, null, 8, [\"is-visible\", \"title\", \"message\", \"onHideDialog\", \"onConfirm\"])\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"card__head d-flex aling-items-center\" }\nconst _hoisted_2 = { class: \"d-flex aling-items-center ml-2\" }\nconst _hoisted_3 = { class: \"bt-icon my-auto bt-icon--m\" }\nconst _hoisted_4 = { class: \"ml-3\" }\nconst _hoisted_5 = { class: \"mt-1 mb-0\" }\nconst _hoisted_6 = { class: \"my-0 text-gray\" }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InlineSvgScoped = _resolveComponent(\"InlineSvgScoped\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Card = _resolveComponent(\"Card\")\n\n return (_openBlock(), _createBlock(_component_Card, { class: \"card--slim\" }, {\n content: _withCtx(() => [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"span\", _hoisted_3, [\n _createVNode(_component_InlineSvgScoped, {\n src: \n require(`@/assets/images/entrancePlants/icon-apartment.svg`)\n ,\n \"aria-label\": \"icon-apartment\"\n }, null, 8, [\"src\"])\n ]),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"h6\", _hoisted_5, _toDisplayString(_ctx.apartment.name), 1),\n _createVNode(\"small\", _hoisted_6, [\n (_ctx.gates.length>1)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_7, _toDisplayString(`${_ctx.$t(\"AppResourceEP.Gates\")}: `), 1))\n : (_openBlock(), _createBlock(\"span\", _hoisted_8, _toDisplayString(`${_ctx.$t(\"AppResourceEP.Gate\")}: `), 1)),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.gates, (gate, index) => {\n return (_openBlock(), _createBlock(\"span\", { key: index }, [\n _createTextVNode(_toDisplayString(gate), 1),\n (index < _ctx.gates.length - 1)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_9, \", \"))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ])\n ])\n ]),\n _createVNode(_component_Button, {\n disabled: _ctx.currentEntrancePlant.syncStatus?.isPlantActive,\n label: _ctx.$t('AppResource.Edit'),\n class: \"p-button-text ml-auto mr-1\",\n onClick: _ctx.editApartment\n }, null, 8, [\"disabled\", \"label\", \"onClick\"])\n ])\n ]),\n _: 1\n }))\n}","import { mapState } from 'vuex';\nimport {\n ApartmentDTO,\n EntrancePlantDetailDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { Options, Vue } from 'vue-class-component';\n\n@Options({\n name: 'ApartmentItem',\n props: {\n apartment: {\n type: ApartmentDTO,\n required: true,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n emits: ['edit-apartment'],\n})\nexport default class ApartmentItem extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n apartment!: ApartmentDTO;\n\n get gates() {\n let apartmentGates: string[] = [];\n this.currentEntrancePlant.gates?.forEach((gate) => {\n if (\n gate.name !== undefined &&\n this.apartment.apartmentId !== undefined &&\n gate.apartments?.includes(this.apartment.apartmentId)\n ) {\n apartmentGates.push(gate.name);\n }\n });\n\n return apartmentGates;\n }\n\n editApartment() {\n this.$emit('edit-apartment', this.apartment);\n }\n}\n","import { render } from \"./ApartmentItem.vue?vue&type=template&id=f0e398fe&ts=true\"\nimport script from \"./ApartmentItem.ts?vue&type=script&lang=ts\"\nexport * from \"./ApartmentItem.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createTextVNode as _createTextVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-custom__header mb-4\" }\nconst _hoisted_2 = { class: \"dialog-custom__title\" }\nconst _hoisted_3 = { class: \"dialog-custom__content form-custom\" }\nconst _hoisted_4 = { style: {\"width\":\"450px\",\"height\":\"400px\"} }\nconst _hoisted_5 = {\n key: 0,\n class: \"p-field\"\n}\nconst _hoisted_6 = {\n class: \"p-field-label\",\n for: \"apartmentname\"\n}\nconst _hoisted_7 = {\n for: \"apartmentname\",\n class: \"fs-13 label-error\"\n}\nconst _hoisted_8 = {\n key: 1,\n class: \"d-flex align-items-start\"\n}\nconst _hoisted_9 = { class: \"p-field\" }\nconst _hoisted_10 = { class: \"p-field-label\" }\nconst _hoisted_11 = { class: \"p-field\" }\nconst _hoisted_12 = { class: \"p-field-label\" }\nconst _hoisted_13 = { class: \"dialog-custom__footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_NumberButtons = _resolveComponent(\"NumberButtons\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Dialog = _resolveComponent(\"Dialog\")\n\n return (_openBlock(), _createBlock(_component_Dialog, {\n visible: _ctx.isDialogVisible,\n \"onUpdate:visible\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.isDialogVisible = $event)),\n onHide: _ctx.doHideDialog,\n modal: true,\n showHeader: false,\n closable: false,\n class: \"dialog-custom\"\n }, {\n default: _withCtx(() => [\n _createVNode(\"header\", _hoisted_1, [\n _createVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.dialogTitle), 1)\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n (_ctx.isEdit || _ctx.isBrfa)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_5, [\n _createVNode(\"label\", _hoisted_6, _toDisplayString(_ctx.inputLabel), 1),\n _createVNode(_component_InputText, {\n disabled: _ctx.isBrfa,\n id: \"apartmentname\",\n type: \"text\",\n class: [\"w-100\", { 'input-error': !_ctx.isValidName }],\n modelValue: _ctx.apartment.name,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.apartment.name = $event))\n }, null, 8, [\"disabled\", \"modelValue\", \"class\"]),\n _createVNode(\"label\", _hoisted_7, _toDisplayString(_ctx.invalidNameReason), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isEdit && !_ctx.isBrfa)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_8, [\n _createVNode(\"label\", null, _toDisplayString(_ctx.$t(\"AppResourceEP.ChooseApartmentsToAdd\")), 1),\n _createVNode(_component_NumberButtons, {\n class: \"ml-auto\",\n modelValue: _ctx.newApartments,\n \"min-value\": 1,\n onIncrement: _cache[2] || (_cache[2] = ($event: any) => (_ctx.newApartments++)),\n onDecrement: _cache[3] || (_cache[3] = ($event: any) => (_ctx.newApartments--))\n }, null, 8, [\"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isBrfa)\n ? (_openBlock(), _createBlock(_Fragment, { key: 2 }, [\n _createVNode(\"div\", _hoisted_9, [\n _createVNode(\"label\", _hoisted_10, _toDisplayString(_ctx.$t(\"AppResourceEP.Riser\")), 1),\n _createVNode(_component_Dropdown, {\n class: \"w-100\",\n options: _ctx.building.risers,\n disabled: _ctx.building.risers && _ctx.building.risers.length === 1,\n optionLabel: \"name\",\n modelValue: _ctx.selectedRiser,\n \"onUpdate:modelValue\": [\n _cache[4] || (_cache[4] = ($event: any) => (_ctx.selectedRiser = $event)),\n _ctx.updateApartment\n ]\n }, null, 8, [\"options\", \"disabled\", \"modelValue\", \"onUpdate:modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(\"label\", _hoisted_12, _toDisplayString(_ctx.$t(\"AppResourceEP.Floor\")), 1),\n _createVNode(_component_Dropdown, {\n class: \"w-100\",\n options: _ctx.riserFloors,\n disabled: _ctx.riserFloors.length === 1,\n optionLabel: \"floor.name\",\n optionValue: \"floor.floorId\",\n modelValue: _ctx.apartment.floorId,\n \"onUpdate:modelValue\": [\n _cache[5] || (_cache[5] = ($event: any) => (_ctx.apartment.floorId = $event)),\n _ctx.updateApartment\n ]\n }, null, 8, [\"options\", \"disabled\", \"modelValue\", \"onUpdate:modelValue\"])\n ])\n ], 64))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"footer\", _hoisted_13, [\n _createVNode(_component_Button, {\n class: \"p-button-text mr-2\",\n onClick: _ctx.handleHideDialog\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"AppResource.Cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_Button, {\n label: _ctx.buttonSubmitLabel,\n onClick: _ctx.handleButtonSubmitAction,\n class: \"p-button-rounded p-button-raised p-button--m\",\n disabled: _ctx.saveButtonDisabled\n }, null, 8, [\"label\", \"onClick\", \"disabled\"])\n ])\n ]),\n _: 1\n }, 8, [\"visible\", \"onHide\"]))\n}","import { PropType } from 'vue';\nimport plantsClient from '@/core/services/plants';\nimport { Options, Vue } from 'vue-class-component';\nimport {\n BuildingDTO,\n ApartmentDTO,\n BuildingCreateDTO,\n EntrancePlantDetailDTO,\n AddressingType,\n FloorDTO,\n RiserDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport NumberButtons from '@/views/components/NumberButtons/NumberButtons.vue';\nimport { mapState } from 'vuex';\nimport { toLabel } from '@/core/utils/EntrancePlant/denomination-helper';\n\n@Options({\n name: 'DialogAddEditApartment',\n props: {\n building: {\n type: Object as PropType,\n required: true,\n },\n isVisible: {\n type: Boolean,\n required: true,\n },\n apartmentToEdit: {\n type: Object as PropType,\n required: false,\n },\n },\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n watch: {\n isVisible: function (newValue) {\n this.isDialogVisible = newValue;\n if (this.isDialogVisible) {\n this.invalidNameReason = '';\n this.isValidName = true;\n this.initApartment();\n }\n },\n 'apartment.name': function () {\n if (this.apartment) {\n this.verifyValidityOfName();\n }\n },\n selectedRiser: function (value) {\n this.selectRiser(value);\n },\n },\n components: {\n NumberButtons,\n },\n emits: ['hide-dialog', 'update-list'],\n})\nexport default class DialogAddEditApartment extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n building!: BuildingDTO;\n apartmentToEdit!: ApartmentDTO;\n\n apartment: ApartmentDTO = new ApartmentDTO();\n\n newApartments = 0;\n\n isVisible!: boolean;\n isDialogVisible = false;\n isEdit = false;\n selectedRiser: RiserDTO = new RiserDTO();\n riserFloors: { floor: FloorDTO; apartments: ApartmentDTO[] }[] = [];\n isBrfa = false;\n\n // Naming validation props\n isValidName = true;\n invalidNameReason: string = '';\n\n mounted() {\n this.isBrfa =\n this.currentEntrancePlant.addressingType ===\n AddressingType.BuildingRiserFloorApartment;\n this.isDialogVisible = this.isVisible;\n }\n\n async initApartment() {\n if (this.apartmentToEdit) {\n this.isEdit = true;\n this.apartment = new ApartmentDTO(this.apartmentToEdit);\n if (this.isBrfa) {\n const apartmentFloor = this.building.floors?.find(\n (floor) => floor.floorId === this.apartment.floorId\n );\n const riser = this.building.risers?.find(\n (riser) => riser.riserId === apartmentFloor?.riserId\n );\n\n this.selectRiser(riser!);\n }\n } else {\n this.isEdit = false;\n if (this.isBrfa) {\n this.apartment = new ApartmentDTO();\n this.apartment.buildingId = this.building.buildingId;\n this.selectRiser(this.building.risers![0]);\n const defaultFloor = this.building.floors?.find(\n (floor) => floor.riserId === this.selectedRiser.riserId\n );\n this.apartment.floorId = defaultFloor!.floorId;\n this.apartment.name = this.getNewApartmentName();\n }\n this.newApartments = 1;\n }\n }\n\n handleHideDialog() {\n this.isDialogVisible = false;\n }\n\n doHideDialog() {\n this.$emit('hide-dialog');\n }\n\n get dialogTitle() {\n return this.isEdit\n ? this.$t('AppResourceEP.EditApartment')\n : this.$t('AppResourceEP.AddApartments');\n }\n\n get inputLabel() {\n let label = '';\n if (this.isEdit) {\n label = `${this.$t('AppResource.NameUpper')} ${this.$t(\n 'AppResourceEP.Apartment'\n )} ${this.building.apartments!.indexOf(this.apartmentToEdit) + 1}`;\n }\n return label;\n }\n\n get buttonSubmitLabel() {\n return this.$t('AppResource.Save');\n }\n\n get saveButtonDisabled() {\n if (this.isEdit) {\n return !this.isValidName || !this.apartment.name?.trim();\n } else {\n return this.newApartments < 1;\n }\n }\n\n get isBeenEdited() {\n return !this.isEdit || this.apartmentToEdit.name !== this.apartment.name;\n }\n\n selectRiser(riser: RiserDTO) {\n this.selectedRiser = riser;\n this.loadRisersFloorApartment();\n }\n\n loadRisersFloorApartment() {\n this.riserFloors = [];\n const floors = this.building.floors!.filter(\n (floor) => floor.riserId === this.selectedRiser.riserId\n );\n for (const floor of floors) {\n const apartments = this.building.apartments!.filter(\n (apart) => apart.floorId === floor.floorId\n );\n this.riserFloors.push({ floor: floor, apartments: apartments });\n }\n if (\n this.apartment.floorId === undefined ||\n this.riserFloors.findIndex(\n (riser) => riser.floor.floorId === this.apartment.floorId\n ) === -1\n ) {\n this.apartment.floorId = this.riserFloors[0].floor.floorId;\n this.updateApartment();\n }\n }\n\n updateApartment() {\n this.apartment.name = this.getNewApartmentName();\n }\n\n getNewApartmentName() {\n if (\n this.isEdit &&\n this.apartment.floorId === this.apartmentToEdit.floorId\n ) {\n return this.apartmentToEdit.name;\n } else {\n const floorIndex = this.riserFloors.findIndex(\n (riser) => riser.floor.floorId === this.apartment.floorId\n );\n return `${toLabel(\n this.currentEntrancePlant.buildings!.indexOf(this.building) + 1,\n this.currentEntrancePlant.denominationBuildings,\n this.currentEntrancePlant.brfaBlockDigits\n )}${toLabel(\n this.building.risers!.indexOf(this.selectedRiser) + 1,\n this.currentEntrancePlant.denominationRisers,\n this.currentEntrancePlant.brfaRiserDigits\n )}${toLabel(\n floorIndex + 1,\n this.currentEntrancePlant.denominationFloors,\n this.currentEntrancePlant.brfaFloorDigits\n )}${toLabel(\n this.riserFloors[floorIndex].apartments.length + 1,\n this.currentEntrancePlant.denominationApartments,\n this.currentEntrancePlant.brfaApartmentDigits\n )}`;\n }\n }\n\n verifyValidityOfName() {\n if (this.apartment.name === undefined) return;\n\n const nameToCheck = this.apartment.name.trim();\n let listToCheck = this.building.apartments || [];\n\n if (this.isEdit) {\n listToCheck = listToCheck.filter(\n (value) => value.apartmentId !== this.apartmentToEdit.apartmentId\n );\n }\n const exist = listToCheck.some(\n (existing) =>\n existing.name?.toLowerCase().trim() == nameToCheck.toLowerCase().trim()\n );\n this.isValidName = !exist;\n this.invalidNameReason = this.isValidName\n ? ''\n : this.$t('general.alreadyExisting');\n }\n\n async handleButtonSubmitAction() {\n this.isDialogVisible = false;\n if (this.isBeenEdited) {\n await this.saveApartment();\n }\n this.$emit('update-list');\n this.$toast.add({\n severity: 'success',\n summary: this.isEdit\n ? this.$t('entrancePlant.editedApartment')\n : this.$t('entrancePlant.apartmentsBannerCreated'),\n closable: false,\n life: 3000,\n });\n const summary = this.$t('general.synced');\n setTimeout(() => {\n this.$toast.add({\n severity: 'success',\n summary: summary,\n closable: false,\n life: 3000,\n });\n }, 1500);\n }\n\n async saveApartment() {\n if (this.currentEntrancePlant.desktopId === undefined) return;\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n if (this.isEdit) {\n await plantsClient.apartmentPUT(\n this.currentEntrancePlant.desktopId,\n this.apartment\n );\n } else {\n const newBuildingsApartments = new BuildingCreateDTO({\n buildingId: this.building.buildingId,\n apartmentsCount: this.newApartments,\n });\n\n if (this.isBrfa) {\n //save brfa apartment\n await plantsClient.apartmentbrfa(\n this.currentEntrancePlant.desktopId,\n this.apartment\n )\n } else {\n await plantsClient.apartmentPOST(\n this.currentEntrancePlant.desktopId,\n newBuildingsApartments\n );\n }\n }\n } catch (error) {\n console.log(error);\n setTimeout(() => {\n this.$toast.add({\n severity: 'error',\n summary: 'Error',\n closable: false,\n life: 3000,\n });\n }, 1500);\n } finally {\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n }\n}\n","import { render } from \"./DialogAddEditApartment.vue?vue&type=template&id=7f676b5c&ts=true\"\nimport script from \"./DialogAddEditApartment.ts?vue&type=script&lang=ts\"\nexport * from \"./DialogAddEditApartment.ts?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { mapState } from 'vuex';\nimport { Options, Vue } from 'vue-class-component';\nimport {\n AddressingType,\n ApartmentDTO,\n BuildingCreateDTO,\n EntrancePlantDetailDTO,\n EntrancePlantStructureCreateDTO,\n FloorDTO,\n} from '@/../client-generator/generated-clients/plants';\nimport ApartmentItem from './ApartmentItem/ApartmentItem.vue';\nimport DialogAddEditBuilding from '../DialogAddEditBuilding/DialogAddEditBuilding.vue';\nimport DialogAddEditApartment from './DialogAddEditApartment/DialogAddEditApartment.vue';\nimport plantsClient from '@/core/services/plants';\nimport { SET_APP_LOADING } from '@/core/store/action-types';\nimport DialogConfirmDelete from '@/views/components/DialogConfirmDelete/DialogConfirmDelete.vue';\nimport { loadRisersFloorsApartments } from '@/core/utils/EntrancePlant/entrance-plant.utils';\nimport { NamingService } from '@/core/services/naming.service';\nimport debounce from 'lodash.debounce';\nimport { NAME_VALIDATION_DEBOUNCE_TIME } from '@/core/utils/utils';\n\n@Options({\n name: 'EntrancePlantStructureBuilding',\n computed: {\n ...mapState(['currentEntrancePlant']),\n },\n components: {\n ApartmentItem,\n DialogAddEditBuilding,\n DialogAddEditApartment,\n DialogConfirmDelete,\n },\n emits: ['update-list'],\n})\nexport default class EntrancePlantStructureBuilding extends Vue {\n currentEntrancePlant!: EntrancePlantDetailDTO;\n\n isVisibleDeleteBuildingConfirm = false;\n apartmentToEdit: ApartmentDTO | null = null;\n isVisibleAddEditApartment = false;\n isVisibleAddEditBuilding = false;\n isValidName = true;\n\n AddressingType = AddressingType;\n\n async created() {\n this.verifyValidityOfName = debounce(\n this.verifyValidityOfName,\n NAME_VALIDATION_DEBOUNCE_TIME + 1000\n );\n }\n\n mounted() {}\n\n get backLink() {\n return {\n name: 'page-entranceplant-settings',\n params: this.$route.params,\n };\n }\n\n get building() {\n return this.currentEntrancePlant.buildings!.find(\n (plantBuilding) =>\n plantBuilding.buildingId === this.$route.params.buildingId.toString()\n );\n }\n\n get apartments() {\n return this.building?.apartments;\n }\n\n get buildingStructure() {\n if (this.building?.risers === undefined) return [];\n return loadRisersFloorsApartments(this.building);\n }\n\n async verifyValidityOfName(newName: string, floor: FloorDTO) {\n if (newName === floor.name) return;\n const validName = NamingService.isValidEntityTypeName(newName);\n\n if (!validName) {\n this.isValidName = validName;\n } else {\n this.isValidName = true;\n await this.updateFloorName(newName, floor);\n }\n }\n\n async updateFloorName(newName: string, floor: FloorDTO) {\n if (this.currentEntrancePlant.desktopId === undefined) return;\n try {\n this.$store.dispatch(SET_APP_LOADING, true);\n floor.name = newName;\n await plantsClient.floor(this.currentEntrancePlant.desktopId, floor)\n this.$toast.add({\n severity: 'success',\n summary: this.$t('entrancePlant.floorEditedBanner'),\n life: 3000,\n });\n NamingService.forcefullyRenameFirstEntityWithinCachedOnes(\n floor.name!,\n newName\n );\n } catch (e) {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('entrancePlant.floorInlineNamingError'),\n life: 3000,\n });\n } finally {\n this.$store.dispatch(SET_APP_LOADING, false);\n this.$emitter.emit('update-list');\n }\n }\n\n toggleAddEditBuilding() {\n this.isVisibleAddEditBuilding = !this.isVisibleAddEditBuilding;\n }\n\n toggleAddApartment() {\n this.apartmentToEdit = null;\n this.isVisibleAddEditApartment = true;\n }\n\n toggleEditApartment(apartment: ApartmentDTO) {\n this.apartmentToEdit = apartment;\n this.isVisibleAddEditApartment = true;\n }\n\n hideAddEditApartment() {\n this.isVisibleAddEditApartment = false;\n }\n\n toggleDeleteBuildingConfirm() {\n this.isVisibleDeleteBuildingConfirm = !this.isVisibleDeleteBuildingConfirm;\n }\n\n handleUpdateList() {\n this.$emit('update-list');\n }\n\n async handleDeleteBuilding() {\n if (this.currentEntrancePlant.desktopId === undefined) return;\n this.$store.dispatch(SET_APP_LOADING, true);\n try {\n const structure = new EntrancePlantStructureCreateDTO();\n structure.buildingsCreate = [];\n this.currentEntrancePlant.buildings?.forEach((epBuilding) =>\n structure.buildingsCreate?.push(\n new BuildingCreateDTO({\n buildingId: epBuilding.buildingId,\n name: epBuilding.name,\n apartmentsCount: epBuilding.apartments?.length,\n })\n )\n );\n const editingIndex = structure.buildingsCreate.findIndex(\n (editing) => editing.buildingId === this.building?.buildingId\n );\n structure.buildingsCreate.splice(editingIndex, 1);\n\n await plantsClient.structure(\n this.currentEntrancePlant.desktopId,\n structure\n );\n\n this.$router.push(this.backLink);\n this.$emit('update-list');\n setTimeout(() => {\n this.$toast.add({\n severity: 'success',\n summary: this.$t('AppResourceEP.BuildingBannerDeleted'),\n closable: false,\n life: 3000,\n });\n }, 1500);\n } catch {\n this.$toast.add({\n severity: 'error',\n summary: this.$t('general.operationError'),\n closable: true,\n life: 3000,\n });\n } finally {\n this.$store.dispatch(SET_APP_LOADING, false);\n }\n }\n}\n","import { render } from \"./EntrancePlantStructureBuilding.vue?vue&type=template&id=a145f556&ts=true\"\nimport script from \"./EntrancePlantStructureBuilding.ts?vue&type=script&lang=ts\"\nexport * from \"./EntrancePlantStructureBuilding.ts?vue&type=script&lang=ts\"\n\nimport \"./EntrancePlantStructureBuilding.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/home/vsts/work/1/s/Frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./NumberButtons.scss?vue&type=style&index=0&lang=scss\"","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n"],"sourceRoot":""}