Sauté onion in hot oil in skillet over medium-high heat 8 to 10 minutes or until golden. Sprinkle with sugar, and cook, stirring often, 2 minutes. Add apple and vinegar, and cook, stirring often, 3 minutes. Stir in applesauce and thyme leaves. Cover and chill until ready to serve.