Spread the puff pastry on a lightly floured work surface and allow to thaw. Season cream cheese with pepper.
Cut the puff pastry slices in half crosswise. Cut squares at the corners diagonally to the middle until about halfway. Distribute cheese and cranberries in the middle of each. Fold into windmills. Mix egg yolk and 2 tablespoons of water and spread on windmills.
Place on a baking tray lined with baking paper. Bake in a preheated oven (electric cooker: 225 °C/ convection oven: 200 °C/ gas: see manufacturer) for approx. 12 minutes.
In the meantime, clean, wash and shake the salad dry and pluck into bite-sized pieces. Wash and halve the tomatoes. For the vinaigrette, whisk vinegar, salt, pepper and sugar. Add oil drop by drop to the vinaigrette.
Peel the shallot, cut into fine cubes and stir into the vinaigrette. Mix the salad ingredients. Arrange salad and windmills on plates.