{"version":3,"file":"documentsStore.Dkxv2MOO.mjs","names":[],"sources":["https:/framerusercontent.com/modules/qXnl29RFOiIxlMMv3u4j/r3csMu9V7BMD4o2BBEAu/documentsStore.js"],"sourcesContent":["// stores/documentsStore.ts\nimport create from\"zustand\";export const useDocumentsStore=create(set=>({documents:[],loading:true,error:null,searchTerm:\"\",filterCategory:\"All\",sortOption:\"Expiry Asc\",selectedExpiryMonth:null,lastCreatedDocId:null,setDocuments:docs=>set({documents:docs}),setLoading:loading=>set({loading}),setError:error=>set({error}),setSearchTerm:term=>set({searchTerm:term}),setFilterCategory:category=>set({filterCategory:category}),setSortOption:option=>set({sortOption:option}),setSelectedExpiryMonth:month=>set({selectedExpiryMonth:month}),setLastCreatedDocId:id=>set({lastCreatedDocId:id})}));\nexport const __FramerMetadata__ = {\"exports\":{\"AiStatus\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DocumentAi\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Document\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useDocumentsStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./documentsStore.map"],"mappings":"qHAC4B,CAAa,EAAkB,EAAO,IAAM,CAAC,UAAU,EAAE,CAAC,QAAQ,GAAK,MAAM,KAAK,WAAW,GAAG,eAAe,MAAM,WAAW,aAAa,oBAAoB,KAAK,iBAAiB,KAAK,aAAa,GAAM,EAAI,CAAC,UAAU,EAAK,CAAC,CAAC,WAAW,GAAS,EAAI,CAAC,UAAQ,CAAC,CAAC,SAAS,GAAO,EAAI,CAAC,QAAM,CAAC,CAAC,cAAc,GAAM,EAAI,CAAC,WAAW,EAAK,CAAC,CAAC,kBAAkB,GAAU,EAAI,CAAC,eAAe,EAAS,CAAC,CAAC,cAAc,GAAQ,EAAI,CAAC,WAAW,EAAO,CAAC,CAAC,uBAAuB,GAAO,EAAI,CAAC,oBAAoB,EAAM,CAAC,CAAC,oBAAoB,GAAI,EAAI,CAAC,iBAAiB,EAAG,CAAC,CAAC,EAAE"}