{"version":3,"sources":["webpack:///./src/features/empresa/empresa-service.ts","webpack:///./node_modules/core-js/internals/string-pad.js","webpack:///../../../src/components/VAutocomplete/VAutocomplete.ts","webpack:///../../../src/components/VCombobox/VCombobox.ts","webpack:///./node_modules/core-js/modules/es.string.pad-start.js","webpack:///./src/utils/utils.ts","webpack:///./src/features/relatorio/relatorio-documento-listar.vue?1bb1","webpack:///./src/features/relatorio/relatorio-documento-listar.vue?7e90","webpack:///./src/features/relatorio/relatorio-documento-listar.vue?e58e","webpack:///./src/features/relatorio/relatorio-documento-listar.vue","webpack:///./node_modules/core-js/modules/es.string.ends-with.js","webpack:///./src/features/relatorio/relatorio-documento-listar.vue?5003","webpack:///./node_modules/core-js/internals/string-pad-webkit-bug.js","webpack:///./src/features/relatorio/relatorio-service.ts"],"names":["EmpresaService","query","configure","getAxios","get","params","then","e","data","command","post","r","put","toLength","repeat","requireObjectCoercible","ceil","Math","createMethod","IS_END","$this","maxLength","fillString","fillLen","stringFiller","S","String","stringLength","length","fillStr","undefined","intMaxLength","call","slice","module","exports","start","end","defaultMenuProps","offsetY","offsetOverflow","transition","VSelect","name","props","allowOverflow","type","default","autoSelectFirst","filter","itemText","queryText","hideNoData","menuProps","noFilter","searchInput","lazySearch","this","computed","classes","selectedIndex","computedItems","selectedValues","selectedItems","map","item","hasDisplayedItems","hideSelected","filteredItems","some","currentRange","selectedItem","getText","internalSearch","allItems","set","isAnyValueAllowed","isDirty","searchIsDirty","isSearching","multiple","menuCanShow","$_menuProps","find","i","listData","items","watch","internalValue","isFocused","document","$refs","input","isMenuActive","val","oldVal","activateMenu","created","methods","onFilteredItemsChanged","onInternalSearchChanged","updateMenuDimensions","menu","changeSelectedIndex","keyCode","deleteCurrentItem","index","currentItem","getDisabled","newIndex","clearableCallback","genInput","VTextField","genInputSlot","slot","genSelections","hasSlot","onClick","onInput","target","value","onKeyDown","onSpaceDown","onTabDown","onUpDown","selectItem","setSelectedItems","setSearch","updateSelf","valueComparator","getValue","hasItem","indexOf","onCopy","currentItemText","event","delimiters","returnObject","editingIndex","computedCounterValue","$slots","delimiter","d","genChipSelection","chip","dblclick","onChipInput","onEnterDown","selectionStart","getMenuIndex","setValue","updateEditing","updateCombobox","isUsingSlot","Boolean","$scopedSlots","updateTags","menuIndex","onPaste","pastedItemText","findExistingIndex","$","$padStart","WEBKIT_BUG","proto","forced","padStart","arguments","obterDiaMesAnoFormatado","date","Date","dia","obterNumeroFormatado","getDate","mes","obterMesNumero","getMonth","ano","getFullYear","obterDiaMesAnoPadraoBR","obterDataFormatada","obterMes","hora","getHours","minuto","getMinutes","meses","numero","toString","isMobile","window","innerWidth","obterArquivosValidos","files","extensoesAceitas","resultado","file","arquivoValido","validarArquivo","push","extensao","split","pop","toLowerCase","extensaoExistente","debounce","func","timeout","timer","args","next","clearTimeout","setTimeout","obterSituacaoDescricao","situacao","Common","Domain","ChamadoSituacaoEnum","Aberto","Fechado","EmAndamento","obterSituacaoSistemaDescricao","SituacaoSistemaEnum","Ativo","EmAnalise","Inativo","formatDateIso","toISOString","parts","day","month","year","result","configureIugu","iugu","Iugu","setAccountID","accountId","testMode","setTestMode","setup","render","_vm","_h","$createElement","_c","_self","areaAtual","staticClass","attrs","_v","periodos","bottom","on","listar","model","callback","$$v","filtro","expression","empresas","scopedSlots","_u","key","fn","ref","_s","obterEmpresa","empresaSelecionada","imprimirRelatorio","rules","inicioOpcional","fimOpcional","_e","carregando","cabecalho","resumo","criadoEm","proxy","staticRenderFns","aba","text","align","sortable","dataType","RelatorioPeriodoEnum","SeteDias","Hoje","TrintaDias","Personalizado","$summary","obterAreaPadrao","listarEmpresas","filtroData","listarDocumentos","periodo","empresaId","documentos","itens","print","id","empresa","p","razaoSocial","component","VBtn","VCol","VCombobox","VContainer","VDataTable","VLabel","VProgressCircular","VRow","getOwnPropertyDescriptor","f","notARegExp","correctIsRegExpLogic","IS_PURE","nativeEndsWith","endsWith","min","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","protot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+IAMA,WAAqBP,GAArB,iGACU,OAAmBC,YAD7B,gCAGW,OAAmBC,WAAWC,IAAI,wCAAyC,CAAEC,OAAQJ,IAASK,MAAK,SAAAC,GAAC,OAAIA,EAAEC,SAHrH,2C,kJAMA,WAAwBP,GAAxB,iGACU,OAAmBC,YAD7B,gCAGW,OAAmBC,WAAWC,IAAI,4CAA6C,CAAEC,OAAQJ,IAASK,MAAK,SAAAC,GAAC,OAAIA,EAAEC,SAHzH,2C,qJAMA,WAA2BP,GAA3B,iGACU,OAAmBC,YAD7B,gCAGW,OAAmBC,WAAWC,IAAI,+CAAgD,CAAEC,OAAQJ,IAASK,MAAK,SAAAC,GAAC,OAAIA,EAAEC,SAH5H,2C,kJAMA,WAAwBP,GAAxB,iGACU,OAAmBC,YAD7B,gCAGW,OAAmBC,WAAWC,IAAI,4CAA6C,CAAEC,OAAQJ,IAASK,MAAK,SAAAC,GAAC,OAAIA,EAAEC,SAHzH,2C,iEAOW,WAAIqU","file":"js/chunk-42c9de2f.f788614a.js","sourcesContent":["import Api from '../../base/api.typings';\nimport axiosConfiguration from '@/base/axios-configuration';\n\nclass EmpresaService {\n async obterParaEditar(query?: Api.App.Server.Empresa.InserirEditar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Empresa/ObterParaEditar', { params: query }).then(e => e.data);\n }\n\n async listar(query: Api.App.Server.Empresa.Listar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Empresa/listar', { params: query }).then(e => e.data);\n }\n\n async excluir(command: Api.App.Server.Empresa.Excluir.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().post('/api/Empresa/Excluir', command);\n }\n\n async inserir(command: Api.App.Server.Empresa.InserirEditar.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().post('/api/Empresa/Inserir', command).then(r => r.data);\n }\n\n async editar(command: Api.App.Server.Empresa.InserirEditar.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().put('/api/Empresa/Editar', command);\n }\n\n async obterCnae(query: string): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('https://servicodados.ibge.gov.br/api/v2/cnae/classes/'+query+'/subclasses').then(e => e.data);\n }\n\n} \n\nexport default new EmpresaService();","// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('../internals/to-length');\nvar repeat = require('../internals/string-repeat');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function (IS_END) {\n return function ($this, maxLength, fillString) {\n var S = String(requireObjectCoercible($this));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n var fillLen, stringFiller;\n if (intMaxLength <= stringLength || fillStr == '') return S;\n fillLen = intMaxLength - stringLength;\n stringFiller = repeat.call(fillStr, ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return IS_END ? S + stringFiller : stringFiller + S;\n };\n};\n\nmodule.exports = {\n // `String.prototype.padStart` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.padstart\n start: createMethod(false),\n // `String.prototype.padEnd` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.padend\n end: createMethod(true)\n};\n","// Styles\nimport './VAutocomplete.sass'\n\n// Extensions\nimport VSelect, { defaultMenuProps as VSelectMenuProps } from '../VSelect/VSelect'\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport { keyCodes } from '../../util/helpers'\n\n// Types\nimport { PropType } from 'vue'\n\nconst defaultMenuProps = {\n ...VSelectMenuProps,\n offsetY: true,\n offsetOverflow: true,\n transition: false,\n}\n\n/* @vue/component */\nexport default VSelect.extend({\n name: 'v-autocomplete',\n\n props: {\n allowOverflow: {\n type: Boolean,\n default: true,\n },\n autoSelectFirst: {\n type: Boolean,\n default: false,\n },\n filter: {\n type: Function,\n default: (item: any, queryText: string, itemText: string) => {\n return itemText.toLocaleLowerCase().indexOf(queryText.toLocaleLowerCase()) > -1\n },\n },\n hideNoData: Boolean,\n menuProps: {\n type: VSelect.options.props.menuProps.type,\n default: () => defaultMenuProps,\n },\n noFilter: Boolean,\n searchInput: {\n type: String as PropType,\n default: undefined,\n },\n },\n\n data () {\n return {\n lazySearch: this.searchInput,\n }\n },\n\n computed: {\n classes (): object {\n return {\n ...VSelect.options.computed.classes.call(this),\n 'v-autocomplete': true,\n 'v-autocomplete--is-selecting-index': this.selectedIndex > -1,\n }\n },\n computedItems (): object[] {\n return this.filteredItems\n },\n selectedValues (): object[] {\n return this.selectedItems.map(item => this.getValue(item))\n },\n hasDisplayedItems (): boolean {\n return this.hideSelected\n ? this.filteredItems.some(item => !this.hasItem(item))\n : this.filteredItems.length > 0\n },\n currentRange (): number {\n if (this.selectedItem == null) return 0\n\n return String(this.getText(this.selectedItem)).length\n },\n filteredItems (): object[] {\n if (!this.isSearching || this.noFilter || this.internalSearch == null) return this.allItems\n\n return this.allItems.filter(item => this.filter(item, String(this.internalSearch), String(this.getText(item))))\n },\n internalSearch: {\n get (): string | undefined {\n return this.lazySearch\n },\n set (val: any) {\n this.lazySearch = val\n\n this.$emit('update:search-input', val)\n },\n },\n isAnyValueAllowed (): boolean {\n return false\n },\n isDirty (): boolean {\n return this.searchIsDirty || this.selectedItems.length > 0\n },\n isSearching (): boolean {\n return (\n this.multiple &&\n this.searchIsDirty\n ) || (\n this.searchIsDirty &&\n this.internalSearch !== this.getText(this.selectedItem)\n )\n },\n menuCanShow (): boolean {\n if (!this.isFocused) return false\n\n return this.hasDisplayedItems || !this.hideNoData\n },\n $_menuProps (): object {\n const props = VSelect.options.computed.$_menuProps.call(this);\n (props as any).contentClass = `v-autocomplete__content ${(props as any).contentClass || ''}`.trim()\n return {\n ...defaultMenuProps,\n ...props,\n }\n },\n searchIsDirty (): boolean {\n return this.internalSearch != null &&\n this.internalSearch !== ''\n },\n selectedItem (): any {\n if (this.multiple) return null\n\n return this.selectedItems.find(i => {\n return this.valueComparator(this.getValue(i), this.getValue(this.internalValue))\n })\n },\n listData () {\n const data = VSelect.options.computed.listData.call(this) as any\n\n data.props = {\n ...data.props,\n items: this.virtualizedItems,\n noFilter: (\n this.noFilter ||\n !this.isSearching ||\n !this.filteredItems.length\n ),\n searchInput: this.internalSearch,\n }\n\n return data\n },\n },\n\n watch: {\n filteredItems: 'onFilteredItemsChanged',\n internalValue: 'setSearch',\n isFocused (val) {\n if (val) {\n document.addEventListener('copy', this.onCopy)\n this.$refs.input && this.$refs.input.select()\n } else {\n document.removeEventListener('copy', this.onCopy)\n this.updateSelf()\n }\n },\n isMenuActive (val) {\n if (val || !this.hasSlot) return\n\n this.lazySearch = undefined\n },\n items (val, oldVal) {\n // If we are focused, the menu\n // is not active, hide no data is enabled,\n // and items change\n // User is probably async loading\n // items, try to activate the menu\n if (\n !(oldVal && oldVal.length) &&\n this.hideNoData &&\n this.isFocused &&\n !this.isMenuActive &&\n val.length\n ) this.activateMenu()\n },\n searchInput (val: string) {\n this.lazySearch = val\n },\n internalSearch: 'onInternalSearchChanged',\n itemText: 'updateSelf',\n },\n\n created () {\n this.setSearch()\n },\n\n methods: {\n onFilteredItemsChanged (val: never[], oldVal: never[]) {\n // TODO: How is the watcher triggered\n // for duplicate items? no idea\n if (val === oldVal) return\n\n this.setMenuIndex(-1)\n\n this.$nextTick(() => {\n if (\n !this.internalSearch ||\n (val.length !== 1 &&\n !this.autoSelectFirst)\n ) return\n\n this.$refs.menu.getTiles()\n this.setMenuIndex(0)\n })\n },\n onInternalSearchChanged () {\n this.updateMenuDimensions()\n },\n updateMenuDimensions () {\n // Type from menuable is not making it through\n this.isMenuActive && this.$refs.menu && this.$refs.menu.updateDimensions()\n },\n changeSelectedIndex (keyCode: number) {\n // Do not allow changing of selectedIndex\n // when search is dirty\n if (this.searchIsDirty) return\n\n if (this.multiple && keyCode === keyCodes.left) {\n if (this.selectedIndex === -1) {\n this.selectedIndex = this.selectedItems.length - 1\n } else {\n this.selectedIndex--\n }\n } else if (this.multiple && keyCode === keyCodes.right) {\n if (this.selectedIndex >= this.selectedItems.length - 1) {\n this.selectedIndex = -1\n } else {\n this.selectedIndex++\n }\n } else if (keyCode === keyCodes.backspace || keyCode === keyCodes.delete) {\n this.deleteCurrentItem()\n }\n },\n deleteCurrentItem () {\n if (this.readonly) return\n\n const index = this.selectedItems.length - 1\n\n if (this.selectedIndex === -1 && index !== 0) {\n this.selectedIndex = index\n return\n }\n\n const currentItem = this.selectedItems[this.selectedIndex]\n\n if (this.getDisabled(currentItem)) return\n\n const newIndex = this.selectedIndex === index\n ? this.selectedIndex - 1\n : this.selectedItems[this.selectedIndex + 1]\n ? this.selectedIndex\n : -1\n\n if (newIndex === -1) {\n this.setValue(this.multiple ? [] : undefined)\n } else {\n this.selectItem(currentItem)\n }\n\n this.selectedIndex = newIndex\n },\n clearableCallback () {\n this.internalSearch = undefined\n\n VSelect.options.methods.clearableCallback.call(this)\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.data = input.data || {}\n input.data.attrs = input.data.attrs || {}\n input.data.attrs.autocomplete = input.data.attrs.autocomplete || 'off'\n\n input.data.domProps = input.data.domProps || {}\n input.data.domProps.value = this.internalSearch\n\n return input\n },\n genInputSlot () {\n const slot = VSelect.options.methods.genInputSlot.call(this)\n\n slot.data!.attrs!.role = 'combobox'\n\n return slot\n },\n genSelections () {\n return this.hasSlot || this.multiple\n ? VSelect.options.methods.genSelections.call(this)\n : []\n },\n onClick () {\n if (this.isDisabled) return\n\n this.selectedIndex > -1\n ? (this.selectedIndex = -1)\n : this.onFocus()\n\n this.activateMenu()\n },\n onInput (e: Event) {\n if (\n this.selectedIndex > -1 ||\n !e.target\n ) return\n\n const target = e.target as HTMLInputElement\n const value = target.value\n\n // If typing and menu is not currently active\n if (target.value) this.activateMenu()\n\n this.internalSearch = value\n this.badInput = target.validity && target.validity.badInput\n },\n onKeyDown (e: KeyboardEvent) {\n const keyCode = e.keyCode\n\n VSelect.options.methods.onKeyDown.call(this, e)\n\n // The ordering is important here\n // allows new value to be updated\n // and then moves the index to the\n // proper location\n this.changeSelectedIndex(keyCode)\n },\n onSpaceDown (e: KeyboardEvent) { /* noop */ },\n onTabDown (e: KeyboardEvent) {\n VSelect.options.methods.onTabDown.call(this, e)\n this.updateSelf()\n },\n onUpDown () {\n // For autocomplete / combobox, cycling\n // interfers with native up/down behavior\n // instead activate the menu\n this.activateMenu()\n },\n selectItem (item: object) {\n VSelect.options.methods.selectItem.call(this, item)\n this.setSearch()\n },\n setSelectedItems () {\n VSelect.options.methods.setSelectedItems.call(this)\n\n // #4273 Don't replace if searching\n // #4403 Don't replace if focused\n if (!this.isFocused) this.setSearch()\n },\n setSearch () {\n // Wait for nextTick so selectedItem\n // has had time to update\n this.$nextTick(() => {\n if (\n !this.multiple ||\n !this.internalSearch ||\n !this.isMenuActive\n ) {\n this.internalSearch = (\n !this.selectedItems.length ||\n this.multiple ||\n this.hasSlot\n )\n ? null\n : this.getText(this.selectedItem)\n }\n })\n },\n updateSelf () {\n if (!this.searchIsDirty &&\n !this.internalValue\n ) return\n\n if (!this.valueComparator(\n this.internalSearch,\n this.getValue(this.internalValue)\n )) {\n this.setSearch()\n }\n },\n hasItem (item: any) {\n return this.selectedValues.indexOf(this.getValue(item)) > -1\n },\n onCopy (event: ClipboardEvent) {\n if (this.selectedIndex === -1) return\n\n const currentItem = this.selectedItems[this.selectedIndex]\n const currentItemText = this.getText(currentItem)\n event.clipboardData!.setData('text/plain', currentItemText)\n event.clipboardData!.setData('text/vnd.vuetify.autocomplete.item+plain', currentItemText)\n event.preventDefault()\n },\n },\n})\n","// Styles\nimport '../VAutocomplete/VAutocomplete.sass'\n\n// Extensions\nimport VSelect from '../VSelect/VSelect'\nimport VAutocomplete from '../VAutocomplete/VAutocomplete'\n\n// Utils\nimport { keyCodes } from '../../util/helpers'\n\n// Types\nimport { PropType } from 'vue'\n\n/* @vue/component */\nexport default VAutocomplete.extend({\n name: 'v-combobox',\n\n props: {\n delimiters: {\n type: Array as PropType,\n default: () => ([]),\n },\n returnObject: {\n type: Boolean,\n default: true,\n },\n },\n\n data: () => ({\n editingIndex: -1,\n }),\n\n computed: {\n computedCounterValue (): number {\n return this.multiple\n ? this.selectedItems.length\n : (this.internalSearch || '').toString().length\n },\n hasSlot (): boolean {\n return VSelect.options.computed.hasSlot.call(this) || this.multiple\n },\n isAnyValueAllowed (): boolean {\n return true\n },\n menuCanShow (): boolean {\n if (!this.isFocused) return false\n\n return this.hasDisplayedItems ||\n (!!this.$slots['no-data'] && !this.hideNoData)\n },\n },\n\n methods: {\n onInternalSearchChanged (val: any) {\n if (\n val &&\n this.multiple &&\n this.delimiters.length\n ) {\n const delimiter = this.delimiters.find(d => val.endsWith(d))\n if (delimiter != null) {\n this.internalSearch = val.slice(0, val.length - delimiter.length)\n this.updateTags()\n }\n }\n\n this.updateMenuDimensions()\n },\n genInput () {\n const input = VAutocomplete.options.methods.genInput.call(this)\n\n delete input.data!.attrs!.name\n input.data!.on!.paste = this.onPaste\n\n return input\n },\n genChipSelection (item: object, index: number) {\n const chip = VSelect.options.methods.genChipSelection.call(this, item, index)\n\n // Allow user to update an existing value\n if (this.multiple) {\n chip.componentOptions!.listeners! = {\n ...chip.componentOptions!.listeners!,\n dblclick: () => {\n this.editingIndex = index\n this.internalSearch = this.getText(item)\n this.selectedIndex = -1\n },\n }\n }\n\n return chip\n },\n onChipInput (item: object) {\n VSelect.options.methods.onChipInput.call(this, item)\n\n this.editingIndex = -1\n },\n // Requires a manual definition\n // to overwrite removal in v-autocomplete\n onEnterDown (e: Event) {\n e.preventDefault()\n\n this.$nextTick(() => {\n // If has menu index, let v-select-list handle\n if (this.getMenuIndex() > -1) return\n this.updateSelf()\n })\n },\n onFilteredItemsChanged (val: never[], oldVal: never[]) {\n if (!this.autoSelectFirst) return\n\n VAutocomplete.options.methods.onFilteredItemsChanged.call(this, val, oldVal)\n },\n onKeyDown (e: KeyboardEvent) {\n const keyCode = e.keyCode\n\n VSelect.options.methods.onKeyDown.call(this, e)\n\n // If user is at selection index of 0\n // create a new tag\n if (this.multiple &&\n keyCode === keyCodes.left &&\n this.$refs.input.selectionStart === 0\n ) {\n this.updateSelf()\n } else if (keyCode === keyCodes.enter) {\n this.onEnterDown(e)\n }\n\n // The ordering is important here\n // allows new value to be updated\n // and then moves the index to the\n // proper location\n this.changeSelectedIndex(keyCode)\n },\n onTabDown (e: KeyboardEvent) {\n // When adding tags, if searching and\n // there is not a filtered options,\n // add the value to the tags list\n if (this.multiple &&\n this.internalSearch &&\n this.getMenuIndex() === -1\n ) {\n e.preventDefault()\n e.stopPropagation()\n\n return this.updateTags()\n }\n\n VAutocomplete.options.methods.onTabDown.call(this, e)\n },\n selectItem (item: object) {\n // Currently only supports items:\n if (this.editingIndex > -1) {\n this.updateEditing()\n } else {\n VAutocomplete.options.methods.selectItem.call(this, item)\n }\n },\n setSelectedItems () {\n if (this.internalValue == null ||\n this.internalValue === ''\n ) {\n this.selectedItems = []\n } else {\n this.selectedItems = this.multiple ? this.internalValue : [this.internalValue]\n }\n },\n setValue (value?: any) {\n VSelect.options.methods.setValue.call(this, value != null ? value : this.internalSearch)\n },\n updateEditing () {\n const value = this.internalValue.slice()\n value[this.editingIndex] = this.internalSearch\n\n this.setValue(value)\n\n this.editingIndex = -1\n },\n updateCombobox () {\n const isUsingSlot = Boolean(this.$scopedSlots.selection) || this.hasChips\n\n // If search is not dirty and is\n // using slot, do nothing\n if (isUsingSlot && !this.searchIsDirty) return\n\n // The internal search is not matching\n // the internal value, update the input\n if (this.internalSearch !== this.getText(this.internalValue)) this.setValue()\n\n // Reset search if using slot\n // to avoid a double input\n if (isUsingSlot) this.internalSearch = undefined\n },\n updateSelf () {\n this.multiple ? this.updateTags() : this.updateCombobox()\n },\n updateTags () {\n const menuIndex = this.getMenuIndex()\n\n // If the user is not searching\n // and no menu item is selected\n // do nothing\n if (menuIndex < 0 &&\n !this.searchIsDirty\n ) return\n\n if (this.editingIndex > -1) {\n return this.updateEditing()\n }\n\n const index = this.selectedItems.indexOf(this.internalSearch)\n // If it already exists, do nothing\n // this might need to change to bring\n // the duplicated item to the last entered\n if (index > -1) {\n const internalValue = this.internalValue.slice()\n internalValue.splice(index, 1)\n\n this.setValue(internalValue)\n }\n\n // If menu index is greater than 1\n // the selection is handled elsewhere\n // TODO: find out where\n if (menuIndex > -1) return (this.internalSearch = null)\n\n this.selectItem(this.internalSearch)\n this.internalSearch = null\n },\n onPaste (event: ClipboardEvent) {\n if (!this.multiple || this.searchIsDirty) return\n\n const pastedItemText = event.clipboardData!.getData('text/vnd.vuetify.autocomplete.item+plain')\n if (pastedItemText && this.findExistingIndex(pastedItemText as any) === -1) {\n event.preventDefault()\n VSelect.options.methods.selectItem.call(this, pastedItemText as any)\n }\n },\n },\n})\n","'use strict';\nvar $ = require('../internals/export');\nvar $padStart = require('../internals/string-pad').start;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padStart` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.padstart\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","import Api from '@/base/api.typings';\nimport env from '@/env/env';\n\nexport function obterDiaMesAnoFormatado(data: string) {\n if (data) {\n let date = new Date(data);\n\n let dia = obterNumeroFormatado(date.getDate());\n let mes = obterMesNumero(date.getMonth());\n let ano = date.getFullYear();\n\n return `${ano}-${mes}-${dia}`;\n }\n return null\n}\n\nexport function obterDiaMesAnoPadraoBR(data: string) {\n if (data) {\n let date = new Date(data);\n\n let dia = obterNumeroFormatado(date.getDate());\n let mes = obterMesNumero(date.getMonth());\n let ano = date.getFullYear();\n\n return `${dia}/${mes}/${ano}`;\n }\n return null\n}\n\nexport function obterDataFormatada(data: string) {\n let date = new Date(data);\n\n let dia = obterNumeroFormatado(date.getDate());\n let mes = obterMes(date.getMonth());\n let ano = date.getFullYear();\n let hora = obterNumeroFormatado(date.getHours());\n let minuto = obterNumeroFormatado(date.getMinutes());\n\n return `${dia} de ${mes} de ${ano} às ${hora}h${minuto}`;\n}\n\nfunction obterMesNumero(mes: number) {\n let meses = [\"01\",\"02\",\"03\",\"04\",\"05\",\"06\",\"07\",\"08\",\"09\",\"10\",\"11\",\"12\"];\n return meses[mes];\n}\n\nfunction obterMes(mes: number) {\n let meses = [\n \"Janeiro\",\n \"Fevereiro\",\n \"Março\",\n \"Abril\",\n \"Maio\",\n \"Junho\",\n \"Julho\",\n \"Agosto\",\n \"Setembro\",\n \"Outubro\",\n \"Novembro\",\n \"Dezembro\"\n ];\n\n return meses[mes];\n}\n\nfunction obterNumeroFormatado(numero: number) {\n if (numero < 10) return `0${numero}`;\n\n return numero.toString();\n}\n\nexport function isMobile() {\n return window.innerWidth <= 768;\n}\n\nexport function obterArquivosValidos(files: File[], extensoesAceitas: string[]) {\n let resultado: File[] = [];\n\n for (let file of files) {\n let arquivoValido = validarArquivo(file, extensoesAceitas);\n\n if (arquivoValido)\n resultado.push(file);\n }\n\n return resultado;\n}\n\nfunction validarArquivo(file: File, extensoesAceitas: string[]) {\n let extensao = '.' + file.name.split('.').pop().toLowerCase();\n\n let extensaoExistente = extensoesAceitas.find(e => e == extensao);\n\n if (extensaoExistente)\n return true;\n\n return false;\n}\n\nexport function debounce(func: Function, timeout?: number) {\n let timer: number | undefined;\n\n return (...args: any[]) => {\n const next = () => func(...args);\n\n if (timer) \n clearTimeout(timer);\n\n timer = setTimeout(next, timeout > 0 ? timeout : 300);\n };\n}\n\nexport function obterSituacaoDescricao(situacao: Api.Common.Domain.ChamadoSituacaoEnum) {\n switch (situacao) {\n case Api.Common.Domain.ChamadoSituacaoEnum.Aberto:\n return \"Aberto\";\n case Api.Common.Domain.ChamadoSituacaoEnum.Fechado:\n return \"Fechado\";\n case Api.Common.Domain.ChamadoSituacaoEnum.EmAndamento:\n return \"Em andamento\";\n default:\n break;\n }\n}\n\nexport function obterSituacaoSistemaDescricao(situacao: Api.Common.Domain.SituacaoSistemaEnum) {\n switch (situacao) {\n case Api.Common.Domain.SituacaoSistemaEnum.Ativo:\n return \"Ativo\";\n case Api.Common.Domain.SituacaoSistemaEnum.EmAnalise:\n return \"Em Análise\";\n case Api.Common.Domain.SituacaoSistemaEnum.Inativo:\n return \"Inativo\";\n default:\n break;\n }\n}\n\nexport function formatDateIso(date) {\n if (!date)\n return null;\n if (typeof date === 'number')\n date = new Date(date);\n if (date.toISOString)\n date = date.toISOString();\n const parts = date.split(/[-|\\s|T]/)\n let day = parts[2].padStart(2, '0');\n let month = parts[1].padStart(2, '0');\n let year = parts[0].toString().padStart(2, '0');\n let result = `${year}-${month}-${day}`;\n return result;\n}\n\nexport function configureIugu() {\n const iugu = (window as any).Iugu;\n \n iugu.setAccountID(env.iugu.accountId);\n \n if (env.iugu.testMode)\n iugu.setTestMode(true);\n \n iugu.setup();\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('header-component'),(_vm.areaAtual == 'admin')?_c('v-container',{staticClass:\"spacing-playground pa-6\",attrs:{\"fluid\":\"\"}},[_c('abas-relatorios'),_c('div',{staticClass:\"mt-7\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',[_vm._v(\"Período\")])],1),_c('v-select',{staticClass:\"t-box-none t-item-select pt-0\",attrs:{\"items\":_vm.periodos,\"menu-props\":{ bottom: true, offsetY: true },\"outlined\":\"\",\"flat\":\"\",\"solo\":\"\"},on:{\"change\":_vm.listar},model:{value:(_vm.filtro),callback:function ($$v) {_vm.filtro=$$v},expression:\"filtro\"}})],1),_c('v-col',{staticClass:\"t-no-print\",attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',[_vm._v(\"Empresas\")])],1),_c('v-combobox',{attrs:{\"items\":_vm.empresas,\"return-object\":false,\"item-text\":\"razaoSocial\",\"item-value\":\"id\",\"hide-selected\":\"\",\"outlined\":\"\",\"flat\":\"\",\"solo\":\"\"},on:{\"change\":_vm.listar},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{key:item},[_vm._v(\" \"+_vm._s(_vm.obterEmpresa(item))+\" \")])]}}],null,false,1734656833),model:{value:(_vm.empresaSelecionada),callback:function ($$v) {_vm.empresaSelecionada=$$v},expression:\"empresaSelecionada\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\"}},[_c('v-btn',{staticClass:\"my-7 px-9 py-7 t-no-print\",attrs:{\"block\":\"\",\"tile\":\"\",\"outlined\":\"\",\"color\":\"primary\",\"depressed\":\"\"},on:{\"click\":_vm.imprimirRelatorio}},[_vm._v(\"Imprimir relatório\")])],1)],1),(_vm.filtro == 4)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',[_vm._v(\"Início\")])],1),_c('v-text-field',{attrs:{\"type\":\"date\",\"outlined\":\"\",\"flat\":\"\",\"solo\":\"\",\"rules\":_vm.rules.inicioOpcional},model:{value:(_vm.inicioOpcional),callback:function ($$v) {_vm.inicioOpcional=$$v},expression:\"inicioOpcional\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',[_vm._v(\"Fim\")])],1),_c('v-text-field',{attrs:{\"type\":\"date\",\"outlined\":\"\",\"flat\":\"\",\"solo\":\"\",\"rules\":_vm.rules.fimOpcional},model:{value:(_vm.fimOpcional),callback:function ($$v) {_vm.fimOpcional=$$v},expression:\"fimOpcional\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\"}},[_c('v-btn',{staticClass:\"my-6 px-7 py-8 t-no-print\",attrs:{\"block\":\"\",\"tile\":\"\",\"color\":\"primary\",\"depressed\":\"\"},on:{\"click\":_vm.listar}},[_vm._v(\"Filtrar por data\")])],1)],1):_vm._e()],1),(_vm.carregando)?_c('div',{staticClass:\"my-6\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_vm._e(),(!_vm.carregando)?_c('div',{staticClass:\"mt-7\"},[_c('v-data-table',{staticClass:\"elevation-0\",attrs:{\"background-color\":\"var(--grey-bg-aplication)\",\"headers\":_vm.cabecalho,\"items\":_vm.resumo,\"disable-pagination\":\"\",\"hide-default-footer\":\"\"},scopedSlots:_vm._u([{key:\"item.criadoEm\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"pl-0\"},[_vm._v(_vm._s(_vm.obterDiaMesAnoPadraoBR(item.criadoEm)))])]}},{key:\"no-data\",fn:function(){return [_vm._v(\" Não há resultados! \")]},proxy:true}],null,false,335852636)})],1):_vm._e()],1):_c('not-have-access')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Api from \"../../base/api.typings\";\nimport Component from \"vue-class-component\";\nimport relatorioService from \"./relatorio-service\";\nimport * as val from \"../../base/validations\";\nimport env from '../../env/env';\nimport empresaService from \"../empresa/empresa-service\";\nimport areaService from '../area-atual/area-service';\nimport { obterDiaMesAnoPadraoBR } from \"../../utils/utils\";\n\n@Component\nexport default class RelatorioDocumentoListar extends Vue {\n areaAtual: string = null;\n\n aba: number = 0;\n\n empresas: Api.App.Server.Empresa.Listar.EmpresaDto[] = [];\n\n empresaSelecionada: string = null;\n\n resumo: Api.App.Server.Relatorio.RelatorioDocumentoListar.RelatorioDto[] = null;\n\n inicioOpcional: string = null;\n\n fimOpcional: string = null;\n\n get carregando() { return !this.resumo };\n\n cabecalho: any = [\n {\n text: 'Nome do documento',\n align: 'center',\n sortable: false,\n value: 'nomeArquivo'\n },\n { text: 'Código do chamado', value: 'chamadoId' },\n { text: 'Empresa', value: 'nomeEmpresa' },\n { text: 'Grupo de Serviço', value: 'servicoDescricao' },\n { text: 'Quem fez upload', value: 'criadoPor' },\n { text: 'Data de upload', value: 'criadoEm', dataType: \"Date\" },\n ];\n\n async created() {\n this.areaAtual = await areaService.obterAreaPadrao();\n if (this.areaAtual == 'admin') {\n this.listar();\n this.listarEmpresas()\n }\n }\n\n beforeRouteUpdate() {\n this.listar();\n }\n\n periodos = [\n { value: Api.Common.Domain.RelatorioPeriodoEnum.SeteDias, text: 'Últimos 7 dias' },\n { value: Api.Common.Domain.RelatorioPeriodoEnum.Hoje, text: 'Hoje' },\n { value: Api.Common.Domain.RelatorioPeriodoEnum.TrintaDias, text: 'Últimos 30 dias' },\n { value: Api.Common.Domain.RelatorioPeriodoEnum.Personalizado, text: 'Personalizado' },\n ];\n\n filtro: Api.Common.Domain.RelatorioPeriodoEnum = 2;\n get filtroData(): Api.Common.Domain.RelatorioPeriodoEnum { return this.filtro };\n\n private async listar() {\n let resultado;\n\n if ((this.filtroData == 4 && (this.inicioOpcional && this.fimOpcional)) || this.filtroData != 4) {\n resultado = await relatorioService.listarDocumentos({\n periodo: this.filtroData,\n inicioOpcional: this.inicioOpcional,\n fimOpcional: this.fimOpcional,\n empresaId: this.empresaSelecionada\n });\n this.resumo = resultado.documentos;\n }\n }\n\n private async listarEmpresas() {\n let resultado = await empresaService.listar({\n });\n\n this.empresas = resultado.itens;\n }\n\n obterDiaMesAnoPadraoBR = obterDiaMesAnoPadraoBR;\n\n imprimirRelatorio() {\n window.print();\n }\n\n obterEmpresa(id: string) {\n if (!this.empresas)\n return \"\";\n\n let empresa = this.empresas.find(p => p.id == id);\n if (empresa) {\n return empresa.razaoSocial;\n }\n\n }\n\n rules = {\n $summary: [] as any[],\n inicioOpcional: [val.required],\n fimOpcional: [val.required],\n };\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./relatorio-documento-listar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./relatorio-documento-listar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./relatorio-documento-listar.vue?vue&type=template&id=c9696dbc&scoped=true&\"\nimport script from \"./relatorio-documento-listar.vue?vue&type=script&lang=ts&\"\nexport * from \"./relatorio-documento-listar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./relatorio-documento-listar.vue?vue&type=style&index=0&id=c9696dbc&scoped=true&lang=css&\"\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 \"c9696dbc\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VCombobox } from 'vuetify/lib/components/VCombobox';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VLabel } from 'vuetify/lib/components/VLabel';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VCombobox,VContainer,VDataTable,VLabel,VProgressCircular,VRow,VSelect,VTextField})\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\nvar nativeEndsWith = ''.endsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = String(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = String(searchString);\n return nativeEndsWith\n ? nativeEndsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./relatorio-documento-listar.vue?vue&type=style&index=0&id=c9696dbc&scoped=true&lang=css&\"","// https://github.com/zloirock/core-js/issues/280\nvar userAgent = require('../internals/engine-user-agent');\n\n// eslint-disable-next-line unicorn/no-unsafe-regex\nmodule.exports = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n","import Api from '../../base/api.typings';\nimport axiosConfiguration from '../../base/axios-configuration';\n\nclass RelatorioService {\n async listarDocumentos(query: Api.App.Server.Relatorio.RelatorioDocumentoListar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Relatorio/RelatorioDocumentoListar', { params: query }).then(e => e.data);\n }\n\n async listarChamados(query: Api.App.Server.Relatorio.RelatorioChamadoListar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Relatorio/RelatorioChamadoListar', { params: query }).then(e => e.data);\n }\n\n async listarUsuarioNovo(query: Api.App.Server.Relatorio.RelatorioUsuarioNovoListar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Relatorio/RelatorioUsuarioNovoListar', { params: query }).then(e => e.data);\n }\n\n async listarUsuarioServico(query: Api.App.Server.Relatorio.RelatorioUsuarioServicoListar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Relatorio/RelatorioUsuarioServicoListar', { params: query }).then(e => e.data);\n }\n\n async listarFaturamento(query: Api.App.Server.Relatorio.RelatorioFaturamentoListar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Relatorio/RelatorioFaturamentoListar', { params: query }).then(e => e.data);\n }\n}\n\nexport default new RelatorioService();"],"sourceRoot":""}