403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/vue3/vuex/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/vue3/vuex/ui.vue3.vuex.d.ts
declare module 'ui.vue3.vuex'
{
	class Store<S> {
		state: S;
		getters: any;

		dispatch: (type: string, payload?: any) => Promise<any>;
		commit: (type: string, payload?: any) => void;

		subscribe<P>(fn: (mutation: P, state: S) => any): () => void;
		subscribeAction<P>(fn): () => void;
		watch<T>(getter: (state: S, getters: any) => T, cb: (value: T, oldValue: T) => void): () => void;
	}

	class BuilderModel<S, R> {
		static create();
		getName(): string;
		getState(): S;
		getElementState(): any;
		getGetters(): GetterTree<S, R>;
		getActions(): ActionTree<S, R>;
		getMutations(): MutationTree<S>;
		getNestedModules(): NestedModuleTree<S, R>;
	}

	class BuilderEntityModel<S, R> {
		static defaultModel: { getState: Function, getGetters: Function, getActions: Function, getMutations: Function };
		static create();
		getName(): string;
		getState(): S;
		getElementState(): any;
		getGetters(): GetterTree<S, R>;
		getActions(): ActionTree<S, R>;
		getMutations(): MutationTree<S>;
		getNestedModules(): NestedModuleTree<S, R>;
	}

	export interface GetterTree<S, R> {
		[key: string]: Getter<S, R>;
	}

	export interface ActionTree<S, R> {
		[key: string]: Action<S, R>;
	}

	export interface MutationTree<S> {
		[key: string]: Mutation<S>;
	}

	export interface NestedModuleTree<S, R> {
		[moduleName: string]: BuilderModel<S, R>
	}

	type Getter<S, R> = (state: S, getters: any, rootState: R, rootGetters: any) => any;
	type Action<S, R> = (this: Store<R>, payload?: any) => any;
	type Mutation<S> = (state: S, payload?: any) => any;
}

Youez - 2016 - github.com/yon3zu
LinuXploit