Combine chopped dates, cashews, almonds, cocoa powder, and sea salt in a food processor. Pulse and process all the ingredients together until the texture is coarse. Then add the shredded coconut, a quick pulse, and add the vanilla extract, a little water at a time until it reaches a dry but moist dough consistency. Scrape the dough mixture into the lined pan, press evenly with a rubber spatula, and chill for about an hour before serving.