HEX
Server: Apache
System: Linux server1.ariadata.co 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User: nepi (1051)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,show_source,popen,proc_open
Upload Files
File: /home/nepi/public_html/public/admin/js/settings_collections.860db50c.js.map
{"version":3,"sources":["webpack:///./src/routes/settings/collections.vue?ca9e","webpack:///./src/routes/settings/collections.vue?718c","webpack:///src/routes/settings/collections.vue","webpack:///./src/routes/settings/collections.vue?a507","webpack:///./src/routes/settings/collections.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","breadcrumb","currentProjectKey","slot","key","$t","on","$event","addNew","items","length","_v","_s","$tc","_l","collection","class","hidden","__link__","icon","note","_e","toManage","includes","nativeOn","stopPropagation","preventDefault","toggleManage","adding","add","model","value","callback","$$v","newName","expression","status","sort","owner","createdOn","modifiedBy","modifiedOn","dontManage","stopManaging","staticRenderFns","component"],"mappings":"sHAAA,yBAA6jB,EAAG,G,gECAhkB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,WAAW,CAACG,MAAM,CAAC,WAAaP,EAAIQ,WAAW,YAAa,IAAMR,EAAIS,kBAAoB,YAAa,SAAW,KAAK,CAACL,EAAG,WAAW,CAACM,KAAK,WAAW,CAACN,EAAG,kBAAkB,CAACO,IAAI,MAAMJ,MAAM,CAAC,KAAO,MAAM,MAAQP,EAAIY,GAAG,OAAO,aAAa,4BAA4B,mBAAmB,mCAAmCC,GAAG,CAAC,MAAQ,SAASC,GAAQd,EAAIe,QAAS,OAAU,IAAI,GAAyB,IAArBf,EAAIgB,MAAMC,OAAcb,EAAG,UAAU,CAACG,MAAM,CAAC,MAAQP,EAAIY,GAAG,kBAAkB,KAAOZ,EAAIY,GAAG,uBAAuB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CAEA,OACA,CACA,eACA,eACA,UACA,WACA,wBACA,kBACA,eACA,iBACA,mBAGA,GACA,IACA,kBACA,wBACA,eACA,mBACA,WACA,WACA,iBACA,iBACA,wBACA,YACA,SACA,QACA,aACA,eACA,WACA,YACA,UACA,OACA,iBACA,eACA,UACA,gBACA,eAIA,cACA,QACA,cACA,mBACA,UACA,eACA,mBACA,sBACA,aACA,YACA,SACA,gBACA,WACA,iBACA,kBACA,mBACA,0BACA,kBACA,gBACA,eACA,aACA,oBAEA,OACA,aACA,cACA,mBACA,iCACA,kBACA,gBACA,eACA,aACA,oBAEA,SACA,eACA,gBACA,mBACA,uBACA,kBACA,gBACA,eACA,aACA,wBAKA,UACA,wBACA,eACA,mBACA,UACA,eACA,kBACA,sBACA,UACA,UACA,cACA,OACA,mBACA,iBACA,iBACA,YACA,SACA,gBACA,WACA,iBACA,kBACA,mBACA,0BACA,kBACA,gBACA,eACA,cAEA,OACA,aACA,cACA,mBACA,iCACA,kBACA,gBACA,eACA,cAEA,SACA,eACA,gBACA,mBACA,uBACA,kBACA,gBACA,eACA,gBAIA,UACA,iBACA,YACA,aACA,gBACA,WACA,cAGA,YACA,QACA,YACA,eACA,aACA,iBACA,iBACA,iBACA,eAEA,QACA,wBACA,aACA,eACA,UACA,eACA,kBACA,mBACA,UACA,UACA,YACA,OACA,iBACA,iBACA,iBACA,YACA,aACA,UACA,iBACA,YACA,aACA,gBACA,WACA,cAGA,aACA,QACA,aACA,eACA,cACA,kBACA,SACA,wCACA,gBAEA,YACA,iBACA,iBACA,eAEA,SACA,wBACA,cACA,eACA,UACA,eACA,kBACA,mBACA,UACA,UACA,aACA,OACA,kBACA,iBACA,iBACA,YACA,SACA,wCACA,gBAEA,UACA,iBACA,YACA,aACA,gBACA,WACA,cAGA,iBACA,QACA,wBACA,oBACA,mBACA,6BACA,YACA,iBACA,iBACA,eAEA,cACA,wBACA,mBACA,oBACA,UACA,eACA,kBACA,mBACA,UACA,UACA,wBACA,OACA,6BACA,iBACA,iBACA,YACA,aACA,UACA,iBACA,YACA,aACA,gBACA,WACA,cAGA,kBACA,QACA,oBACA,eACA,oBACA,yBACA,SACA,wCACA,gBAEA,YACA,iBACA,iBACA,eAEA,eACA,wBACA,oBACA,eACA,UACA,eACA,kBACA,mBACA,UACA,UACA,oBACA,OACA,yBACA,iBACA,iBACA,YACA,SACA,wCACA,gBAEA,UACA,iBACA,YACA,aACA,gBACA,WACA,cAGA,kBACA,QACA,wBACA,oBACA,oBACA,6BACA,YACA,iBACA,iBACA,eAEA,eACA,wBACA,oBACA,oBACA,UACA,eACA,kBACA,mBACA,UACA,UACA,wBACA,OACA,6BACA,iBACA,iBACA,YACA,aACA,UACA,iBACA,YACA,aACA,gBACA,WACA,cAIA,UACA,iBACA,CACA,wBACA,SACA,UAEA,CACA,eAGA,mCACA,kBACA,uCACA,uCACA,EADA,CAKA,YAEA,oCACA,0BACA,oBADA,iCACA,eAGA,mBAGA,GAFA,YACA,uCACA,GAEA,OACA,mCAEA,wBACA,OACA,YACA,UACA,kCACA,eAKA,aA9YA,SA8YA,cACA,cAGA,iBACA,gDACA,aAEA,iBAEA,OADA,8BACA,uCAEA,iBACA,WACA,6BACA,cACA,sBAGA,mBACA,wBACA,yCACA,aAGA,iBACA,yDAxBA,mBA4BA,aA5aA,WA4aA,WACA,kBAEA,OADA,4CACA,UACA,gDACA,aAEA,iBACA,8CAEA,iBACA,WACA,6BACA,cACA,sBAGA,mBACA,wBACA,yCACA,aAGA,iBACA,kBACA,4CACA,GAEA,wBC1mBoW,I,wBCQhWC,EAAY,eACd,EACArD,EACAoD,GACA,EACA,KACA,WACA,MAIa,aAAAC,E","file":"js/settings_collections.860db50c.js","sourcesContent":["import mod 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-loader/lib/loaders/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!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./collections.vue?vue&type=style&index=0&id=8e8f34c0&lang=scss&scoped=true&\"; export default mod; 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-loader/lib/loaders/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!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./collections.vue?vue&type=style&index=0&id=8e8f34c0&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"collections\"},[_c('v-header',{attrs:{\"breadcrumb\":_vm.breadcrumb,\"icon-link\":(\"/\" + _vm.currentProjectKey + \"/settings\"),\"settings\":\"\"}},[_c('template',{slot:\"buttons\"},[_c('v-header-button',{key:\"add\",attrs:{\"icon\":\"add\",\"label\":_vm.$t('new'),\"icon-color\":\"button-primary-text-color\",\"background-color\":\"button-primary-background-color\"},on:{\"click\":function($event){_vm.addNew = true}}})],1)],2),(_vm.items.length === 0)?_c('v-error',{attrs:{\"title\":_vm.$t('no_collections'),\"body\":_vm.$t('no_collections_body'),\"icon\":\"error_outline\"}}):_c('div',{staticClass:\"table\"},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"cell icon type-table-head\"},[_c('v-icon',{attrs:{\"name\":\"box\",\"color\":\"--input-icon-color\"}})],1),_c('div',{staticClass:\"cell type-table-head\"},[_vm._v(_vm._s(_vm.$tc('collection', 2)))])])]),_c('div',{staticClass:\"body\"},_vm._l((_vm.items),function(collection){return _c('router-link',{key:collection.collection,staticClass:\"row\",class:collection.hidden ? 'subdue' : null,attrs:{\"to\":collection.__link__}},[_c('div',{staticClass:\"cell icon\"},[_c('v-icon',{attrs:{\"name\":collection.icon || 'box',\"color\":\"--input-icon-color\"}})],1),_c('div',{staticClass:\"cell name\"},[_vm._v(\" \"+_vm._s(collection.collection)+\" \"),(collection.note)?_c('span',{staticClass:\"note\"},[_vm._v(\"(\"+_vm._s(collection.note)+\")\")]):_vm._e()]),(collection.managed)?_c('v-button',{staticClass:\"managed\",attrs:{\"x-small\":\"\",\"background-color\":\"--button-tertiary-background-color\",\"color\":\"--button-tertiary-text-color\",\"hover-background-color\":\"--danger\",\"hover-color\":\"--white\",\"loading\":_vm.toManage.includes(collection.collection)},nativeOn:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.toggleManage(collection)}}},[_vm._v(\" \"+_vm._s(_vm.$t('dont_manage'))+\" \")]):_c('v-button',{staticClass:\"not-managed\",attrs:{\"x-small\":\"\",\"loading\":_vm.toManage.includes(collection.collection)},nativeOn:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.toggleManage(collection)}}},[_vm._v(\" \"+_vm._s(_vm.$t('manage'))+\" \")])],1)}),1)]),(_vm.addNew)?_c('portal',{attrs:{\"to\":\"modal\"}},[_c('v-prompt',{attrs:{\"safe\":\"\",\"confirm-text\":_vm.$t('create'),\"title\":_vm.$t('create_collection'),\"placeholder\":_vm.$t('enter_collection_name'),\"loading\":_vm.adding},on:{\"cancel\":function($event){_vm.addNew = false},\"confirm\":_vm.add},model:{value:(_vm.newName),callback:function ($$v) {_vm.newName=$$v},expression:\"newName\"}},[_c('v-details',{attrs:{\"title\":\"Default fields\",\"open\":true}},[_c('div',{staticClass:\"advanced-form\"},[_c('v-switch',{attrs:{\"label\":_vm.$t('status')},model:{value:(_vm.status),callback:function ($$v) {_vm.status=$$v},expression:\"status\"}}),_c('v-switch',{attrs:{\"label\":_vm.$t('sort')},model:{value:(_vm.sort),callback:function ($$v) {_vm.sort=$$v},expression:\"sort\"}}),_c('v-switch',{attrs:{\"label\":_vm.$t('owner')},model:{value:(_vm.owner),callback:function ($$v) {_vm.owner=$$v},expression:\"owner\"}}),_c('v-switch',{attrs:{\"label\":_vm.$t('created_on')},model:{value:(_vm.createdOn),callback:function ($$v) {_vm.createdOn=$$v},expression:\"createdOn\"}}),_c('v-switch',{attrs:{\"label\":_vm.$t('modified_by')},model:{value:(_vm.modifiedBy),callback:function ($$v) {_vm.modifiedBy=$$v},expression:\"modifiedBy\"}}),_c('v-switch',{attrs:{\"label\":_vm.$t('modified_on')},model:{value:(_vm.modifiedOn),callback:function ($$v) {_vm.modifiedOn=$$v},expression:\"modifiedOn\"}})],1)])],1)],1):_vm._e(),(_vm.dontManage)?_c('portal',{attrs:{\"to\":\"modal\"}},[_c('v-confirm',{attrs:{\"message\":_vm.$t('dont_manage_copy'),\"color\":\"danger\",\"confirm-text\":_vm.$t('dont_manage'),\"loading\":_vm.toManage.includes(_vm.dontManage.collection.collection)},on:{\"cancel\":function($event){_vm.dontManage = null},\"confirm\":_vm.stopManaging}})],1):_vm._e(),_c('v-info-sidebar',{attrs:{\"wide\":\"\"}},[_c('span',{staticClass:\"type-note\"},[_vm._v(\"No settings\")])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"collections\">\n\t\t<v-header :breadcrumb=\"breadcrumb\" :icon-link=\"`/${currentProjectKey}/settings`\" settings>\n\t\t\t<template slot=\"buttons\">\n\t\t\t\t<v-header-button\n\t\t\t\t\tkey=\"add\"\n\t\t\t\t\ticon=\"add\"\n\t\t\t\t\t:label=\"$t('new')\"\n\t\t\t\t\ticon-color=\"button-primary-text-color\"\n\t\t\t\t\tbackground-color=\"button-primary-background-color\"\n\t\t\t\t\t@click=\"addNew = true\"\n\t\t\t\t/>\n\t\t\t</template>\n\t\t</v-header>\n\t\t<v-error\n\t\t\tv-if=\"items.length === 0\"\n\t\t\t:title=\"$t('no_collections')\"\n\t\t\t:body=\"$t('no_collections_body')\"\n\t\t\ticon=\"error_outline\"\n\t\t/>\n\n\t\t<div v-else class=\"table\">\n\t\t\t<div class=\"header\">\n\t\t\t\t<div class=\"row\">\n\t\t\t\t\t<div class=\"cell icon type-table-head\">\n\t\t\t\t\t\t<v-icon name=\"box\" color=\"--input-icon-color\" />\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"cell type-table-head\">{{ $tc('collection', 2) }}</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"body\">\n\t\t\t\t<router-link\n\t\t\t\t\tv-for=\"collection in items\"\n\t\t\t\t\t:key=\"collection.collection\"\n\t\t\t\t\tclass=\"row\"\n\t\t\t\t\t:class=\"collection.hidden ? 'subdue' : null\"\n\t\t\t\t\t:to=\"collection.__link__\"\n\t\t\t\t>\n\t\t\t\t\t<div class=\"cell icon\">\n\t\t\t\t\t\t<v-icon :name=\"collection.icon || 'box'\" color=\"--input-icon-color\" />\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"cell name\">\n\t\t\t\t\t\t{{ collection.collection }}\n\t\t\t\t\t\t<span v-if=\"collection.note\" class=\"note\">({{ collection.note }})</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<v-button\n\t\t\t\t\t\tv-if=\"collection.managed\"\n\t\t\t\t\t\tclass=\"managed\"\n\t\t\t\t\t\tx-small\n\t\t\t\t\t\tbackground-color=\"--button-tertiary-background-color\"\n\t\t\t\t\t\tcolor=\"--button-tertiary-text-color\"\n\t\t\t\t\t\thover-background-color=\"--danger\"\n\t\t\t\t\t\thover-color=\"--white\"\n\t\t\t\t\t\t:loading=\"toManage.includes(collection.collection)\"\n\t\t\t\t\t\t@click.native.stop.prevent=\"toggleManage(collection)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ $t('dont_manage') }}\n\t\t\t\t\t</v-button>\n\t\t\t\t\t<v-button\n\t\t\t\t\t\tv-else\n\t\t\t\t\t\tclass=\"not-managed\"\n\t\t\t\t\t\tx-small\n\t\t\t\t\t\t:loading=\"toManage.includes(collection.collection)\"\n\t\t\t\t\t\t@click.native.stop.prevent=\"toggleManage(collection)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ $t('manage') }}\n\t\t\t\t\t</v-button>\n\t\t\t\t</router-link>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<portal v-if=\"addNew\" to=\"modal\">\n\t\t\t<v-prompt\n\t\t\t\tv-model=\"newName\"\n\t\t\t\tsafe\n\t\t\t\t:confirm-text=\"$t('create')\"\n\t\t\t\t:title=\"$t('create_collection')\"\n\t\t\t\t:placeholder=\"$t('enter_collection_name')\"\n\t\t\t\t:loading=\"adding\"\n\t\t\t\t@cancel=\"addNew = false\"\n\t\t\t\t@confirm=\"add\"\n\t\t\t>\n\t\t\t\t<v-details title=\"Default fields\" :open=\"true\">\n\t\t\t\t\t<div class=\"advanced-form\">\n\t\t\t\t\t\t<v-switch v-model=\"status\" :label=\"$t('status')\" />\n\t\t\t\t\t\t<v-switch v-model=\"sort\" :label=\"$t('sort')\" />\n\t\t\t\t\t\t<v-switch v-model=\"owner\" :label=\"$t('owner')\" />\n\t\t\t\t\t\t<v-switch v-model=\"createdOn\" :label=\"$t('created_on')\" />\n\t\t\t\t\t\t<v-switch v-model=\"modifiedBy\" :label=\"$t('modified_by')\" />\n\t\t\t\t\t\t<v-switch v-model=\"modifiedOn\" :label=\"$t('modified_on')\" />\n\t\t\t\t\t</div>\n\t\t\t\t</v-details>\n\t\t\t</v-prompt>\n\t\t</portal>\n\n\t\t<portal v-if=\"dontManage\" to=\"modal\">\n\t\t\t<v-confirm\n\t\t\t\t:message=\"$t('dont_manage_copy')\"\n\t\t\t\tcolor=\"danger\"\n\t\t\t\t:confirm-text=\"$t('dont_manage')\"\n\t\t\t\t:loading=\"toManage.includes(dontManage.collection.collection)\"\n\t\t\t\t@cancel=\"dontManage = null\"\n\t\t\t\t@confirm=\"stopManaging\"\n\t\t\t/>\n\t\t</portal>\n\t\t<v-info-sidebar wide>\n\t\t\t<span class=\"type-note\">No settings</span>\n\t\t</v-info-sidebar>\n\t</div>\n</template>\n\n<script>\nimport { mapState } from 'vuex';\n\nexport default {\n\tname: 'SettingsCollections',\n\tmetaInfo() {\n\t\treturn {\n\t\t\ttitle: `${this.$t('settings')} | ${this.$t('settings_collections_fields')}`\n\t\t};\n\t},\n\tdata() {\n\t\treturn {\n\t\t\taddNew: false,\n\t\t\tnewName: '',\n\t\t\tadding: false,\n\t\t\tstatus: true,\n\t\t\tsort: false,\n\t\t\towner: true,\n\t\t\tcreatedOn: true,\n\t\t\tmodifiedBy: false,\n\t\t\tmodifiedOn: false,\n\n\t\t\tdontManage: null,\n\t\t\ttoManage: []\n\t\t};\n\t},\n\tcomputed: {\n\t\t...mapState(['currentProjectKey']),\n\t\titems() {\n\t\t\tconst collections = this.$store.state.collections || {};\n\n\t\t\treturn Object.values(collections)\n\t\t\t\t.filter(collection => collection.collection.startsWith('directus_') === false)\n\t\t\t\t.map(collection => ({\n\t\t\t\t\t...collection,\n\t\t\t\t\t__link__: `/${this.currentProjectKey}/settings/collections/${collection.collection}`\n\t\t\t\t}));\n\t\t},\n\t\tbreadcrumb() {\n\t\t\treturn [\n\t\t\t\t{\n\t\t\t\t\tname: this.$t('settings'),\n\t\t\t\t\tpath: `/${this.currentProjectKey}/settings`\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: this.$t('collections_and_fields'),\n\t\t\t\t\tpath: `/${this.currentProjectKey}/settings/collections`\n\t\t\t\t}\n\t\t\t];\n\t\t}\n\t},\n\tmethods: {\n\t\tadd() {\n\t\t\tthis.adding = true;\n\n\t\t\tconst id = this.$helpers.shortid.generate();\n\t\t\tthis.$store.dispatch('loadingStart', { id });\n\n\t\t\tlet fieldsToAdd = [\n\t\t\t\t{\n\t\t\t\t\ttype: 'integer',\n\t\t\t\t\tdatatype: 'INT',\n\t\t\t\t\tlength: 15,\n\t\t\t\t\tfield: 'id',\n\t\t\t\t\tinterface: 'primary-key',\n\t\t\t\t\tauto_increment: true,\n\t\t\t\t\tprimary_key: true,\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true\n\t\t\t\t}\n\t\t\t];\n\t\t\tlet fieldsToDispatch = {\n\t\t\t\tid: {\n\t\t\t\t\tauto_increment: true,\n\t\t\t\t\tcollection: this.newName,\n\t\t\t\t\tdatatype: 'INT',\n\t\t\t\t\tdefault_value: null,\n\t\t\t\t\tfield: 'id',\n\t\t\t\t\tgroup: null,\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\tinterface: 'primary-key',\n\t\t\t\t\tlength: '10',\n\t\t\t\t\tlocked: 0,\n\t\t\t\t\tnote: '',\n\t\t\t\t\toptions: null,\n\t\t\t\t\tprimary_key: true,\n\t\t\t\t\treadonly: 0,\n\t\t\t\t\trequired: true,\n\t\t\t\t\tsigned: false,\n\t\t\t\t\tsort: 1,\n\t\t\t\t\ttranslation: null,\n\t\t\t\t\ttype: 'integer',\n\t\t\t\t\tunique: false,\n\t\t\t\t\tvalidation: null,\n\t\t\t\t\twidth: 'full'\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tif (this.status) {\n\t\t\t\tfieldsToAdd.push({\n\t\t\t\t\ttype: 'status',\n\t\t\t\t\tdatatype: 'VARCHAR',\n\t\t\t\t\tlength: 20,\n\t\t\t\t\tfield: 'status',\n\t\t\t\t\tinterface: 'status',\n\t\t\t\t\tdefault_value: 'draft',\n\t\t\t\t\twidth: 'full',\n\t\t\t\t\trequired: true,\n\t\t\t\t\toptions: {\n\t\t\t\t\t\tstatus_mapping: {\n\t\t\t\t\t\t\tpublished: {\n\t\t\t\t\t\t\t\tname: 'Published',\n\t\t\t\t\t\t\t\tvalue: 'published',\n\t\t\t\t\t\t\t\ttext_color: 'white',\n\t\t\t\t\t\t\t\tbackground_color: 'accent',\n\t\t\t\t\t\t\t\tbrowse_subdued: false,\n\t\t\t\t\t\t\t\tbrowse_badge: true,\n\t\t\t\t\t\t\t\tsoft_delete: false,\n\t\t\t\t\t\t\t\tpublished: true,\n\t\t\t\t\t\t\t\trequired_fields: true\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdraft: {\n\t\t\t\t\t\t\t\tname: 'Draft',\n\t\t\t\t\t\t\t\tvalue: 'draft',\n\t\t\t\t\t\t\t\ttext_color: 'white',\n\t\t\t\t\t\t\t\tbackground_color: 'blue-grey-100',\n\t\t\t\t\t\t\t\tbrowse_subdued: true,\n\t\t\t\t\t\t\t\tbrowse_badge: true,\n\t\t\t\t\t\t\t\tsoft_delete: false,\n\t\t\t\t\t\t\t\tpublished: false,\n\t\t\t\t\t\t\t\trequired_fields: false\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdeleted: {\n\t\t\t\t\t\t\t\tname: 'Deleted',\n\t\t\t\t\t\t\t\tvalue: 'deleted',\n\t\t\t\t\t\t\t\ttext_color: 'white',\n\t\t\t\t\t\t\t\tbackground_color: 'red',\n\t\t\t\t\t\t\t\tbrowse_subdued: true,\n\t\t\t\t\t\t\t\tbrowse_badge: true,\n\t\t\t\t\t\t\t\tsoft_delete: true,\n\t\t\t\t\t\t\t\tpublished: false,\n\t\t\t\t\t\t\t\trequired_fields: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tfieldsToDispatch.status = {\n\t\t\t\t\tcollection: this.newName,\n\t\t\t\t\tfield: 'status',\n\t\t\t\t\tdatatype: 'VARCHAR',\n\t\t\t\t\tunique: false,\n\t\t\t\t\tprimary_key: false,\n\t\t\t\t\tauto_increment: false,\n\t\t\t\t\tdefault_value: 'draft',\n\t\t\t\t\tnote: null,\n\t\t\t\t\tsigned: true,\n\t\t\t\t\ttype: 'status',\n\t\t\t\t\tsort: 0,\n\t\t\t\t\tinterface: 'status',\n\t\t\t\t\thidden_detail: false,\n\t\t\t\t\thidden_browse: false,\n\t\t\t\t\trequired: true,\n\t\t\t\t\toptions: {\n\t\t\t\t\t\tstatus_mapping: {\n\t\t\t\t\t\t\tpublished: {\n\t\t\t\t\t\t\t\tname: 'Published',\n\t\t\t\t\t\t\t\tvalue: 'published',\n\t\t\t\t\t\t\t\ttext_color: 'white',\n\t\t\t\t\t\t\t\tbackground_color: 'accent',\n\t\t\t\t\t\t\t\tbrowse_subdued: false,\n\t\t\t\t\t\t\t\tbrowse_badge: true,\n\t\t\t\t\t\t\t\tsoft_delete: false,\n\t\t\t\t\t\t\t\tpublished: true\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdraft: {\n\t\t\t\t\t\t\t\tname: 'Draft',\n\t\t\t\t\t\t\t\tvalue: 'draft',\n\t\t\t\t\t\t\t\ttext_color: 'white',\n\t\t\t\t\t\t\t\tbackground_color: 'blue-grey-100',\n\t\t\t\t\t\t\t\tbrowse_subdued: true,\n\t\t\t\t\t\t\t\tbrowse_badge: true,\n\t\t\t\t\t\t\t\tsoft_delete: false,\n\t\t\t\t\t\t\t\tpublished: false\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tdeleted: {\n\t\t\t\t\t\t\t\tname: 'Deleted',\n\t\t\t\t\t\t\t\tvalue: 'deleted',\n\t\t\t\t\t\t\t\ttext_color: 'white',\n\t\t\t\t\t\t\t\tbackground_color: 'red',\n\t\t\t\t\t\t\t\tbrowse_subdued: true,\n\t\t\t\t\t\t\t\tbrowse_badge: true,\n\t\t\t\t\t\t\t\tsoft_delete: true,\n\t\t\t\t\t\t\t\tpublished: false\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tlocked: false,\n\t\t\t\t\ttranslation: null,\n\t\t\t\t\treadonly: false,\n\t\t\t\t\twidth: 'full',\n\t\t\t\t\tvalidation: null,\n\t\t\t\t\tgroup: null,\n\t\t\t\t\tlength: '20'\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (this.sort) {\n\t\t\t\tfieldsToAdd.push({\n\t\t\t\t\ttype: 'sort',\n\t\t\t\t\tdatatype: 'INT',\n\t\t\t\t\tfield: 'sort',\n\t\t\t\t\tinterface: 'sort',\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\twidth: 'full'\n\t\t\t\t});\n\t\t\t\tfieldsToDispatch.sort = {\n\t\t\t\t\tcollection: this.newName,\n\t\t\t\t\tfield: 'sort',\n\t\t\t\t\tdatatype: 'INT',\n\t\t\t\t\tunique: false,\n\t\t\t\t\tprimary_key: false,\n\t\t\t\t\tauto_increment: false,\n\t\t\t\t\tdefault_value: null,\n\t\t\t\t\tnote: null,\n\t\t\t\t\tsigned: false,\n\t\t\t\t\ttype: 'sort',\n\t\t\t\t\tsort: 0,\n\t\t\t\t\tinterface: 'sort',\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\trequired: false,\n\t\t\t\t\toptions: null,\n\t\t\t\t\tlocked: false,\n\t\t\t\t\ttranslation: null,\n\t\t\t\t\treadonly: false,\n\t\t\t\t\twidth: 'full',\n\t\t\t\t\tvalidation: null,\n\t\t\t\t\tgroup: null,\n\t\t\t\t\tlength: '10'\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (this.owner) {\n\t\t\t\tfieldsToAdd.push({\n\t\t\t\t\ttype: 'owner',\n\t\t\t\t\tdatatype: 'INT',\n\t\t\t\t\tfield: 'owner',\n\t\t\t\t\tinterface: 'owner',\n\t\t\t\t\toptions: {\n\t\t\t\t\t\ttemplate: '{{first_name}} {{last_name}}',\n\t\t\t\t\t\tdisplay: 'both'\n\t\t\t\t\t},\n\t\t\t\t\treadonly: true,\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\twidth: 'full'\n\t\t\t\t});\n\t\t\t\tfieldsToDispatch.owner = {\n\t\t\t\t\tcollection: this.newName,\n\t\t\t\t\tfield: 'owner',\n\t\t\t\t\tdatatype: 'INT',\n\t\t\t\t\tunique: false,\n\t\t\t\t\tprimary_key: false,\n\t\t\t\t\tauto_increment: false,\n\t\t\t\t\tdefault_value: null,\n\t\t\t\t\tnote: null,\n\t\t\t\t\tsigned: false,\n\t\t\t\t\ttype: 'owner',\n\t\t\t\t\tsort: 0,\n\t\t\t\t\tinterface: 'owner',\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\trequired: false,\n\t\t\t\t\toptions: {\n\t\t\t\t\t\ttemplate: '{{first_name}} {{last_name}}',\n\t\t\t\t\t\tdisplay: 'both'\n\t\t\t\t\t},\n\t\t\t\t\tlocked: false,\n\t\t\t\t\ttranslation: null,\n\t\t\t\t\treadonly: true,\n\t\t\t\t\twidth: 'full',\n\t\t\t\t\tvalidation: null,\n\t\t\t\t\tgroup: null,\n\t\t\t\t\tlength: '10'\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (this.createdOn) {\n\t\t\t\tfieldsToAdd.push({\n\t\t\t\t\ttype: 'datetime_created',\n\t\t\t\t\tdatatype: 'DATETIME',\n\t\t\t\t\tfield: 'created_on',\n\t\t\t\t\tinterface: 'datetime-created',\n\t\t\t\t\treadonly: true,\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\twidth: 'full'\n\t\t\t\t});\n\t\t\t\tfieldsToDispatch.created_on = {\n\t\t\t\t\tcollection: this.newName,\n\t\t\t\t\tfield: 'created_on',\n\t\t\t\t\tdatatype: 'DATETIME',\n\t\t\t\t\tunique: false,\n\t\t\t\t\tprimary_key: false,\n\t\t\t\t\tauto_increment: false,\n\t\t\t\t\tdefault_value: null,\n\t\t\t\t\tnote: null,\n\t\t\t\t\tsigned: true,\n\t\t\t\t\ttype: 'datetime_created',\n\t\t\t\t\tsort: 0,\n\t\t\t\t\tinterface: 'datetime-created',\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\trequired: false,\n\t\t\t\t\toptions: null,\n\t\t\t\t\tlocked: false,\n\t\t\t\t\ttranslation: null,\n\t\t\t\t\treadonly: true,\n\t\t\t\t\twidth: 'full',\n\t\t\t\t\tvalidation: null,\n\t\t\t\t\tgroup: null,\n\t\t\t\t\tlength: null\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (this.modifiedBy) {\n\t\t\t\tfieldsToAdd.push({\n\t\t\t\t\ttype: 'user_updated',\n\t\t\t\t\tdatatype: 'INT',\n\t\t\t\t\tfield: 'modified_by',\n\t\t\t\t\tinterface: 'user-updated',\n\t\t\t\t\toptions: {\n\t\t\t\t\t\ttemplate: '{{first_name}} {{last_name}}',\n\t\t\t\t\t\tdisplay: 'both'\n\t\t\t\t\t},\n\t\t\t\t\treadonly: true,\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\twidth: 'full'\n\t\t\t\t});\n\t\t\t\tfieldsToDispatch.modified_by = {\n\t\t\t\t\tcollection: this.newName,\n\t\t\t\t\tfield: 'modified_by',\n\t\t\t\t\tdatatype: 'INT',\n\t\t\t\t\tunique: false,\n\t\t\t\t\tprimary_key: false,\n\t\t\t\t\tauto_increment: false,\n\t\t\t\t\tdefault_value: null,\n\t\t\t\t\tnote: null,\n\t\t\t\t\tsigned: false,\n\t\t\t\t\ttype: 'user_updated',\n\t\t\t\t\tsort: 0,\n\t\t\t\t\tinterface: 'user-updated',\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\trequired: false,\n\t\t\t\t\toptions: {\n\t\t\t\t\t\ttemplate: '{{first_name}} {{last_name}}',\n\t\t\t\t\t\tdisplay: 'both'\n\t\t\t\t\t},\n\t\t\t\t\tlocked: false,\n\t\t\t\t\ttranslation: null,\n\t\t\t\t\treadonly: true,\n\t\t\t\t\twidth: 'full',\n\t\t\t\t\tvalidation: null,\n\t\t\t\t\tgroup: null,\n\t\t\t\t\tlength: '10'\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (this.modifiedOn) {\n\t\t\t\tfieldsToAdd.push({\n\t\t\t\t\ttype: 'datetime_updated',\n\t\t\t\t\tdatatype: 'DATETIME',\n\t\t\t\t\tfield: 'modified_on',\n\t\t\t\t\tinterface: 'datetime-updated',\n\t\t\t\t\treadonly: true,\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\twidth: 'full'\n\t\t\t\t});\n\t\t\t\tfieldsToDispatch.modified_on = {\n\t\t\t\t\tcollection: this.newName,\n\t\t\t\t\tfield: 'modified_on',\n\t\t\t\t\tdatatype: 'DATETIME',\n\t\t\t\t\tunique: false,\n\t\t\t\t\tprimary_key: false,\n\t\t\t\t\tauto_increment: false,\n\t\t\t\t\tdefault_value: null,\n\t\t\t\t\tnote: null,\n\t\t\t\t\tsigned: true,\n\t\t\t\t\ttype: 'datetime_updated',\n\t\t\t\t\tsort: 0,\n\t\t\t\t\tinterface: 'datetime-updated',\n\t\t\t\t\thidden_detail: true,\n\t\t\t\t\thidden_browse: true,\n\t\t\t\t\trequired: false,\n\t\t\t\t\toptions: null,\n\t\t\t\t\tlocked: false,\n\t\t\t\t\ttranslation: null,\n\t\t\t\t\treadonly: true,\n\t\t\t\t\twidth: 'full',\n\t\t\t\t\tvalidation: null,\n\t\t\t\t\tgroup: null,\n\t\t\t\t\tlength: null\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tthis.$api\n\t\t\t\t.createCollection(\n\t\t\t\t\t{\n\t\t\t\t\t\tcollection: this.newName,\n\t\t\t\t\t\thidden: 0,\n\t\t\t\t\t\tfields: fieldsToAdd\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tfields: '*.*'\n\t\t\t\t\t}\n\t\t\t\t)\n\t\t\t\t.then(res => res.data)\n\t\t\t\t.then(collection => {\n\t\t\t\t\tthis.$store.dispatch('loadingFinished', id);\n\t\t\t\t\tthis.$store.dispatch('addCollection', {\n\t\t\t\t\t\t...collection,\n\n\t\t\t\t\t\t// This should ideally be returned from the API\n\t\t\t\t\t\t// https://github.com/directus/api/issues/207\n\t\t\t\t\t\tfields: fieldsToDispatch\n\t\t\t\t\t});\n\t\t\t\t\tthis.$store.dispatch('getPermissions');\n\t\t\t\t\tthis.$router.push(\n\t\t\t\t\t\t`/${this.currentProjectKey}/settings/collections/${this.newName}`\n\t\t\t\t\t);\n\t\t\t\t})\n\t\t\t\t.catch(error => {\n\t\t\t\t\tthis.adding = false;\n\t\t\t\t\tthis.$store.dispatch('loadingFinished', id);\n\t\t\t\t\tif (error) {\n\t\t\t\t\t\t// Use bit more descriptive error if possible\n\t\t\t\t\t\tconst errors = {\n\t\t\t\t\t\t\t4: this.$t('collection_invalid_name')\n\t\t\t\t\t\t};\n\t\t\t\t\t\tthis.$events.emit('error', {\n\t\t\t\t\t\t\tnotify:\n\t\t\t\t\t\t\t\terror.code in errors\n\t\t\t\t\t\t\t\t\t? errors[error.code]\n\t\t\t\t\t\t\t\t\t: this.$t('something_went_wrong_body'),\n\t\t\t\t\t\t\terror\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t},\n\t\ttoggleManage(collection) {\n\t\t\tif (collection.managed) {\n\t\t\t\tthis.dontManage = collection;\n\t\t\t} else {\n\t\t\t\treturn this.$api\n\t\t\t\t\t.updateItem('directus_collections', collection.collection, {\n\t\t\t\t\t\tmanaged: true\n\t\t\t\t\t})\n\t\t\t\t\t.then(() => {\n\t\t\t\t\t\tthis.toManage.push(collection.collection);\n\t\t\t\t\t\treturn this.$store.dispatch('getCollections');\n\t\t\t\t\t})\n\t\t\t\t\t.then(() => {\n\t\t\t\t\t\tthis.$notify({\n\t\t\t\t\t\t\ttitle: this.$t('manage_started'),\n\t\t\t\t\t\t\tcolor: 'green',\n\t\t\t\t\t\t\ticonMain: 'check'\n\t\t\t\t\t\t});\n\t\t\t\t\t})\n\t\t\t\t\t.catch(error => {\n\t\t\t\t\t\tthis.$events.emit('error', {\n\t\t\t\t\t\t\tnotify: this.$t('something_went_wrong_body'),\n\t\t\t\t\t\t\terror\n\t\t\t\t\t\t});\n\t\t\t\t\t})\n\t\t\t\t\t.then(() => {\n\t\t\t\t\t\tthis.toManage.splice(this.toManage.indexOf(collection.collection), 1);\n\t\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tstopManaging() {\n\t\t\tconst dontManage = this.dontManage;\n\t\t\tthis.toManage.push(dontManage.collection.collection);\n\t\t\treturn this.$api\n\t\t\t\t.updateItem('directus_collections', dontManage.collection, {\n\t\t\t\t\tmanaged: false\n\t\t\t\t})\n\t\t\t\t.then(() => {\n\t\t\t\t\treturn this.$store.dispatch('getCollections');\n\t\t\t\t})\n\t\t\t\t.then(() => {\n\t\t\t\t\tthis.$notify({\n\t\t\t\t\t\ttitle: this.$t('manage_stopped'),\n\t\t\t\t\t\tcolor: 'green',\n\t\t\t\t\t\ticonMain: 'check'\n\t\t\t\t\t});\n\t\t\t\t})\n\t\t\t\t.catch(error => {\n\t\t\t\t\tthis.$events.emit('error', {\n\t\t\t\t\t\tnotify: this.$t('something_went_wrong_body'),\n\t\t\t\t\t\terror\n\t\t\t\t\t});\n\t\t\t\t})\n\t\t\t\t.then(() => {\n\t\t\t\t\tthis.toManage.splice(\n\t\t\t\t\t\tthis.toManage.indexOf(dontManage.collection.collection),\n\t\t\t\t\t\t1\n\t\t\t\t\t);\n\t\t\t\t\tthis.dontManage = null;\n\t\t\t\t});\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.collections {\n\tpadding: var(--page-padding) var(--page-padding) var(--page-padding-bottom);\n}\n\n.table {\n\tbackground-color: var(--page-background-color);\n\tposition: relative;\n\n\t.row {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tborder-bottom: 2px solid var(--table-row-border-color);\n\t\tbox-sizing: content-box;\n\t\theight: 48px;\n\t\t&.subdue {\n\t\t\tcolor: var(--note-text-color);\n\t\t}\n\t}\n\n\t.cell {\n\t\tflex-shrink: 0;\n\t\tpadding-left: 12px;\n\t\tposition: relative;\n\t\toverflow: hidden;\n\t\tmax-height: 100%;\n\t\t&.icon {\n\t\t\tflex-basis: 40px;\n\t\t}\n\t\t&.name {\n\t\t\tfont-family: 'Roboto Mono', monospace;\n\t\t\tmax-width: calc(100% - 140px);\n\t\t\tpadding-bottom: 2px; // Optical vertical alignment\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t}\n\t\t.note {\n\t\t\t// transition: opacity var(--fast) var(--transition);\n\t\t\tpadding-left: 20px;\n\t\t\topacity: 0;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\t}\n\n\t.header {\n\t\tposition: relative;\n\t\ttop: 0;\n\t\theight: var(--input-height);\n\n\t\t.row {\n\t\t\theight: 100%;\n\t\t\tborder-bottom: 2px solid var(--table-head-border-color);\n\t\t}\n\t}\n\n\ta {\n\t\ttext-decoration: none;\n\n\t\t&:hover {\n\t\t\tbackground-color: var(--highlight);\n\t\t\t.note {\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n\n\t.v-button {\n\t\tposition: absolute;\n\t\tright: 12px;\n\t}\n}\n\n.v-details {\n\tmargin-top: 30px;\n\tmargin-bottom: 0;\n\n\t.advanced-form {\n\t\tdisplay: grid;\n\t\tgrid-gap: 20px;\n\t\tgrid-template-columns: 1fr 1fr;\n\t}\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./collections.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./collections.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./collections.vue?vue&type=template&id=8e8f34c0&scoped=true&\"\nimport script from \"./collections.vue?vue&type=script&lang=js&\"\nexport * from \"./collections.vue?vue&type=script&lang=js&\"\nimport style0 from \"./collections.vue?vue&type=style&index=0&id=8e8f34c0&lang=scss&scoped=true&\"\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  \"8e8f34c0\",\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}