2025-02-03 17:18:33 +01:00
|
|
|
import { defineStore } from 'pinia'
|
|
|
|
|
|
|
|
|
|
import {
|
|
|
|
|
IAccount,
|
|
|
|
|
ICircuit, ICatalog, IGlobalState, IGroupShort, IMyCircuit, IMyGroup, IUserFields,
|
|
|
|
|
ICatalogState
|
|
|
|
|
} from '@src/model'
|
|
|
|
|
import { tools } from '@store/Modules/tools'
|
|
|
|
|
import translate from '@src/globalroutines/util'
|
|
|
|
|
|
|
|
|
|
import * as Types from '@src/store/Api/ApiTypes'
|
|
|
|
|
import { useGlobalStore } from '@store/globalStore'
|
|
|
|
|
import { serv_constants } from '@store/Modules/serv_constants'
|
|
|
|
|
import { Api } from '@api'
|
|
|
|
|
import { toolsext } from '@store/Modules/toolsext'
|
|
|
|
|
import { static_data } from '@src/db/static_data'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { shared_consts } from '@/common/shared_vuejs'
|
|
|
|
|
import { costanti } from '@costanti'
|
|
|
|
|
|
|
|
|
|
import globalroutines from '../globalroutines/index'
|
|
|
|
|
|
|
|
|
|
export const useCatalogStore = defineStore('CatalogStore', {
|
|
|
|
|
state: (): ICatalogState => ({
|
2025-02-05 12:13:36 +01:00
|
|
|
catalogs: [{ idapp: '', title: '' }]
|
2025-02-03 17:18:33 +01:00
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
getters: {},
|
|
|
|
|
|
|
|
|
|
actions: {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
})
|