Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/inventory.picotech.app/public_html/resources/src/ drwxr-xr-x | |
| Viewing file: Select action/file-type: import store from "./store";
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import Auth from './auth/index.js';
window.auth = new Auth();
import { ValidationObserver, ValidationProvider, extend, localize } from 'vee-validate';
import * as rules from "vee-validate/dist/rules";
localize({
en: {
messages: {
required: 'This field is required',
required_if: 'This field is required',
regex: 'This field must be a valid',
mimes: `This field must have a valid file type.`,
size: (_, { size }) => `This field size must be less than ${size}.`,
min: 'This field must have no less than {length} characters',
max: (_, { length }) => `This field must have no more than ${length} characters`
}
},
});
// Install VeeValidate rules and localization
Object.keys(rules).forEach(rule => {
extend(rule, rules[rule]);
});
// Register it globally
Vue.component("ValidationObserver", ValidationObserver);
Vue.component('ValidationProvider', ValidationProvider);
import StockyKit from "./plugins/stocky.kit";
Vue.use(StockyKit);
import VueCookies from 'vue-cookies'
Vue.use(VueCookies);
var VueCookie = require('vue-cookie');
Vue.use(VueCookie);
window.axios = require('axios');
window.axios.defaults.baseURL = '/api/';
window.axios.defaults.withCredentials = true;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
axios.interceptors.response.use((response) => {
return response;
}, (error) => {
if (error.response && error.response.data) {
if (error.response.status === 401) {
window.location.href='/login';
}
if (error.response.status === 404) {
router.push({ name: 'NotFound' });
}
if (error.response.status === 403) {
router.push({ name: 'not_authorize' });
}
if (error.response.status === 444) {
router.push({ name: 'renew_plan' });
}
return Promise.reject(error.response.data);
}
return Promise.reject(error.message);
});
import vSelect from 'vue-select'
Vue.component('v-select', vSelect)
import 'vue-select/dist/vue-select.css';
import '@trevoreyre/autocomplete-vue/dist/style.css';
window.Fire = new Vue();
import Breadcumb from "./components/breadcumb";
import { i18n } from "./plugins/i18n";
Vue.component("breadcumb", Breadcumb);
Vue.config.productionTip = true;
Vue.config.silent = true;
Vue.config.devtools = false;
new Vue({
store,
router,
VueCookie,
i18n,
render: h => h(App),
}).$mount("#app");
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]-- |