{"version":3,"sources":["webpack:///./src/mixins/mixin.js","webpack:///./src/views/resources/ResourcesListPage.vue","webpack:///./src/views/resources/ResourcesListPage.vue?6735","webpack:///./src/views/resources/ResourcesListPage.vue?3911"],"names":["mixin","computed","$breadcrumb","this","$options","breadcrumb","call","$percentage","percentage","mounted","$store","dispatch","key","value","switchToNamespaceHome","refresh","ref","undefined","beforeUnmount","watch","_createElementBlock","_createVNode","_component_Resources","mixins","props","label","$t","$refs","resources","data","components","Resources","methods","Component","__i18n","push","ctx","normalize","_normalize","__exports__","render"],"mappings":"kHAAA,MAAMA,EAAQ,CACZC,SAAU,CACRC,cACE,OAAIC,KAAKC,SAASC,WACTF,KAAKC,SAASC,WAAWC,KAAKH,WAErC,GAGJI,cACE,OAAIJ,KAAKC,SAASI,WACTL,KAAKC,SAASI,WAAWF,KAAKH,MAE9B,IAIbM,UACMN,KAAKC,SAASC,aAChBF,KAAKO,OAAOC,SAAS,sBAAuB,CAAEC,IAAK,aAAcC,MAAOV,KAAKD,cAC7EC,KAAKO,OAAOC,SAAS,sBAAuB,CAAEC,IAAK,aAAcC,MAAOV,KAAKI,cAEzEJ,KAAKC,SAASU,sBAChBX,KAAKO,OAAOC,SAAS,sBAAuB,CAAEC,IAAK,wBAAyBC,OAAO,IAEnFV,KAAKO,OAAOC,SAAS,sBAAuB,CAAEC,IAAK,wBAAyBC,OAAO,KAGnFV,KAAKC,SAASW,SAChBZ,KAAKO,OAAOC,SAAS,sBAAuB,CAAEC,IAAK,UAAWC,MAAOV,KAAKC,SAASW,QAAU,CAAEC,IAAKb,KAAMY,QAASZ,KAAKC,SAASW,cAAYE,KAGjJC,gBACMf,KAAKC,SAASW,SAChBZ,KAAKO,OAAOC,SAAS,sBAAuB,CAAEC,IAAK,UAAWC,WAAOI,KAGzEE,MAAO,CACL,YAAe,WACThB,KAAKC,SAASC,YAChBF,KAAKO,OAAOC,SAAS,sBAAuB,CAAEC,IAAK,aAAcC,MAAOV,KAAKD,eAGjF,YAAe,WACTC,KAAKC,SAASI,YAChBL,KAAKO,OAAOC,SAAS,sBAAuB,CAAEC,IAAK,aAAcC,MAAOV,KAAKI,iBAMtEP,U,sKC3CboB,gCAEM,YADJC,yBAAuCC,GAA5BN,IAAI,aAAW,Y,4BAQf,GACbO,OAAQ,CAACvB,QACTwB,MAAO,GAEPhB,aACE,OAAO,KAETH,aACE,MAAO,CACL,CAAEoB,MAAOtB,KAAKuB,GAAG,YAGrBX,UACEZ,KAAKwB,MAAMC,UAAUb,WAEvBc,OACE,MAAO,IAIT5B,SAAU,GAEV6B,WAAY,CAAEC,kBACdtB,YAEAuB,QAAS,IC1CI,cACbC,EAAUC,OAASD,EAAUC,QAAU,GACvCD,EAAUC,OAAOC,KAAK,CACpB,OAAU,GACV,SAAY,CACV,GAAM,CACJ,MAAUC,IAAS,MAAQC,UAAWC,GAAeF,EAAI,OAAOE,EAAW,CAAC,wBAE9E,GAAM,CACJ,MAAUF,IAAS,MAAQC,UAAWC,GAAeF,EAAI,OAAOE,EAAW,CAAC,gB,qBCJ9D,oBAAX,GAAuB,EAAO,GAIzC,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,KAErD","file":"js/chunk-4f5b5865.556f6e32.js","sourcesContent":["const mixin = {\n computed: {\n $breadcrumb () {\n if (this.$options.breadcrumb) {\n return this.$options.breadcrumb.call(this)\n } else {\n return undefined\n }\n },\n $percentage () {\n if (this.$options.percentage) {\n return this.$options.percentage.call(this)\n } else {\n return 0\n }\n },\n },\n mounted () {\n if (this.$options.breadcrumb) {\n this.$store.dispatch('header/changeHeader', { key: 'breadcrumb', value: this.$breadcrumb})\n this.$store.dispatch('header/changeHeader', { key: 'percentage', value: this.$percentage})\n\n if (this.$options.switchToNamespaceHome) {\n this.$store.dispatch('header/changeHeader', { key: 'switchToNamespaceHome', value: true })\n } else {\n this.$store.dispatch('header/changeHeader', { key: 'switchToNamespaceHome', value: false })\n }\n }\n if (this.$options.refresh) {\n this.$store.dispatch('header/changeHeader', { key: 'refresh', value: this.$options.refresh ? { ref: this, refresh: this.$options.refresh } : undefined })\n }\n },\n beforeUnmount () {\n if (this.$options.refresh) {\n this.$store.dispatch('header/changeHeader', { key: 'refresh', value: undefined })\n }\n },\n watch: {\n '$breadcrumb': function () {\n if (this.$options.breadcrumb) {\n this.$store.dispatch('header/changeHeader', { key: 'breadcrumb', value: this.$breadcrumb})\n }\n },\n '$percentage': function () {\n if (this.$options.percentage) {\n this.$store.dispatch('header/changeHeader', { key: 'percentage', value: this.$percentage})\n }\n }\n },\n}\n\nexport default mixin\n","\nen:\n title: Resource Packages\nzh:\n title: 资源包列表\n\n\n\n \n \n
\n\n\n\n\n\n","export default function (Component) {\n Component.__i18n = Component.__i18n || []\n Component.__i18n.push({\n \"locale\": \"\",\n \"resource\": {\n \"en\": {\n \"title\": (ctx) => {const { normalize: _normalize } = ctx;return _normalize([\"Resource Packages\"])}\n },\n \"zh\": {\n \"title\": (ctx) => {const { normalize: _normalize } = ctx;return _normalize([\"资源包列表\"])}\n }\n }\n })\n}\n","import { render } from \"./ResourcesListPage.vue?vue&type=template&id=0898f1c8\"\nimport script from \"./ResourcesListPage.vue?vue&type=script&lang=js\"\nexport * from \"./ResourcesListPage.vue?vue&type=script&lang=js\"\n/* custom blocks */\nimport block0 from \"./ResourcesListPage.vue?vue&type=custom&index=0&blockType=i18n\"\nif (typeof block0 === 'function') block0(script)\n\n\nimport exportComponent from \"/Users/shaohuanqing/dev/kuboard-spray/web/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"sourceRoot":""}