vue3-vuetable
Version:
Datatable component for Vue 3.x
1 lines • 266 kB
JSON
{"errors":[],"warnings":[],"version":"1.15.0","hash":"86be6f813f249d4c7b54","publicPath":"","assetsByChunkName":{"main":["vuetable-2.js","vuetable-2.css"]},"assets":[{"name":"vuetable-2.js","size":37990,"chunks":[0],"chunkNames":["main"],"emitted":true},{"name":"vuetable-2.css","size":475,"chunks":[0],"chunkNames":["main"],"emitted":true},{"name":"../stats.json","size":0,"chunks":[],"chunkNames":[]}],"chunks":[{"id":0,"rendered":true,"initial":true,"entry":true,"extraAsync":false,"size":80471,"names":["main"],"files":["vuetable-2.js","vuetable-2.css"],"hash":"f70327542681e229d2a3","parents":[],"modules":[{"id":0,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/babel-loader/lib/index.js!/htdocs/m/mycode/vuetable-2/src/index.js","name":"./src/index.js","index":0,"index2":43,"size":1540,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":null,"failed":false,"errors":0,"warnings":0,"reasons":[],"source":"'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.install = exports.VuetablePaginationInfo = exports.VuetablePaginationDropDown = exports.VuetablePagination = exports.Vuetable = undefined;\n\nvar _Vuetable = require('./components/Vuetable.vue');\n\nvar _Vuetable2 = _interopRequireDefault(_Vuetable);\n\nvar _VuetablePagination = require('./components/VuetablePagination.vue');\n\nvar _VuetablePagination2 = _interopRequireDefault(_VuetablePagination);\n\nvar _VuetablePaginationDropdown = require('./components/VuetablePaginationDropdown.vue');\n\nvar _VuetablePaginationDropdown2 = _interopRequireDefault(_VuetablePaginationDropdown);\n\nvar _VuetablePaginationInfo = require('./components/VuetablePaginationInfo.vue');\n\nvar _VuetablePaginationInfo2 = _interopRequireDefault(_VuetablePaginationInfo);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction install(Vue) {\n Vue.component(\"vuetable\", _Vuetable2.default);\n Vue.component(\"vuetable-pagination\", _VuetablePagination2.default);\n Vue.component(\"vuetable-pagination-dropdown\", _VuetablePaginationDropdown2.default);\n Vue.component(\"vuetable-pagination-info\", _VuetablePaginationInfo2.default);\n}\nexports.Vuetable = _Vuetable2.default;\nexports.VuetablePagination = _VuetablePagination2.default;\nexports.VuetablePaginationDropDown = _VuetablePaginationDropdown2.default;\nexports.VuetablePaginationInfo = _VuetablePaginationInfo2.default;\nexports.install = install;\nexports.default = _Vuetable2.default;"},{"id":1,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/index.js!/htdocs/m/mycode/vuetable-2/src/components/Vuetable.vue","name":"./src/components/Vuetable.vue","index":1,"index2":29,"size":952,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":"/htdocs/m/mycode/vuetable-2/node_modules/babel-loader/lib/index.js!/htdocs/m/mycode/vuetable-2/src/index.js","failed":false,"errors":0,"warnings":0,"reasons":[{"moduleId":0,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/babel-loader/lib/index.js!/htdocs/m/mycode/vuetable-2/src/index.js","module":"./src/index.js","moduleName":"./src/index.js","type":"cjs require","userRequest":"./components/Vuetable.vue","loc":"8:16-52"}],"source":"var __vue_script__, __vue_template__\nrequire(\"!!../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"remove\\\":true}!css!../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-0c70c9de&scoped=true!../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./Vuetable.vue\")\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./Vuetable.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../../node_modules/vue-loader/lib/template-rewriter.js?id=_v-0c70c9de!../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./Vuetable.vue\")\nmodule.exports = __vue_script__ || {}\nif (module.exports.__esModule) module.exports = module.exports.default\nif (__vue_template__) {\n(typeof module.exports === \"function\" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__\n}\n"},{"id":2,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/extract-text-webpack-plugin/loader.js?{\"remove\":true}!/htdocs/m/mycode/vuetable-2/node_modules/css-loader/index.js!/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/lib/style-rewriter.js?id=_v-0c70c9de&scoped=true!/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/lib/selector.js?type=style&index=0!/htdocs/m/mycode/vuetable-2/src/components/Vuetable.vue","name":"./~/extract-text-webpack-plugin/loader.js?{\"remove\":true}!./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=_v-0c70c9de&scoped=true!./~/vue-loader/lib/selector.js?type=style&index=0!./src/components/Vuetable.vue","index":2,"index2":0,"size":41,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":"/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/index.js!/htdocs/m/mycode/vuetable-2/src/components/Vuetable.vue","failed":false,"errors":0,"warnings":0,"reasons":[{"moduleId":1,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/index.js!/htdocs/m/mycode/vuetable-2/src/components/Vuetable.vue","module":"./src/components/Vuetable.vue","moduleName":"./src/components/Vuetable.vue","type":"cjs require","userRequest":"!!../../node_modules/extract-text-webpack-plugin/loader.js?{\"remove\":true}!css!../../node_modules/vue-loader/lib/style-rewriter.js?id=_v-0c70c9de&scoped=true!../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./Vuetable.vue","loc":"2:0-250"}],"source":"// removed by extract-text-webpack-plugin"},{"id":3,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/babel-loader/lib/index.js?presets[]=es2015&plugins[]=transform-runtime&comments=false!/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/lib/selector.js?type=script&index=0!/htdocs/m/mycode/vuetable-2/src/components/Vuetable.vue","name":"./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Vuetable.vue","index":3,"index2":27,"size":21628,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":"/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/index.js!/htdocs/m/mycode/vuetable-2/src/components/Vuetable.vue","failed":false,"errors":0,"warnings":0,"reasons":[{"moduleId":1,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/index.js!/htdocs/m/mycode/vuetable-2/src/components/Vuetable.vue","module":"./src/components/Vuetable.vue","moduleName":"./src/components/Vuetable.vue","type":"cjs require","userRequest":"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./Vuetable.vue","loc":"3:17-183"}],"source":"'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _axios = require('axios');\n\nvar _axios2 = _interopRequireDefault(_axios);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = {\n props: {\n fields: {\n type: Array,\n required: true\n },\n loadOnStart: {\n type: Boolean,\n default: true\n },\n apiUrl: {\n type: String,\n default: ''\n },\n apiMode: {\n type: Boolean,\n default: true\n },\n data: {\n type: Array,\n default: function _default() {\n return null;\n }\n },\n dataPath: {\n type: String,\n default: 'data'\n },\n paginationPath: {\n type: [String],\n default: 'links.pagination'\n },\n queryParams: {\n type: Object,\n default: function _default() {\n return {\n sort: 'sort',\n page: 'page',\n perPage: 'per_page'\n };\n }\n },\n appendParams: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n httpOptions: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n perPage: {\n type: Number,\n default: function _default() {\n return 10;\n }\n },\n sortOrder: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n multiSort: {\n type: Boolean,\n default: function _default() {\n return false;\n }\n },\n\n multiSortKey: {\n type: String,\n default: 'alt'\n },\n\n rowClassCallback: {\n type: [String, Function],\n default: ''\n },\n rowClass: {\n type: [String, Function],\n default: ''\n },\n detailRowComponent: {\n type: String,\n default: ''\n },\n detailRowTransition: {\n type: String,\n default: ''\n },\n trackBy: {\n type: String,\n default: 'id'\n },\n renderIcon: {\n type: Function,\n default: null\n },\n css: {\n type: Object,\n default: function _default() {\n return {\n tableClass: 'ui blue selectable celled stackable attached table',\n loadingClass: 'loading',\n ascendingIcon: 'blue chevron up icon',\n descendingIcon: 'blue chevron down icon',\n detailRowClass: 'vuetable-detail-row',\n handleIcon: 'grey sidebar icon'\n };\n }\n },\n minRows: {\n type: Number,\n default: 0\n },\n silent: {\n type: Boolean,\n default: false\n },\n noDataTemplate: {\n type: String,\n default: function _default() {\n return '';\n }\n }\n },\n data: function data() {\n return {\n eventPrefix: 'vuetable:',\n tableFields: [],\n tableData: null,\n tablePagination: null,\n currentPage: 1,\n selectedTo: [],\n visibleDetailRows: []\n };\n },\n created: function created() {\n this.normalizeFields();\n this.$nextTick(function () {\n this.fireEvent('initialized', this.tableFields);\n });\n\n if (this.apiMode && this.loadOnStart) {\n this.loadData();\n }\n if (this.apiMode == false && this.data.length > 0) {\n this.setData(this.data);\n }\n },\n\n computed: {\n useDetailRow: function useDetailRow() {\n if (this.tableData && this.tableData[0] && this.detailRowComponent !== '' && typeof this.tableData[0][this.trackBy] === 'undefined') {\n this.warn('You need to define unique row identifier in order for detail-row feature to work. Use `track-by` prop to define one!');\n return false;\n }\n\n return this.detailRowComponent !== '';\n },\n countVisibleFields: function countVisibleFields() {\n return this.tableFields.filter(function (field) {\n return field.visible;\n }).length;\n },\n countTableData: function countTableData() {\n if (this.tableData === null) {\n return 0;\n }\n return this.tableData.length;\n },\n displayEmptyDataRow: function displayEmptyDataRow() {\n return this.countTableData === 0 && this.noDataTemplate.length > 0;\n },\n\n lessThanMinRows: function lessThanMinRows() {\n if (this.tableData === null || this.tableData.length === 0) {\n return true;\n }\n return this.tableData.length < this.minRows;\n },\n blankRows: function blankRows() {\n if (this.tableData === null || this.tableData.length === 0) {\n return this.minRows;\n }\n if (this.tableData.length >= this.minRows) {\n return 0;\n }\n\n return this.minRows - this.tableData.length;\n }\n },\n methods: {\n normalizeFields: function normalizeFields() {\n if (typeof this.fields === 'undefined') {\n this.warn('You need to provide \"fields\" prop.');\n return;\n }\n\n this.tableFields = [];\n var self = this;\n var obj = void 0;\n this.fields.forEach(function (field, i) {\n if (typeof field === 'string') {\n obj = {\n name: field,\n title: self.setTitle(field),\n titleClass: '',\n dataClass: '',\n callback: null,\n visible: true\n };\n } else {\n obj = {\n name: field.name,\n title: field.title === undefined ? self.setTitle(field.name) : field.title,\n sortField: field.sortField,\n titleClass: field.titleClass === undefined ? '' : field.titleClass,\n dataClass: field.dataClass === undefined ? '' : field.dataClass,\n callback: field.callback === undefined ? '' : field.callback,\n visible: field.visible === undefined ? true : field.visible\n };\n }\n self.tableFields.push(obj);\n });\n },\n setData: function setData(data) {\n this.apiMode = false;\n this.tableData = data;\n },\n setTitle: function setTitle(str) {\n if (this.isSpecialField(str)) {\n return '';\n }\n\n return this.titleCase(str);\n },\n renderTitle: function renderTitle(field) {\n var title = typeof field.title === 'undefined' ? field.name.replace('.', ' ') : field.title;\n\n if (title.length > 0 && this.isInCurrentSortGroup(field)) {\n var style = 'opacity:' + this.sortIconOpacity(field) + ';position:relative;float:right';\n return title + ' ' + this.renderIconTag(['sort-icon', this.sortIcon(field)], 'style=\"' + style + '\"');\n }\n\n return title;\n },\n isSpecialField: function isSpecialField(fieldName) {\n return fieldName.slice(0, 2) === '__';\n },\n titleCase: function titleCase(str) {\n return str.replace(/\\w+/g, function (txt) {\n return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();\n });\n },\n camelCase: function camelCase(str) {\n var delimiter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '_';\n\n var self = this;\n return str.split(delimiter).map(function (item) {\n return self.titleCase(item);\n }).join('');\n },\n notIn: function notIn(str, arr) {\n return arr.indexOf(str) === -1;\n },\n loadData: function loadData() {\n var success = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.loadSuccess;\n var failed = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.loadFailed;\n\n if (!this.apiMode) return;\n\n this.fireEvent('loading');\n\n this.httpOptions['params'] = this.getAllQueryParams();\n\n _axios2.default.get(this.apiUrl, this.httpOptions).then(success, failed);\n },\n loadSuccess: function loadSuccess(response) {\n this.fireEvent('load-success', response);\n\n var body = this.transform(response.data);\n\n this.tableData = this.getObjectValue(body, this.dataPath, null);\n this.tablePagination = this.getObjectValue(body, this.paginationPath, null);\n\n if (this.tablePagination === null) {\n this.warn('vuetable: pagination-path \"' + this.paginationPath + '\" not found. ' + 'It looks like the data returned from the sever does not have pagination information ' + \"or you may have set it incorrectly.\\n\" + 'You can explicitly suppress this warning by setting pagination-path=\"\".');\n }\n\n this.$nextTick(function () {\n this.fireEvent('pagination-data', this.tablePagination);\n this.fireEvent('loaded');\n });\n },\n loadFailed: function loadFailed(response) {\n console.error('load-error', response);\n this.fireEvent('load-error', response);\n this.fireEvent('loaded');\n },\n transform: function transform(data) {\n var func = 'transform';\n\n if (this.parentFunctionExists(func)) {\n return this.$parent[func].call(this.$parent, data);\n }\n\n return data;\n },\n parentFunctionExists: function parentFunctionExists(func) {\n return func !== '' && typeof this.$parent[func] === 'function';\n },\n callParentFunction: function callParentFunction(func, args) {\n var defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n if (this.parentFunctionExists(func)) {\n return this.$parent[func].call(this.$parent, args);\n }\n\n return defaultValue;\n },\n fireEvent: function fireEvent(eventName, args) {\n this.$emit(this.eventPrefix + eventName, args);\n },\n warn: function warn(msg) {\n if (!this.silent) {\n console.warn(msg);\n }\n },\n getAllQueryParams: function getAllQueryParams() {\n var params = {};\n params[this.queryParams.sort] = this.getSortParam();\n params[this.queryParams.page] = this.currentPage;\n params[this.queryParams.perPage] = this.perPage;\n\n for (var x in this.appendParams) {\n params[x] = this.appendParams[x];\n }\n\n return params;\n },\n getSortParam: function getSortParam() {\n if (!this.sortOrder || this.sortOrder.field == '') {\n return '';\n }\n\n if (typeof this.$parent['getSortParam'] == 'function') {\n return this.$parent['getSortParam'].call(this.$parent, this.sortOrder);\n }\n\n return this.getDefaultSortParam();\n },\n getDefaultSortParam: function getDefaultSortParam() {\n var result = '';\n\n for (var i = 0; i < this.sortOrder.length; i++) {\n var fieldName = typeof this.sortOrder[i].sortField === 'undefined' ? this.sortOrder[i].field : this.sortOrder[i].sortField;\n\n result += fieldName + '|' + this.sortOrder[i].direction + (i + 1 < this.sortOrder.length ? ',' : '');\n }\n\n return result;\n },\n extractName: function extractName(string) {\n return string.split(':')[0].trim();\n },\n extractArgs: function extractArgs(string) {\n return string.split(':')[1];\n },\n isSortable: function isSortable(field) {\n return !(typeof field.sortField === 'undefined');\n },\n isInCurrentSortGroup: function isInCurrentSortGroup(field) {\n return this.currentSortOrderPosition(field) !== false;\n },\n currentSortOrderPosition: function currentSortOrderPosition(field) {\n if (!this.isSortable(field)) {\n return false;\n }\n\n for (var i = 0; i < this.sortOrder.length; i++) {\n if (this.fieldIsInSortOrderPosition(field, i)) {\n return i;\n }\n }\n\n return false;\n },\n fieldIsInSortOrderPosition: function fieldIsInSortOrderPosition(field, i) {\n return this.sortOrder[i].field === field.name && this.sortOrder[i].sortField === field.sortField;\n },\n orderBy: function orderBy(field, event) {\n if (!this.isSortable(field) || !this.apiMode) return;\n\n var key = this.multiSortKey.toLowerCase() + 'Key';\n\n if (this.multiSort && event[key]) {\n this.multiColumnSort(field);\n } else {\n this.singleColumnSort(field);\n }\n\n this.currentPage = 1;\n this.loadData();\n },\n multiColumnSort: function multiColumnSort(field) {\n var i = this.currentSortOrderPosition(field);\n\n if (i === false) {\n this.sortOrder.push({\n field: field.name,\n sortField: field.sortField,\n direction: 'asc'\n });\n } else {\n if (this.sortOrder[i].direction === 'asc') {\n this.sortOrder[i].direction = 'desc';\n } else {\n this.sortOrder.splice(i, 1);\n }\n }\n },\n singleColumnSort: function singleColumnSort(field) {\n if (this.sortOrder.length === 0) {\n this.clearSortOrder();\n }\n\n this.sortOrder.splice(1);\n\n if (this.fieldIsInSortOrderPosition(field, 0)) {\n this.sortOrder[0].direction = this.sortOrder[0].direction === 'asc' ? 'desc' : 'asc';\n } else {\n this.sortOrder[0].direction = 'asc';\n }\n this.sortOrder[0].field = field.name;\n this.sortOrder[0].sortField = field.sortField;\n },\n clearSortOrder: function clearSortOrder() {\n this.sortOrder.push({\n field: '',\n sortField: '',\n direction: 'asc'\n });\n },\n sortIcon: function sortIcon(field) {\n var cls = '';\n var i = this.currentSortOrderPosition(field);\n\n if (i !== false) {\n cls = this.sortOrder[i].direction == 'asc' ? this.css.ascendingIcon : this.css.descendingIcon;\n }\n\n return cls;\n },\n sortIconOpacity: function sortIconOpacity(field) {\n var max = 1.0,\n min = 0.3,\n step = 0.3;\n\n var count = this.sortOrder.length;\n var current = this.currentSortOrderPosition(field);\n\n if (max - count * step < min) {\n step = (max - min) / (count - 1);\n }\n\n var opacity = max - current * step;\n\n return opacity;\n },\n hasCallback: function hasCallback(item) {\n return item.callback ? true : false;\n },\n callCallback: function callCallback(field, item) {\n if (!this.hasCallback(field)) return;\n\n if (typeof field.callback == 'function') {\n return field.callback(this.getObjectValue(item, field.name));\n }\n\n var args = field.callback.split('|');\n var func = args.shift();\n\n if (typeof this.$parent[func] === 'function') {\n var value = this.getObjectValue(item, field.name);\n\n return args.length > 0 ? this.$parent[func].apply(this.$parent, [value].concat(args)) : this.$parent[func].call(this.$parent, value);\n }\n\n return null;\n },\n getObjectValue: function getObjectValue(object, path, defaultValue) {\n defaultValue = typeof defaultValue === 'undefined' ? null : defaultValue;\n\n var obj = object;\n if (path.trim() != '') {\n var keys = path.split('.');\n keys.forEach(function (key) {\n if (obj !== null && typeof obj[key] !== 'undefined' && obj[key] !== null) {\n obj = obj[key];\n } else {\n obj = defaultValue;\n return;\n }\n });\n }\n return obj;\n },\n toggleCheckbox: function toggleCheckbox(dataItem, fieldName, event) {\n var isChecked = event.target.checked;\n var idColumn = this.trackBy;\n\n if (dataItem[idColumn] === undefined) {\n this.warn('__checkbox field: The \"' + this.trackBy + '\" field does not exist! Make sure the field you specify in \"track-by\" prop does exist.');\n return;\n }\n\n var key = dataItem[idColumn];\n if (isChecked) {\n this.selectId(key);\n } else {\n this.unselectId(key);\n }\n this.$emit('vuetable:checkbox-toggled', isChecked, dataItem);\n },\n selectId: function selectId(key) {\n if (!this.isSelectedRow(key)) {\n this.selectedTo.push(key);\n }\n },\n unselectId: function unselectId(key) {\n this.selectedTo = this.selectedTo.filter(function (item) {\n return item !== key;\n });\n },\n isSelectedRow: function isSelectedRow(key) {\n return this.selectedTo.indexOf(key) >= 0;\n },\n rowSelected: function rowSelected(dataItem, fieldName) {\n var idColumn = this.trackBy;\n var key = dataItem[idColumn];\n\n return this.isSelectedRow(key);\n },\n checkCheckboxesState: function checkCheckboxesState(fieldName) {\n if (!this.tableData) return;\n\n var self = this;\n var idColumn = this.trackBy;\n var selector = 'th.vuetable-th-checkbox-' + idColumn + ' input[type=checkbox]';\n var els = document.querySelectorAll(selector);\n\n if (els.forEach === undefined) els.forEach = function (cb) {\n [].forEach.call(els, cb);\n };\n\n var selected = this.tableData.filter(function (item) {\n return self.selectedTo.indexOf(item[idColumn]) >= 0;\n });\n\n if (selected.length <= 0) {\n els.forEach(function (el) {\n el.indeterminate = false;\n });\n return false;\n } else if (selected.length < this.perPage) {\n els.forEach(function (el) {\n el.indeterminate = true;\n });\n return true;\n } else {\n els.forEach(function (el) {\n el.indeterminate = false;\n });\n return true;\n }\n },\n toggleAllCheckboxes: function toggleAllCheckboxes(fieldName, event) {\n var self = this;\n var isChecked = event.target.checked;\n var idColumn = this.trackBy;\n\n if (isChecked) {\n this.tableData.forEach(function (dataItem) {\n self.selectId(dataItem[idColumn]);\n });\n } else {\n this.tableData.forEach(function (dataItem) {\n self.unselectId(dataItem[idColumn]);\n });\n }\n this.$emit('vuetable:checkbox-toggled-all', isChecked);\n },\n gotoPreviousPage: function gotoPreviousPage() {\n if (this.currentPage > 1) {\n this.currentPage--;\n this.loadData();\n }\n },\n gotoNextPage: function gotoNextPage() {\n if (this.currentPage < this.tablePagination.last_page) {\n this.currentPage++;\n this.loadData();\n }\n },\n gotoPage: function gotoPage(page) {\n if (page != this.currentPage && page > 0 && page <= this.tablePagination.last_page) {\n this.currentPage = page;\n this.loadData();\n }\n },\n isVisibleDetailRow: function isVisibleDetailRow(rowId) {\n return this.visibleDetailRows.indexOf(rowId) >= 0;\n },\n showDetailRow: function showDetailRow(rowId) {\n if (!this.isVisibleDetailRow(rowId)) {\n this.visibleDetailRows.push(rowId);\n }\n },\n hideDetailRow: function hideDetailRow(rowId) {\n if (this.isVisibleDetailRow(rowId)) {\n this.visibleDetailRows.splice(this.visibleDetailRows.indexOf(rowId), 1);\n }\n },\n toggleDetailRow: function toggleDetailRow(rowId) {\n if (this.isVisibleDetailRow(rowId)) {\n this.hideDetailRow(rowId);\n } else {\n this.showDetailRow(rowId);\n }\n },\n showField: function showField(index) {\n if (index < 0 || index > this.tableFields.length) return;\n\n this.tableFields[index].visible = true;\n },\n hideField: function hideField(index) {\n if (index < 0 || index > this.tableFields.length) return;\n\n this.tableFields[index].visible = false;\n },\n toggleField: function toggleField(index) {\n if (index < 0 || index > this.tableFields.length) return;\n\n this.tableFields[index].visible = !this.tableFields[index].visible;\n },\n renderIconTag: function renderIconTag(classes) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\n return this.renderIcon === null ? '<i class=\"' + classes.join(' ') + '\" ' + options + '></i>' : this.renderIcon(classes, options);\n },\n onRowClass: function onRowClass(dataItem, index) {\n if (this.rowClassCallback !== '') {\n this.warn('\"row-class-callback\" prop is deprecated, please use \"row-class\" prop instead.');\n return;\n }\n\n if (typeof this.rowClass === 'function') {\n return this.rowClass(dataItem, index);\n }\n\n return this.rowClass;\n },\n onRowChanged: function onRowChanged(dataItem) {\n this.fireEvent('row-changed', dataItem);\n return true;\n },\n onRowClicked: function onRowClicked(dataItem, event) {\n this.$emit(this.eventPrefix + 'row-clicked', dataItem, event);\n return true;\n },\n onRowDoubleClicked: function onRowDoubleClicked(dataItem, event) {\n this.$emit(this.eventPrefix + 'row-dblclicked', dataItem, event);\n },\n onDetailRowClick: function onDetailRowClick(dataItem, event) {\n this.$emit(this.eventPrefix + 'detail-row-clicked', dataItem, event);\n },\n onCellClicked: function onCellClicked(dataItem, field, event) {\n this.$emit(this.eventPrefix + 'cell-clicked', dataItem, field, event);\n },\n onCellDoubleClicked: function onCellDoubleClicked(dataItem, field, event) {\n this.$emit(this.eventPrefix + 'cell-dblclicked', dataItem, field, event);\n },\n changePage: function changePage(page) {\n if (page === 'prev') {\n this.gotoPreviousPage();\n } else if (page === 'next') {\n this.gotoNextPage();\n } else {\n this.gotoPage(page);\n }\n },\n reload: function reload() {\n this.loadData();\n },\n refresh: function refresh() {\n this.currentPage = 1;\n this.loadData();\n },\n resetData: function resetData() {\n this.tableData = null;\n this.tablePagination = null;\n this.fireEvent('data-reset');\n }\n },\n watch: {\n 'multiSort': function multiSort(newVal, oldVal) {\n if (newVal === false && this.sortOrder.length > 1) {\n this.sortOrder.splice(1);\n this.loadData();\n }\n },\n\n 'apiUrl': function apiUrl(newVal, oldVal) {\n if (newVal !== oldVal) this.refresh();\n }\n }\n};"},{"id":4,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/index.js","name":"./~/axios/index.js","index":4,"index2":26,"size":40,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":"/htdocs/m/mycode/vuetable-2/node_modules/babel-loader/lib/index.js?presets[]=es2015&plugins[]=transform-runtime&comments=false!/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/lib/selector.js?type=script&index=0!/htdocs/m/mycode/vuetable-2/src/components/Vuetable.vue","failed":false,"errors":0,"warnings":0,"reasons":[{"moduleId":3,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/babel-loader/lib/index.js?presets[]=es2015&plugins[]=transform-runtime&comments=false!/htdocs/m/mycode/vuetable-2/node_modules/vue-loader/lib/selector.js?type=script&index=0!/htdocs/m/mycode/vuetable-2/src/components/Vuetable.vue","module":"./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Vuetable.vue","moduleName":"./~/babel-loader/lib?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Vuetable.vue","type":"cjs require","userRequest":"axios","loc":"7:13-29"}],"source":"module.exports = require('./lib/axios');"},{"id":5,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/axios.js","name":"./~/axios/lib/axios.js","index":5,"index2":25,"size":1368,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":"/htdocs/m/mycode/vuetable-2/node_modules/axios/index.js","failed":false,"errors":0,"warnings":0,"reasons":[{"moduleId":4,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/index.js","module":"./~/axios/index.js","moduleName":"./~/axios/index.js","type":"cjs require","userRequest":"./lib/axios","loc":"1:17-39"}],"source":"'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(utils.merge(defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n"},{"id":6,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/utils.js","name":"./~/axios/lib/utils.js","index":6,"index2":2,"size":7456,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/axios.js","failed":false,"errors":0,"warnings":0,"reasons":[{"moduleId":5,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/axios.js","module":"./~/axios/lib/axios.js","moduleName":"./~/axios/lib/axios.js","type":"cjs require","userRequest":"./utils","loc":"3:12-30"},{"moduleId":8,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/core/Axios.js","module":"./~/axios/lib/core/Axios.js","moduleName":"./~/axios/lib/core/Axios.js","type":"cjs require","userRequest":"./../utils","loc":"4:12-33"},{"moduleId":9,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/defaults.js","module":"./~/axios/lib/defaults.js","moduleName":"./~/axios/lib/defaults.js","type":"cjs require","userRequest":"./utils","loc":"3:12-30"},{"moduleId":11,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/helpers/normalizeHeaderName.js","module":"./~/axios/lib/helpers/normalizeHeaderName.js","moduleName":"./~/axios/lib/helpers/normalizeHeaderName.js","type":"cjs require","userRequest":"../utils","loc":"3:12-31"},{"moduleId":12,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/adapters/xhr.js","module":"./~/axios/lib/adapters/xhr.js","moduleName":"./~/axios/lib/adapters/xhr.js","type":"cjs require","userRequest":"./../utils","loc":"3:12-33"},{"moduleId":16,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/helpers/buildURL.js","module":"./~/axios/lib/helpers/buildURL.js","moduleName":"./~/axios/lib/helpers/buildURL.js","type":"cjs require","userRequest":"./../utils","loc":"3:12-33"},{"moduleId":17,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/helpers/parseHeaders.js","module":"./~/axios/lib/helpers/parseHeaders.js","moduleName":"./~/axios/lib/helpers/parseHeaders.js","type":"cjs require","userRequest":"./../utils","loc":"3:12-33"},{"moduleId":18,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/helpers/isURLSameOrigin.js","module":"./~/axios/lib/helpers/isURLSameOrigin.js","moduleName":"./~/axios/lib/helpers/isURLSameOrigin.js","type":"cjs require","userRequest":"./../utils","loc":"3:12-33"},{"moduleId":20,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/helpers/cookies.js","module":"./~/axios/lib/helpers/cookies.js","moduleName":"./~/axios/lib/helpers/cookies.js","type":"cjs require","userRequest":"./../utils","loc":"3:12-33"},{"moduleId":21,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/core/InterceptorManager.js","module":"./~/axios/lib/core/InterceptorManager.js","moduleName":"./~/axios/lib/core/InterceptorManager.js","type":"cjs require","userRequest":"./../utils","loc":"3:12-33"},{"moduleId":22,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/core/dispatchRequest.js","module":"./~/axios/lib/core/dispatchRequest.js","moduleName":"./~/axios/lib/core/dispatchRequest.js","type":"cjs require","userRequest":"./../utils","loc":"3:12-33"},{"moduleId":23,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/core/transformData.js","module":"./~/axios/lib/core/transformData.js","moduleName":"./~/axios/lib/core/transformData.js","type":"cjs require","userRequest":"./../utils","loc":"3:12-33"}],"source":"'use strict';\n\nvar bind = require('./helpers/bind');\n\n/*global toString:true*/\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * typeof document.createElement -> undefined\n */\nfunction isStandardBrowserEnv() {\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined' &&\n typeof document.createElement === 'function'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object' && !isArray(obj)) {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (typeof result[key] === 'object' && typeof val === 'object') {\n result[key] = merge(result[key], val);\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim\n};\n"},{"id":7,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/helpers/bind.js","name":"./~/axios/lib/helpers/bind.js","index":7,"index2":1,"size":256,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/axios.js","failed":false,"errors":0,"warnings":0,"reasons":[{"moduleId":5,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/axios.js","module":"./~/axios/lib/axios.js","moduleName":"./~/axios/lib/axios.js","type":"cjs require","userRequest":"./helpers/bind","loc":"4:11-36"},{"moduleId":6,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/utils.js","module":"./~/axios/lib/utils.js","moduleName":"./~/axios/lib/utils.js","type":"cjs require","userRequest":"./helpers/bind","loc":"3:11-36"}],"source":"'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n"},{"id":8,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/core/Axios.js","name":"./~/axios/lib/core/Axios.js","index":8,"index2":21,"size":2390,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/axios.js","failed":false,"errors":0,"warnings":0,"reasons":[{"moduleId":5,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/axios.js","module":"./~/axios/lib/axios.js","moduleName":"./~/axios/lib/axios.js","type":"cjs require","userRequest":"./core/Axios","loc":"5:12-35"}],"source":"'use strict';\n\nvar defaults = require('./../defaults');\nvar utils = require('./../utils');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar isAbsoluteURL = require('./../helpers/isAbsoluteURL');\nvar combineURLs = require('./../helpers/combineURLs');\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = utils.merge({\n url: arguments[0]\n }, arguments[1]);\n }\n\n config = utils.merge(defaults, this.defaults, { method: 'get' }, config);\n\n // Support baseURL config\n if (config.baseURL && !isAbsoluteURL(config.url)) {\n config.url = combineURLs(config.baseURL, config.url);\n }\n\n // Hook up interceptors middleware\n var chain = [dispatchRequest, undefined];\n var promise = Promise.resolve(config);\n\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n chain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n chain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n"},{"id":9,"identifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/defaults.js","name":"./~/axios/lib/defaults.js","index":9,"index2":14,"size":2376,"cacheable":true,"built":true,"optional":false,"prefetched":false,"chunks":[0],"assets":[],"issuer":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/axios.js","failed":false,"errors":0,"warnings":0,"reasons":[{"moduleId":5,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/axios.js","module":"./~/axios/lib/axios.js","moduleName":"./~/axios/lib/axios.js","type":"cjs require","userRequest":"./defaults","loc":"6:15-36"},{"moduleId":8,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/core/Axios.js","module":"./~/axios/lib/core/Axios.js","moduleName":"./~/axios/lib/core/Axios.js","type":"cjs require","userRequest":"./../defaults","loc":"3:15-39"},{"moduleId":22,"moduleIdentifier":"/htdocs/m/mycode/vuetable-2/node_modules/axios/lib/core/dispatchRequest.js","module":"./~/axios/lib/core/dispatchRequest.js","moduleName":"./~/axios/lib/core/dispatchRequest.js","type":"cjs require","userRequest":"../defaults","loc":"6:15-37"}],"source":"'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\n\nvar PROTECTION_PREFIX = /^\\)\\]\\}',?\\n/;\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !==